InputText: cleanup/rework old comments + remove unnecessary indent in callback and main block setting apply_new_text.
Amend00f12b9a0,3349296370etc.
This commit is contained in:
@@ -1258,6 +1258,7 @@ struct IMGUI_API ImGuiInputTextState
|
||||
void OnKeyPressed(int key); // Cannot be inline because we call in code in stb_textedit.h implementation
|
||||
void OnCharPressed(unsigned int c);
|
||||
float GetPreferredOffsetX() const;
|
||||
const char* GetText() { return TextA.Data ? TextA.Data : ""; }
|
||||
|
||||
// Cursor & Selection
|
||||
void CursorAnimReset();
|
||||
|
||||
Reference in New Issue
Block a user