Home | History | Annotate | Download | only in imgui

Lines Matching defs:Current

74 struct ImGuiPopupRef;               // Storage for current popup stack
116 extern IMGUI_API ImGuiContext* GImGui; // Current implicit ImGui context pointer
247 static inline float ImLinearSweep(float current, float target, float speed) { if (current < target) return ImMin(current + speed, target); if (current > target) return ImMax(current - speed, target); return current; }
344 ImGuiSeparatorFlags_Horizontal = 1 << 0, // Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar
357 ImGuiItemFlags_SelectableDontClosePopup = 1 << 5, // false // MenuItem/Selectable() automatically closes current Popup window
367 ImGuiItemStatusFlags_Edited = 1 << 2 // Value exposed by item was edited in the current frame (should match the bool return value of most widgets)
445 ImGuiNavMoveFlags_AllowCurrentNavId = 1 << 4, // Allow scoring and considering the current NavId as a move target candidate. This is used when the move source is offset (e.g. pressing PageDown actually needs to send a Up move request, if we are pressing PageDown from the bottom-most item we need to stay in place)
613 // Storage for current popup stack
641 int Current;
656 Current = 0;
670 ImFont* Font; // Current/default font (optional, for simplified AddText overload)
671 float FontSize; // Current/default font size (optional, for simplified AddText overload)
694 ImGuiID SelectScopeId;// Best candidate window current selectable group ID
696 float DistBox; // Best candidate box distance to current NavId
697 float DistCenter; // Best candidate center distance to current NavId
768 float FontSize; // (Shortcut) == FontBaseSize * g.CurrentWindow->FontWindowScale == window->FontSize(). Text height for current window.
1067 ImGuiNavLayer NavLayerCurrent; // Current layer, 0..31 (we currently only use 0..1)
1070 int NavLayerActiveMaskNext; // Which layer have been written to (buffer for current frame)
1080 // We store the current settings outside of the vectors to increase memory locality (reduce cache misses). The vectors are rarely modified. Also it allows us to not heap allocate for short-lived windows which are not using those settings.
1092 ImVec1 ColumnsOffset; // Offset to the current column (if ColumnsCurrent > 0). FIXME: This and the above should be a stack to allow use cases like Tree->Column->Tree. Need revamp columns API.
1093 ImGuiColumnsSet* ColumnsSet; // Current columns set
1134 ImVec2 Size; // Current size (==SizeFull or collapsed title bar size)
1152 bool WriteAccessed; // Set to true when any widget access the current window
1159 signed char ResizeBorderHeld; // Current border being held for resize (-1: none, otherwise 0-3)
1160 short BeginCount; // Number of Begin() during the current frame (generally 0 or 1, 1+ if appending via multiple Begin/End pairs)
1178 ImRect ClipRect; // Current clipping rectangle. = DrawList->clip_rect_stack.back(). Scissoring / clipping rectangle. x1, y1, x2, y2.
1391 IMGUI_API bool IsPopupOpen(ImGuiID id); // Test for id within current popup stack level (currently begin-ed into); this doesn't scan the whole popup stack!
1468 IMGUI_API void VerticalSeparator(); // Vertical separator, for menu bars (use current line height). Not exposed because it is misleading and it doesn't have an effect on regular layout.