libigl v2.5.0
Loading...
Searching...
No Matches
ImGuiHelpers.h File Reference
#include "ImGuiTraits.h"
#include <imgui.h>
#include <vector>
#include <string>
#include <algorithm>
#include <functional>
#include <cstddef>

Go to the source code of this file.

Namespaces

namespace  ImGui
 

Functions

bool ImGui::Combo (const char *label, int *idx, std::vector< std::string > &values)
 
bool ImGui::Combo (const char *label, int *idx, std::function< const char *(int)> getter, int items_count)
 
bool ImGui::ListBox (const char *label, int *idx, std::vector< std::string > &values)
 
bool ImGui::InputText (const char *label, std::string &str, ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
 
template<typename T >
bool ImGui::SliderScalar (const char *label, T *value, T min=0, T max=0, const char *format="")
 
template<typename Getter , typename Setter >
bool ImGui::Checkbox (const char *label, Getter get, Setter set)