Lines Matching defs:context

181      // Application init: create a dear imgui context, setup some options, load fonts
217 // Application init: create a dear imgui context, setup some options, load fonts
406 - 2018/02/07 (1.60) - reorganized context handling to be more explicit,
411 - removed the default global context and font atlas instance, which were confusing for users of DLL reloading and users of multiple contexts.
452 - 2017/08/08 (1.51) - removed ColorEditMode() and ImGuiColorEditMode in favor of ImGuiColorEditFlags and parameters to the various Color*() functions. The SetColorEditOptions() allows to initialize default but the user can still change them with right-click context menu.
687 - Solving ID conflict in a simple/local context:
914 this is also useful to set yourself in the context of another window (to get/set other settings)
1042 // Current context pointer. Implicitly used by all Dear ImGui functions. Always assumed to be != NULL.
1043 // ImGui::CreateContext() will automatically set this pointer if it is NULL. Change to a different context by calling ImGui::SetCurrentContext().
1049 // - Change this variable to use thread local storage so each thread can refer to a different context, in imconfig.h:
1054 // - Future development aim to make this context pointer explicit to all calls. Also read https://github.com/ocornut/imgui/issues/586
2495 ImGuiWindow::ImGuiWindow(ImGuiContext* context, const char* name)
2496 : DrawListInst(&context->DrawListSharedData)
2664 // Assume that SetFocusID() is called in the context where its NavLayer is the current layer, which is the case everywhere we call it.
3042 IM_ASSERT(GImGui != NULL && "No current context. Did you call ImGui::CreateContext() or ImGui::SetCurrentContext()?");
3048 IM_ASSERT(GImGui != NULL && "No current context. Did you call ImGui::CreateContext() or ImGui::SetCurrentContext()?");
3359 IM_ASSERT(GImGui != NULL && "No current context. Did you call ImGui::CreateContext() or ImGui::SetCurrentContext()?");
3543 void ImGui::Initialize(ImGuiContext* context)
3545 ImGuiContext& g = *context;
3561 void ImGui::Shutdown(ImGuiContext* context)
3564 ImGuiContext& g = *context;
3580 SetCurrentContext(context);
5314 // Setup drawing context
5315 // (NB: That term "drawing context / DC" lost its meaning a long time ago. Initially was meant to hold transient data only. Nowadays difference between window-> and window->DC-> is dubious.)
5445 // This is useful to allow creating context menus on title bar only, etc.
6595 // (and if you grep for LastItemId you'll notice it is only used in that context.
6660 // The default tooltip position is a little offset to give space to see the context menu (it's also clamped within the current viewport/monitor)
6661 // In the context of a dragging tooltip we try to reduce that offset and we enforce following the cursor.