libigl v2.5.0
Loading...
Searching...
No Matches
ImGui Namespace Reference

Classes

class  ImGuiDataTypeTraits
 
class  ImGuiDataTypeTraits< double >
 
class  ImGuiDataTypeTraits< float >
 
class  ImGuiDataTypeTraits< int >
 
class  ImGuiDataTypeTraits< long long >
 
class  ImGuiDataTypeTraits< unsigned int >
 
class  ImGuiDataTypeTraits< unsigned long long >
 

Functions

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

Function Documentation

◆ Combo() [1/2]

bool ImGui::Combo ( const char *  label,
int *  idx,
std::vector< std::string > &  values 
)
inline

◆ Combo() [2/2]

bool ImGui::Combo ( const char *  label,
int *  idx,
std::function< const char *(int)>  getter,
int  items_count 
)
inline

◆ ListBox()

bool ImGui::ListBox ( const char *  label,
int *  idx,
std::vector< std::string > &  values 
)
inline

◆ InputText()

bool ImGui::InputText ( const char *  label,
std::string &  str,
ImGuiInputTextFlags  flags = 0,
ImGuiInputTextCallback  callback = NULL,
void *  user_data = NULL 
)
inline

◆ SliderScalar()

template<typename T >
bool ImGui::SliderScalar ( const char *  label,
T *  value,
min = 0,
max = 0,
const char *  format = "" 
)
inline

◆ Checkbox()

template<typename Getter , typename Setter >
bool ImGui::Checkbox ( const char *  label,
Getter  get,
Setter  set 
)
inline