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

Public Member Functions

 KarmaGuiContext (KGFontAtlas *shared_font_atlas)

Public Attributes

bool Initialized
bool FontAtlasOwnedByContext
KarmaGuiIO IO
KarmaGuiPlatformIO PlatformIO
KGVector< KGGuiInputEventInputEventsQueue
KGVector< KGGuiInputEventInputEventsTrail
KarmaGuiStyle Style
KarmaGuiConfigFlags ConfigFlagsCurrFrame
KarmaGuiConfigFlags ConfigFlagsLastFrame
KGFontFont
float FontSize
float FontBaseSize
KGDrawListSharedData DrawListSharedData
double Time
int FrameCount
int FrameCountEnded
int FrameCountPlatformEnded
int FrameCountRendered
bool WithinFrameScope
bool WithinFrameScopeWithImplicitWindow
bool WithinEndChild
bool GcCompactAll
bool TestEngineHookItems
void * TestEngine
KGVector< KGGuiWindow * > Windows
KGVector< KGGuiWindow * > WindowsFocusOrder
KGVector< KGGuiWindow * > WindowsTempSortBuffer
KGVector< KGGuiWindowStackDataCurrentWindowStack
KarmaGuiStorage WindowsById
int WindowsActiveCount
KGVec2 WindowsHoverPadding
KGGuiWindowCurrentWindow
KGGuiWindowHoveredWindow
KGGuiWindowHoveredWindowUnderMovingWindow
KGGuiWindowMovingWindow
KGGuiWindowWheelingWindow
KGVec2 WheelingWindowRefMousePos
int WheelingWindowStartFrame
float WheelingWindowReleaseTimer
KGVec2 WheelingWindowWheelRemainder
KGVec2 WheelingAxisAvg
KGGuiID DebugHookIdInfo
KGGuiID HoveredId
KGGuiID HoveredIdPreviousFrame
bool HoveredIdAllowOverlap
bool HoveredIdDisabled
float HoveredIdTimer
float HoveredIdNotActiveTimer
KGGuiID ActiveId
KGGuiID ActiveIdIsAlive
float ActiveIdTimer
bool ActiveIdIsJustActivated
bool ActiveIdAllowOverlap
bool ActiveIdNoClearOnFocusLoss
bool ActiveIdHasBeenPressedBefore
bool ActiveIdHasBeenEditedBefore
bool ActiveIdHasBeenEditedThisFrame
KGVec2 ActiveIdClickOffset
KGGuiWindowActiveIdWindow
KGGuiInputSource ActiveIdSource
int ActiveIdMouseButton
KGGuiID ActiveIdPreviousFrame
bool ActiveIdPreviousFrameIsAlive
bool ActiveIdPreviousFrameHasBeenEditedBefore
KGGuiWindowActiveIdPreviousFrameWindow
KGGuiID LastActiveId
float LastActiveIdTimer
KGGuiKeyOwnerData KeysOwnerData [KGGuiKey_NamedKey_COUNT]
KGGuiKeyRoutingTable KeysRoutingTable
KGU32 ActiveIdUsingNavDirMask
bool ActiveIdUsingAllKeyboardKeys
KGU32 ActiveIdUsingNavInputMask
KGGuiID CurrentFocusScopeId
KGGuiItemFlags CurrentItemFlags
KGGuiID DebugLocateId
KGGuiNextItemData NextItemData
KGGuiLastItemData LastItemData
KGGuiNextWindowData NextWindowData
KGVector< KGGuiColorModColorStack
KGVector< KGGuiStyleModStyleVarStack
KGVector< KGFont * > FontStack
KGVector< KGGuiID > FocusScopeStack
KGVector< KGGuiItemFlags > ItemFlagsStack
KGVector< KGGuiGroupDataGroupStack
KGVector< KGGuiPopupDataOpenPopupStack
KGVector< KGGuiPopupDataBeginPopupStack
int BeginMenuCount
KGVector< KGGuiViewportP * > Viewports
float CurrentDpiScale
KGGuiViewportPCurrentViewport
KGGuiViewportPMouseViewport
KGGuiViewportPMouseLastHoveredViewport
KGGuiID PlatformLastFocusedViewportId
KarmaGuiPlatformMonitor FallbackMonitor
int ViewportFrontMostStampCount
KGGuiWindowNavWindow
KGGuiID NavId
KGGuiID NavFocusScopeId
KGGuiID NavActivateId
KGGuiID NavActivateDownId
KGGuiID NavActivatePressedId
KGGuiID NavActivateInputId
KGGuiActivateFlags NavActivateFlags
KGGuiID NavJustMovedToId
KGGuiID NavJustMovedToFocusScopeId
KarmaGuiKeyChord NavJustMovedToKeyMods
KGGuiID NavNextActivateId
KGGuiActivateFlags NavNextActivateFlags
KGGuiInputSource NavInputSource
KGGuiNavLayer NavLayer
bool NavIdIsAlive
bool NavMousePosDirty
bool NavDisableHighlight
bool NavDisableMouseHover
bool NavAnyRequest
bool NavInitRequest
bool NavInitRequestFromMove
KGGuiID NavInitResultId
KGRect NavInitResultRectRel
bool NavMoveSubmitted
bool NavMoveScoringItems
bool NavMoveForwardToNextFrame
KGGuiNavMoveFlags NavMoveFlags
KGGuiScrollFlags NavMoveScrollFlags
KarmaGuiKeyChord NavMoveKeyMods
KarmaGuiDir NavMoveDir
KarmaGuiDir NavMoveDirForDebug
KarmaGuiDir NavMoveClipDir
KGRect NavScoringRect
KGRect NavScoringNoClipRect
int NavScoringDebugCount
int NavTabbingDir
int NavTabbingCounter
KGGuiNavItemData NavMoveResultLocal
KGGuiNavItemData NavMoveResultLocalVisible
KGGuiNavItemData NavMoveResultOther
KGGuiNavItemData NavTabbingResultFirst
KarmaGuiKeyChord ConfigNavWindowingKeyNext
KarmaGuiKeyChord ConfigNavWindowingKeyPrev
KGGuiWindowNavWindowingTarget
KGGuiWindowNavWindowingTargetAnim
KGGuiWindowNavWindowingListWindow
float NavWindowingTimer
float NavWindowingHighlightAlpha
bool NavWindowingToggleLayer
KGVec2 NavWindowingAccumDeltaPos
KGVec2 NavWindowingAccumDeltaSize
float DimBgRatio
KarmaGuiMouseCursor MouseCursor
bool DragDropActive
bool DragDropWithinSource
bool DragDropWithinTarget
KarmaGuiDragDropFlags DragDropSourceFlags
int DragDropSourceFrameCount
int DragDropMouseButton
KarmaGuiPayload DragDropPayload
KGRect DragDropTargetRect
KGGuiID DragDropTargetId
KarmaGuiDragDropFlags DragDropAcceptFlags
float DragDropAcceptIdCurrRectSurface
KGGuiID DragDropAcceptIdCurr
KGGuiID DragDropAcceptIdPrev
int DragDropAcceptFrameCount
KGGuiID DragDropHoldJustPressedId
KGVector< unsigned char > DragDropPayloadBufHeap
unsigned char DragDropPayloadBufLocal [16]
int ClipperTempDataStacked
KGVector< KGGuiListClipperDataClipperTempData
KGGuiTableCurrentTable
int TablesTempDataStacked
KGVector< KGGuiTableTempDataTablesTempData
KGPool< KGGuiTableTables
KGVector< float > TablesLastTimeActive
KGVector< KGDrawChannelDrawChannelsTempMergeBuffer
KGGuiTabBarCurrentTabBar
KGPool< KGGuiTabBarTabBars
KGVector< KGGuiPtrOrIndexCurrentTabBarStack
KGVector< KGGuiShrinkWidthItemShrinkWidthBuffer
KGGuiID HoverDelayId
KGGuiID HoverDelayIdPreviousFrame
float HoverDelayTimer
float HoverDelayClearTimer
KGVec2 MouseLastValidPos
KGGuiInputTextState InputTextState
KGFont InputTextPasswordFont
KGGuiID TempInputId
KarmaGuiColorEditFlags ColorEditOptions
float ColorEditLastHue
float ColorEditLastSat
KGU32 ColorEditLastColor
KGVec4 ColorPickerRef
KGGuiComboPreviewData ComboPreviewData
float SliderGrabClickOffset
float SliderCurrentAccum
bool SliderCurrentAccumDirty
bool DragCurrentAccumDirty
float DragCurrentAccum
float DragSpeedDefaultRatio
float ScrollbarClickDeltaToGrabCenter
float DisabledAlphaBackup
short DisabledStackSize
short TooltipOverrideCount
KGVector< char > ClipboardHandlerData
KGVector< KGGuiID > MenusIdSubmittedThisFrame
KarmaGuiPlatformImeData PlatformImeData
KarmaGuiPlatformImeData PlatformImeDataPrev
KGGuiID PlatformImeViewport
char PlatformLocaleDecimalPoint
KGGuiDockContext DockContext
bool SettingsLoaded
float SettingsDirtyTimer
KarmaGuiTextBuffer SettingsIniData
KGVector< KGGuiSettingsHandlerSettingsHandlers
KGChunkStream< KGGuiWindowSettingsSettingsWindows
KGChunkStream< KGGuiTableSettingsSettingsTables
KGVector< KGGuiContextHookHooks
KGGuiID HookIdNext
const char * LocalizationTable [ImGuiLocKey_COUNT]
bool LogEnabled
KGGuiLogType LogType
ImFileHandle LogFile
KarmaGuiTextBuffer LogBuffer
const char * LogNextPrefix
const char * LogNextSuffix
float LogLinePosY
bool LogLineFirstItem
int LogDepthRef
int LogDepthToExpand
int LogDepthToExpandDefault
KGGuiDebugLogFlags DebugLogFlags
KarmaGuiTextBuffer DebugLogBuf
KGGuiTextIndex DebugLogIndex
KGU8 DebugLocateFrames
bool DebugItemPickerActive
KGU8 DebugItemPickerMouseButton
KGGuiID DebugItemPickerBreakId
KGGuiMetricsConfig DebugMetricsConfig
KGGuiStackTool DebugStackTool
KGGuiDockNodeDebugHoveredDockNode
float FramerateSecPerFrame [60]
int FramerateSecPerFrameIdx
int FramerateSecPerFrameCount
float FramerateSecPerFrameAccum
int WantCaptureMouseNextFrame
int WantCaptureKeyboardNextFrame
int WantTextInputNextFrame
KGVector< char > TempBuffer

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