ImGUI wrapper text and combo methods shall accept std::string

in UTF8 format.
This commit is contained in:
bubnikv 2019-03-04 12:21:00 +01:00
parent dceaf73ff3
commit bc65827499
2 changed files with 32 additions and 2 deletions

View file

@ -57,7 +57,10 @@ public:
bool input_double(const std::string &label, const double &value, const std::string &format = "%.3f");
bool input_vec3(const std::string &label, const Vec3d &value, float width, const std::string &format = "%.3f");
bool checkbox(const wxString &label, bool &value);
void text(const const char *label);
void text(const std::string &label);
void text(const wxString &label);
bool combo(const wxString& label, const std::vector<std::string>& options, std::string& current_selection);
bool combo(const wxString& label, const std::vector<wxString>& options, wxString& current_selection);
void disabled_begin(bool disabled);