26class ImGuiInputTextCallbackData;
43 bool readSome(std::string & str)
override;
69 mutable std::mutex itsDataMtx;
70 std::deque<std::pair<
bool , std::string> > itsData;
71 std::string itsLastInput;
72 char itsInputBuf[1024];
73 std::vector<std::string> itsHistory;
74 int itsHistoryPos = 0;
77 int callback(ImGuiInputTextCallbackData * data);
Simple console with coloring and completion.
virtual ~GUIconsole()
Destructor.
void writeString(std::string const &str) override
Write a string.
bool readSome(std::string &str) override
Read some bytes if available, and return true and a string when one is complete (RETURN pressed)
void clear()
Clear the contents of the window.
void draw()
Render into ImGui.
int callback(ImGuiInputTextCallbackData *data)
Type type() const override
Our type is: GUI.
Abstract base class for a string-based user interface.
Type
Enum for the interface type.
Main namespace for all JeVois classes and functions.