Lines Matching defs:ImGuiContext

67 struct ImGuiContext;                // Main imgui context
116 extern IMGUI_API ImGuiContext* GImGui; // Current implicit ImGui context pointer
605 void* (*ReadOpenFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler, const char* name); // Read: Called when entering into a new ini entry e.g. "[Window][Name]"
606 void (*ReadLineFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler, void* entry, const char* line); // Read: Called for every line of text within an ini entry
607 void (*WriteAllFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler, ImGuiTextBuffer* out_buf); // Write: Output every entries into 'out_buf'
759 struct ImGuiContext
764 bool FontAtlasOwnedByContext; // Io.Fonts-> is owned by the ImGuiContext and will be destructed along with it.
933 ImGuiContext(ImFontAtlas* shared_font_atlas) : OverlayDrawList(NULL)
1202 // FIXME-NAV: Merge all this with the new Nav system, at least the request variables should be moved to ImGuiContext
1211 ImGuiWindow(ImGuiContext* context, const char* name);
1318 inline ImGuiWindow* GetCurrentWindowRead() { ImGuiContext& g = *GImGui; return g.CurrentWindow; }
1319 inline ImGuiWindow* GetCurrentWindow() { ImGuiContext& g = *GImGui; g.CurrentWindow->WriteAccessed = true; return g.CurrentWindow; }
1341 inline ImFont* GetDefaultFont() { ImGuiContext& g = *GImGui; return g.IO.FontDefault ? g.IO.FontDefault : g.IO.Fonts->Fonts[0]; }
1344 IMGUI_API void Initialize(ImGuiContext* context);
1345 IMGUI_API void Shutdown(ImGuiContext* context); // Since 1.60 this is a _private_ function. You can call DestroyContext() to destroy the context created by CreateContext().
1362 inline ImGuiID GetItemID() { ImGuiContext& g = *GImGui; return g.CurrentWindow->DC.LastItemId; }
1363 inline ImGuiID GetActiveID() { ImGuiContext& g = *GImGui; return g.ActiveId; }
1364 inline ImGuiID GetFocusID() { ImGuiContext& g = *GImGui; return g.NavId; }
1517 extern void ImGuiTestEngineHook_PreNewFrame(ImGuiContext* ctx);
1518 extern void ImGuiTestEngineHook_PostNewFrame(ImGuiContext* ctx);
1519 extern void ImGuiTestEngineHook_ItemAdd(ImGuiContext* ctx, const ImRect& bb, ImGuiID id);
1520 extern void ImGuiTestEngineHook_ItemInfo(ImGuiContext* ctx, ImGuiID id, const char* label, ImGuiItemStatusFlags flags);