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< KGGuiInputEvent > InputEventsQueue
KGVector< KGGuiInputEvent > InputEventsTrail
KarmaGuiStyle Style
KarmaGuiConfigFlags ConfigFlagsCurrFrame
KarmaGuiConfigFlags ConfigFlagsLastFrame
KGFont * Font
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< KGGuiWindowStackData > CurrentWindowStack
KarmaGuiStorage WindowsById
int WindowsActiveCount
KGVec2 WindowsHoverPadding
KGGuiWindow * CurrentWindow
KGGuiWindow * HoveredWindow
KGGuiWindow * HoveredWindowUnderMovingWindow
KGGuiWindow * MovingWindow
KGGuiWindow * WheelingWindow
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
KGGuiWindow * ActiveIdWindow
KGGuiInputSource ActiveIdSource
int ActiveIdMouseButton
KGGuiID ActiveIdPreviousFrame
bool ActiveIdPreviousFrameIsAlive
bool ActiveIdPreviousFrameHasBeenEditedBefore
KGGuiWindow * ActiveIdPreviousFrameWindow
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< KGGuiColorMod > ColorStack
KGVector< KGGuiStyleMod > StyleVarStack
KGVector< KGFont * > FontStack
KGVector< KGGuiID > FocusScopeStack
KGVector< KGGuiItemFlags > ItemFlagsStack
KGVector< KGGuiGroupData > GroupStack
KGVector< KGGuiPopupData > OpenPopupStack
KGVector< KGGuiPopupData > BeginPopupStack
int BeginMenuCount
KGVector< KGGuiViewportP * > Viewports
float CurrentDpiScale
KGGuiViewportP * CurrentViewport
KGGuiViewportP * MouseViewport
KGGuiViewportP * MouseLastHoveredViewport
KGGuiID PlatformLastFocusedViewportId
KarmaGuiPlatformMonitor FallbackMonitor
int ViewportFrontMostStampCount
KGGuiWindow * NavWindow
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
KGGuiWindow * NavWindowingTarget
KGGuiWindow * NavWindowingTargetAnim
KGGuiWindow * NavWindowingListWindow
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< KGGuiListClipperData > ClipperTempData
KGGuiTable * CurrentTable
int TablesTempDataStacked
KGVector< KGGuiTableTempData > TablesTempData
KGPool< KGGuiTable > Tables
KGVector< float > TablesLastTimeActive
KGVector< KGDrawChannel > DrawChannelsTempMergeBuffer
KGGuiTabBar * CurrentTabBar
KGPool< KGGuiTabBar > TabBars
KGVector< KGGuiPtrOrIndex > CurrentTabBarStack
KGVector< KGGuiShrinkWidthItem > ShrinkWidthBuffer
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< KGGuiSettingsHandler > SettingsHandlers
KGChunkStream< KGGuiWindowSettings > SettingsWindows
KGChunkStream< KGGuiTableSettings > SettingsTables
KGVector< KGGuiContextHook > Hooks
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
KGGuiDockNode * DebugHoveredDockNode
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: