Lines Matching defs:ImGuiWindow
79 struct ImGuiWindow; // Storage for one window
617 ImGuiWindow* Window; // Resolved on BeginPopup() - may stay unresolved if user never calls OpenPopup()
618 ImGuiWindow* ParentWindow; // Set on OpenPopup()
695 ImGuiWindow* Window; // Best candidate window
776 ImVector<ImGuiWindow*> Windows; // Windows, sorted in display order, back to front
777 ImVector<ImGuiWindow*> WindowsFocusOrder; // Windows, sorted in focus order, back to front
778 ImVector<ImGuiWindow*> WindowsSortBuffer;
779 ImVector<ImGuiWindow*> CurrentWindowStack;
782 ImGuiWindow* CurrentWindow; // Being drawn into
783 ImGuiWindow* HoveredWindow; // Will catch mouse inputs
784 ImGuiWindow* HoveredRootWindow; // Will catch mouse inputs (for focus/move only)
803 ImGuiWindow* ActiveIdWindow;
804 ImGuiWindow* ActiveIdPreviousFrameWindow;
809 ImGuiWindow* MovingWindow; // Track the window we clicked on (in order to preserve focus). The actually window that is moved is generally MovingWindow->RootWindow.
820 ImGuiWindow* NavWindow; // Focused window for navigation. Could be called 'FocusWindow'
833 ImGuiWindow* NavWindowingTarget; // When selecting a window (holding Menu+FocusPrev/Next, or equivalent of CTRL-TAB) this window is temporarily displayed front-most.
834 ImGuiWindow* NavWindowingTargetAnim; // Record of last valid NavWindowingTarget until DimBgRatio and NavWindowingHighlightAlpha becomes 0.0f
835 ImGuiWindow* NavWindowingList;
915 ImVector<ImGuiWindowSettings> SettingsWindows; // ImGuiWindow .ini settings entries (parsed from the last loaded .ini file and maintained on saving)
1045 // ImGuiWindow
1048 // Transient per-window data, reset at the beginning of the frame. This used to be called ImGuiDrawContext, hence the DC variable name in ImGuiWindow.
1049 // FIXME: That's theory, in practice the delimitation between ImGuiWindow and ImGuiWindowTempData is quite tenuous and could be reconsidered.
1075 ImVector<ImGuiWindow*> ChildWindows;
1128 struct IMGUI_API ImGuiWindow
1192 ImGuiWindow* ParentWindow; // If we are a child _or_ popup window, this is pointing to our parent. Otherwise NULL.
1193 ImGuiWindow* RootWindow; // Point to ourself or first ancestor that is not a child window.
1194 ImGuiWindow* RootWindowForTitleBarHighlight; // Point to ourself or first ancestor which will display TitleBgActive color when this window is active.
1195 ImGuiWindow* RootWindowForNav; // Point to ourself or first ancestor which doesn't have the NavFlattened flag.
1197 ImGuiWindow* NavLastChildNavWindow; // When going to the menu bar, we remember the child window we came from. (This could probably be made implicit if we kept g.Windows sorted by last focused including child window.)
1211 ImGuiWindow(ImGuiContext* context, const char* name);
1212 ~ImGuiWindow();
1238 void Backup() { ImGuiWindow* window = GImGui->CurrentWindow; LastItemId = window->DC.LastItemId; LastItemStatusFlags = window->DC.LastItemStatusFlags; LastItemRect = window->DC.LastItemRect; LastItemDisplayRect = window->DC.LastItemDisplayRect; }
1239 void Restore() const { ImGuiWindow* window = GImGui->CurrentWindow; window->DC.LastItemId = LastItemId; window->DC.LastItemStatusFlags = LastItemStatusFlags; window->DC.LastItemRect = LastItemRect; window->DC.LastItemDisplayRect = LastItemDisplayRect; }
1318 inline ImGuiWindow* GetCurrentWindowRead() { ImGuiContext& g = *GImGui; return g.CurrentWindow; }
1319 inline ImGuiWindow* GetCurrentWindow() { ImGuiContext& g = *GImGui; g.CurrentWindow->WriteAccessed = true; return g.CurrentWindow; }
1320 IMGUI_API ImGuiWindow* FindWindowByID(ImGuiID id);
1321 IMGUI_API ImGuiWindow* FindWindowByName(const char* name);
1322 IMGUI_API void FocusWindow(ImGuiWindow* window);
1323 IMGUI_API void FocusPreviousWindowIgnoringOne(ImGuiWindow* ignore_window);
1324 IMGUI_API void BringWindowToFocusFront(ImGuiWindow* window);
1325 IMGUI_API void BringWindowToDisplayFront(ImGuiWindow* window);
1326 IMGUI_API void BringWindowToDisplayBack(ImGuiWindow* window);
1327 IMGUI_API void UpdateWindowParentAndRootLinks(ImGuiWindow* window, ImGuiWindowFlags flags, ImGuiWindow* parent_window);
1328 IMGUI_API ImVec2 CalcWindowExpectedSize(ImGuiWindow* window);
1329 IMGUI_API bool IsWindowChildOf(ImGuiWindow* window, ImGuiWindow* potential_parent);
1330 IMGUI_API bool IsWindowNavFocusable(ImGuiWindow* window);
1331 IMGUI_API void SetWindowScrollX(ImGuiWindow* window, float new_scroll_x);
1332 IMGUI_API void SetWindowScrollY(ImGuiWindow* window, float new_scroll_y);
1333 IMGUI_API float GetWindowScrollMaxX(ImGuiWindow* window);
1334 IMGUI_API float GetWindowScrollMaxY(ImGuiWindow* window);
1335 IMGUI_API ImRect GetWindowAllowedExtentRect(ImGuiWindow* window);
1336 IMGUI_API void SetWindowPos(ImGuiWindow* window, const ImVec2& pos, ImGuiCond cond);
1337 IMGUI_API void SetWindowSize(ImGuiWindow* window, const ImVec2& size, ImGuiCond cond);
1338 IMGUI_API void SetWindowCollapsed(ImGuiWindow* window, bool collapsed, ImGuiCond cond);
1349 IMGUI_API void StartMouseMovingWindow(ImGuiWindow* window);
1355 IMGUI_API void MarkIniSettingsDirty(ImGuiWindow* window);
1365 IMGUI_API void SetActiveID(ImGuiID id, ImGuiWindow* window);
1366 IMGUI_API void SetFocusID(ImGuiID id, ImGuiWindow* window);
1379 IMGUI_API bool FocusableItemRegister(ImGuiWindow* window, ImGuiID id, bool tab_stop = true); // Return true if focus is requested
1380 IMGUI_API void FocusableItemUnregister(ImGuiWindow* window);
1390 IMGUI_API void ClosePopupsOverWindow(ImGuiWindow* ref_window);
1394 IMGUI_API ImGuiWindow* GetFrontMostPopupModal();
1395 IMGUI_API ImVec2 FindBestWindowPosForPopup(ImGuiWindow* window);
1399 IMGUI_API void NavInitWindow(ImGuiWindow* window, bool force_reinit);
1403 IMGUI_API void NavMoveRequestTryWrapping(ImGuiWindow* window, ImGuiNavMoveFlags move_flags);