omar
|
514d30d8cd
|
MovingWindow: Track click offset based on MovingWindow and not its RootWindow. Followup to 3849bb4470 . Comments + adding a local to ease patch #1345.
|
7 years ago |
omar
|
db63e71f13
|
Internals: Exposed SetCurrentFont() in imgui_internal.h
|
7 years ago |
omar
|
1493de4f81
|
Internals: Merge of harmless stuff from Navigation stuff. Added GetHoveredID() internal helper.
|
7 years ago |
omar
|
c85d7d6e49
|
Nav: Remove GetItemID(), hide ActivateItem() before this feature is unfinished and has issue (full feature is on hold). Undo part of 59c6f35bf6 (#787)
|
7 years ago |
omar
|
0a98202714
|
Nav: Standardized FIXME-NAV marker.
|
7 years ago |
omar
|
16285603f2
|
Internals: Initializing fields in same order as declaration order + fixed uninitialized DragDropAcceptIdCurrRectSurface (was harmless)
|
7 years ago |
omar
|
0cabd81071
|
Internals: Rect: Added ClipWillFull helper + comments on variations.
|
7 years ago |
omar
|
92d75c44bc
|
Internals: ImVec2 versions of ImMin, ImMax inline float version for a faster full-on-debug-no-inline experience.
|
7 years ago |
omar
|
3fc7cf190d
|
OpenPopup(): Always reopen existing popup. Removed OpenPopupEx() bool reopen_existing which is always true. This also makes the public API on par with OpenPopupEx(). (#1497, #1533)
|
7 years ago |
omar
|
deab2ab015
|
Popups: Gently handle the user mistakenly calling OpenPopup() every frame. (when reopen_existing is true). (#1497)
|
7 years ago |
omar
|
69ff65f054
|
Internals: Popup: Renaming fields.
|
7 years ago |
omar
|
3678307cd9
|
Popup, Menus: Tweaks and comments.
|
7 years ago |
omar
|
369189b675
|
Internals: Popup: Explicitely setting up ImGuiPopupRef reduces confusion.
|
7 years ago |
omar
|
a34490239c
|
Internals: Popup: Separating MousePosOnOpen and PopupPosOnOpen. They are equal in the master branch but different in the navigation branch.
|
7 years ago |
omar
|
95b773370f
|
Revert "Internals: Added LastActiveId, LastActiveIdTimer. (#1537)" Will come up with a better design later.
This reverts commit 007f4034c9 .
|
7 years ago |
omar
|
007f4034c9
|
Internals: Added LastActiveId, LastActiveIdTimer. (#1537)
|
7 years ago |
omar
|
4fc9f44073
|
Merge of minor left-overs from private work branch to reduce drifts. Should be functionally a no-op.
|
7 years ago |
omar
|
b2ec0741f1
|
Internals: Settings api tweaks
|
7 years ago |
omar
|
f9b2058d5a
|
Internals: Renamed ImGuiSimpleColumns to ImGuiMenuColumns to avoid confusion. Reduced internal buffer size (we only use 3 slots).
|
7 years ago |
omar
|
3c6fbe0849
|
Renamed ImGuiSizeConstraintCallback to ImGuiSizeCallback, ImGuiSizeConstraintCallbackData to ImGuiSizeCallbackData.
|
7 years ago |
omar
|
7fcbd45500
|
Internals: NextWindow: Renamed, moved functions to member.
|
7 years ago |
omar
|
e339949de1
|
Internals: NextWindow: Using ImGuiCond for consistency.
|
7 years ago |
omar
|
04b44398eb
|
Internals: refactored g.SetNextWindow fields into g.NextWindow. structure (so it can be more easily transported/copied)
|
7 years ago |
omar
|
6ec00a366a
|
Internals: ImRect: Minor formatting tweaks.
|
7 years ago |
omar
|
fbf2435f38
|
Exposed IM_OFFSETOF() helper in imgui.h
|
7 years ago |
omar
|
2dd2ca0096
|
Removed CalcItemRectClosestPoint() which was weird and not really used by anyone except demo code. If you need it it's easy to replicate on your side.
Removed internal corresponding ImRect::GetClosestPoint() for now.
Essentially revert dcaafffe0e .
|
7 years ago |
omar
|
49eed6e2d1
|
Version 1.54 WIP
|
7 years ago |
omar
|
e916310b2e
|
Version 1.53
|
7 years ago |
omar
|
bb8dfe4a34
|
Fixed incorrect IM_DELETE macro (9cda86d55a ) (#1517, #484, #504)
|
7 years ago |
omar
|
9cda86d55a
|
Internals: Added IM_NEW, IM_DELETE helper macros (#1517, #484, #504)
|
7 years ago |
omar
|
1f26652944
|
Various zealous warning fixes (thanks Clang).
|
7 years ago |
omar
|
c8c872c753
|
Internals: String functions uses size_t in their signature
|
7 years ago |
omar
|
531c11d5c7
|
ImDrawList: Small refactor toward removing dependency on GImGui + PushClipRectFullscreen now correctly uses data provided by imgui which can takes account of DisplaySize + Removed static variable in PathArcToFast() which caused linking issues to some.
|
7 years ago |
omar
|
b9391d1692
|
Columns: Internal: Columns have their no set of flags so NoResize can be setup by internal code. (#125)
|
7 years ago |
omar
|
ddbcda8c1b
|
Columns: Column width data is no longer lost while dragging toward the right side. (#1499, #125)
|
7 years ago |
omar
|
e8e84a6ad6
|
Columns: Added internal tracking of a few flag temporarily, to facilitate the work of third-parties who have columns patches. (#125)
|
7 years ago |
omar
|
4ae5c7e227
|
Columns: Refactor: Moved ColumnsSet[] to window out of DC as they are persistent data for most + fix for pre C++11 compilers. (#125, #1499)
|
7 years ago |
omar
|
b016215c80
|
Columns: Refactor: Not using statestorage lookup anymore. (#125, #1499)
|
7 years ago |
omar
|
3a31a75e3b
|
Columns: Refactor: Renamed all members. (#125, #1499)
|
7 years ago |
omar
|
78320aa633
|
Columns: Refactor: Moved columns data into their own data structure. Minimum changes now to ease diffing. (#125, #1499)
|
7 years ago |
omar
|
90d0b8b58b
|
Navigation: minor sync to reduce drifts between changes
|
7 years ago |
omar
|
8b59ed0708
|
Drag and Drop: Exposed some internals.
|
7 years ago |
omar
|
7c7a7baf76
|
Merged miscellaneous small stuff (from nav/dock branches).
|
7 years ago |
omar
|
28bbf1ade6
|
Fixed ParentWindow setup which broke Modal windows (fix c65124f415 )
|
7 years ago |
omar
|
c22657985a
|
Added GetFrameHeight() function (used to be SmallSquareSize internally)
|
7 years ago |
omar
|
ee7f1921e8
|
Internals: Added GetSmallSquareSize()
|
7 years ago |
omar
|
c65124f415
|
Internals: ParentWindow is now NULL for non-child windows and means what everyone expects.
|
7 years ago |
omar
|
f42d7b89e2
|
Internals: Removed misleading GetWindowParent() function. + renaming to clear confusing.
|
7 years ago |
omar
|
4a555d35f0
|
IsWindowHovered(): split ImGuiHoveredFlags_FlattenChild into separate ChildWindows and RootWindow flags. Allowing more combination and a better symetry with IsWindowFocused() flags. (#1382)
|
7 years ago |
omar
|
45f440bb7d
|
Internals: Renamed ImGuiButtonFlags_FlattenChilds -> ImGuiButtonFlags_FlattenChildren, ImGuiButtonFlags_AllowOverlapMode -> ImGuiButtonFlags_AllowItemOverlap
|
7 years ago |