KarmaEngine
Game Engine for practical learning and research purposes
Loading...
Searching...
No Matches
KGGuiInputTextState Struct Reference

Public Member Functions

 KGGuiInputTextState (KarmaGuiContext *ctx)
void ClearText ()
void ClearFreeMemory ()
int GetUndoAvailCount () const
int GetRedoAvailCount () const
void OnKeyPressed (int key)
void CursorAnimReset ()
void CursorClamp ()
bool HasSelection () const
void ClearSelection ()
int GetCursorPos () const
int GetSelectionStart () const
int GetSelectionEnd () const
void SelectAll ()

Public Attributes

KarmaGuiContextCtx
KGGuiID ID
int CurLenW
int CurLenA
KGVector< KGWchar > TextW
KGVector< char > TextA
KGVector< char > InitialTextA
bool TextAIsValid
int BufCapacityA
float ScrollX
KGStb::STB_TexteditState Stb
float CursorAnim
bool CursorFollow
bool SelectedAllMouseLock
bool Edited
KarmaGuiInputTextFlags Flags

The documentation for this struct was generated from the following files: