Karma Engine
Loading...
Searching...
No Matches
KarmaGuiIO Struct Reference
Collaboration diagram for KarmaGuiIO:

Public Member Functions

void AddKeyEvent (KarmaGuiKey key, bool down)
 
void AddKeyAnalogEvent (KarmaGuiKey key, bool down, float v)
 
void AddMousePosEvent (float x, float y)
 
void AddMouseButtonEvent (int button, bool down)
 
void AddMouseWheelEvent (float wh_x, float wh_y)
 
void AddMouseViewportEvent (KGGuiID id)
 
void AddFocusEvent (bool focused)
 
void AddInputCharacter (unsigned int c)
 
void AddInputCharacterUTF16 (KGWchar16 c)
 
void AddInputCharactersUTF8 (const char *str)
 
void SetKeyEventNativeData (KarmaGuiKey key, int native_keycode, int native_scancode, int native_legacy_index=-1)
 
void SetAppAcceptingEvents (bool accepting_events)
 
void ClearInputCharacters ()
 
void ClearInputKeys ()
 

Public Attributes

KarmaGuiConfigFlags ConfigFlags
 
KarmaGuiBackendFlags BackendFlags
 
KGVec2 DisplaySize
 
float DeltaTime
 
float IniSavingRate
 
const char * IniFilename
 
const char * LogFilename
 
float MouseDoubleClickTime
 
float MouseDoubleClickMaxDist
 
float MouseDragThreshold
 
float KeyRepeatDelay
 
float KeyRepeatRate
 
float HoverDelayNormal
 
float HoverDelayShort
 
void * UserData
 
KGFontAtlasFonts
 
float FontGlobalScale
 
bool FontAllowUserScaling
 
KGFontFontDefault
 
KGVec2 DisplayFramebufferScale
 
bool ConfigDockingNoSplit
 
bool ConfigDockingWithShift
 
bool ConfigDockingAlwaysTabBar
 
bool ConfigDockingTransparentPayload
 
bool ConfigViewportsNoAutoMerge
 
bool ConfigViewportsNoTaskBarIcon
 
bool ConfigViewportsNoDecoration
 
bool ConfigViewportsNoDefaultParent
 
bool MouseDrawCursor
 
bool ConfigMacOSXBehaviors
 
bool ConfigInputTrickleEventQueue
 
bool ConfigInputTextCursorBlink
 
bool ConfigInputTextEnterKeepActive
 
bool ConfigDragClickToInputText
 
bool ConfigWindowsResizeFromEdges
 
bool ConfigWindowsMoveFromTitleBarOnly
 
float ConfigMemoryCompactTimer
 
const char * BackendPlatformName
 
const char * BackendRendererName
 
void * BackendPlatformUserData
 
void * BackendRendererUserData
 
void * BackendLanguageUserData
 
const char *(* GetClipboardTextFn )(void *user_data)
 
void(* SetClipboardTextFn )(void *user_data, const char *text)
 
void * ClipboardUserData
 
void(* SetPlatformImeDataFn )(KarmaGuiViewport *viewport, KarmaGuiPlatformImeData *data)
 
void * ImeWindowHandle
 
bool WantCaptureMouse
 
bool WantCaptureKeyboard
 
bool WantTextInput
 
bool WantSetMousePos
 
bool WantSaveIniSettings
 
bool NavActive
 
bool NavVisible
 
float Framerate
 
int MetricsRenderVertices
 
int MetricsRenderIndices
 
int MetricsRenderWindows
 
int MetricsActiveWindows
 
int MetricsActiveAllocations
 
KGVec2 MouseDelta
 
int KeyMap [KGGuiKey_COUNT]
 
bool KeysDown [KGGuiKey_COUNT]
 
float NavInputs [KGGuiNavInput_COUNT]
 
KGVec2 MousePos
 
bool MouseDown [5]
 
float MouseWheel
 
float MouseWheelH
 
KGGuiID MouseHoveredViewport
 
bool KeyCtrl
 
bool KeyShift
 
bool KeyAlt
 
bool KeySuper
 
KarmaGuiKeyChord KeyMods
 
KarmaGuiKeyData KeysData [KGGuiKey_KeysData_SIZE]
 
bool WantCaptureMouseUnlessPopupClose
 
KGVec2 MousePosPrev
 
KGVec2 MouseClickedPos [5]
 
double MouseClickedTime [5]
 
bool MouseClicked [5]
 
bool MouseDoubleClicked [5]
 
KGU16 MouseClickedCount [5]
 
KGU16 MouseClickedLastCount [5]
 
bool MouseReleased [5]
 
bool MouseDownOwned [5]
 
bool MouseDownOwnedUnlessPopupClose [5]
 
float MouseDownDuration [5]
 
float MouseDownDurationPrev [5]
 
KGVec2 MouseDragMaxDistanceAbs [5]
 
float MouseDragMaxDistanceSqr [5]
 
float PenPressure
 
bool AppFocusLost
 
bool AppAcceptingEvents
 
KGS8 BackendUsingLegacyKeyArrays
 
bool BackendUsingLegacyNavInputArray
 
KGWchar16 InputQueueSurrogate
 
KGVector< KGWchar > InputQueueCharacters
 

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