omar
4654040bcb
Nav: Comments, added enum to clarify NavForward code. ( #787 )
ago%!(EXTRA string=7 years)
omar
04d5783ffd
Nav: Cleaning up + using ImGuiInputSource source enum instead of a silly bool. ( #787 )
ago%!(EXTRA string=7 years)
omar
f2d5300408
Nav: Keyboard: Added CTRL+TAB (and CTRL+Shift+TAB) style window selection. ( #787 )
ago%!(EXTRA string=7 years)
omar
8bf0c89c0d
Internals: ImRect::Contains(ImRect&) include boundaries (whereas Contains(ImVec2) should not).
ago%!(EXTRA string=7 years)
omar
d404b93b6b
Nav: Mouse clicking on a window (to select/move) disables hides nav highlight. ( #787 ) + comments
ago%!(EXTRA string=7 years)
omar
28671aa821
Nav: Internals: Moved some enums and functions to internals, renamed ImGuiNavReadMode to ImGuiInputReadMode as well. ( #787 )
ago%!(EXTRA string=7 years)
omar
9a76fd30fd
Added SetNextWindowBgAlpha() helper. ( #1567 ) particularly helpul with the marking of the old 5-parameters version of Begin() as obsolete.
ago%!(EXTRA string=7 years)
omar
db2ba13154
Internals: Exposed SetCurrentFont() in imgui_internal.h
ago%!(EXTRA string=7 years)
omar
1acb155419
Internals: Moved unnecessary MovingWindowMoveId field.
ago%!(EXTRA string=7 years)
omar
5e2aa6185c
Reorganized context handling to be more explicit,
...
- YOU NOW NEED TO CALL ImGui::CreateContext() AT THE BEGINNING OF YOUR APP, AND CALL ImGui::DestroyContext() AT THE END.
- removed Shutdown() function, as DestroyContext() serve this purpose.
- you may pass a ImFontAtlas* pointer to CreateContext() to share a font atlas between contexts. Otherwhise CreateContext() will create its own font atlas instance.
- removed allocator parameters from CreateContext(), they are now setup with SetAllocatorFunctions(), and shared by all contexts.
- removed the default global context and font atlas instance, which were confusing for users of DLL reloading and users of multiple contexts
(#1565 , #586 , #992 , #1007 , #1558 )
ago%!(EXTRA string=7 years)
omar
cd1409f4bf
ImFontAtlas: Moved mouse cursor data out of ImGuiContext, fix drawing them with multiple context. Also remove the last remaining undesirable dependency on GImGui in imgui_draw.cpp, finishing the work recently done with ImDrawListSharedData. Hurra! ( #939 )
ago%!(EXTRA string=7 years)
omar
c2ffce3e5a
Drag and Drop: Fix comment. Removed IMGUI_PAYLOAD_TYPE_DOCKABLE from master branch. ( #143 )
ago%!(EXTRA string=7 years)
omar
cc15512bfc
InputText: Minor tweak.
ago%!(EXTRA string=7 years)
omar
a221d253f3
Nav: Comment.
ago%!(EXTRA string=7 years)
omar
28a76af185
Internal: DrawData: Tidying, renaming.
ago%!(EXTRA string=7 years)
omar
1182174d81
Internals: DrawData: We don't need an intermediate layer for popups.
ago%!(EXTRA string=7 years)
omar
038453258e
Internals: DrawData: Refactored chunks into a ImDrawDataBuilder we can reuse.
ago%!(EXTRA string=7 years)
omar
061d8df033
MIssing IMGUI_API for a type with non-inline methods.
ago%!(EXTRA string=7 years)
omar
06eef2ce6f
Internals: DrawData: renamed fields only (committing separately so that next commit is less nosiy).
ago%!(EXTRA string=7 years)
omar
514d30d8cd
MovingWindow: Track click offset based on MovingWindow and not its RootWindow. Followup to 3849bb4470
. Comments + adding a local to ease patch #1345 .
ago%!(EXTRA string=7 years)
omar
db63e71f13
Internals: Exposed SetCurrentFont() in imgui_internal.h
ago%!(EXTRA string=7 years)
omar
1493de4f81
Internals: Merge of harmless stuff from Navigation stuff. Added GetHoveredID() internal helper.
ago%!(EXTRA string=7 years)
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 )
ago%!(EXTRA string=7 years)
omar
0a98202714
Nav: Standardized FIXME-NAV marker.
ago%!(EXTRA string=7 years)
omar
16285603f2
Internals: Initializing fields in same order as declaration order + fixed uninitialized DragDropAcceptIdCurrRectSurface (was harmless)
ago%!(EXTRA string=7 years)
omar
0cabd81071
Internals: Rect: Added ClipWillFull helper + comments on variations.
ago%!(EXTRA string=7 years)
omar
92d75c44bc
Internals: ImVec2 versions of ImMin, ImMax inline float version for a faster full-on-debug-no-inline experience.
ago%!(EXTRA string=7 years)
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 )
ago%!(EXTRA string=7 years)
omar
deab2ab015
Popups: Gently handle the user mistakenly calling OpenPopup() every frame. (when reopen_existing is true). ( #1497 )
ago%!(EXTRA string=7 years)
omar
69ff65f054
Internals: Popup: Renaming fields.
ago%!(EXTRA string=7 years)
omar
3678307cd9
Popup, Menus: Tweaks and comments.
ago%!(EXTRA string=7 years)
omar
369189b675
Internals: Popup: Explicitely setting up ImGuiPopupRef reduces confusion.
ago%!(EXTRA string=7 years)
omar
a34490239c
Internals: Popup: Separating MousePosOnOpen and PopupPosOnOpen. They are equal in the master branch but different in the navigation branch.
ago%!(EXTRA string=7 years)
omar
95b773370f
Revert "Internals: Added LastActiveId, LastActiveIdTimer. ( #1537 )" Will come up with a better design later.
...
This reverts commit 007f4034c9
.
ago%!(EXTRA string=7 years)
omar
007f4034c9
Internals: Added LastActiveId, LastActiveIdTimer. ( #1537 )
ago%!(EXTRA string=7 years)
omar
4fc9f44073
Merge of minor left-overs from private work branch to reduce drifts. Should be functionally a no-op.
ago%!(EXTRA string=7 years)
omar
b2ec0741f1
Internals: Settings api tweaks
ago%!(EXTRA string=7 years)
omar
f9b2058d5a
Internals: Renamed ImGuiSimpleColumns to ImGuiMenuColumns to avoid confusion. Reduced internal buffer size (we only use 3 slots).
ago%!(EXTRA string=7 years)
omar
3c6fbe0849
Renamed ImGuiSizeConstraintCallback to ImGuiSizeCallback, ImGuiSizeConstraintCallbackData to ImGuiSizeCallbackData.
ago%!(EXTRA string=7 years)
omar
7fcbd45500
Internals: NextWindow: Renamed, moved functions to member.
ago%!(EXTRA string=7 years)
omar
e339949de1
Internals: NextWindow: Using ImGuiCond for consistency.
ago%!(EXTRA string=7 years)
omar
04b44398eb
Internals: refactored g.SetNextWindow fields into g.NextWindow. structure (so it can be more easily transported/copied)
ago%!(EXTRA string=7 years)
omar
6ec00a366a
Internals: ImRect: Minor formatting tweaks.
ago%!(EXTRA string=7 years)
omar
fbf2435f38
Exposed IM_OFFSETOF() helper in imgui.h
ago%!(EXTRA string=7 years)
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
.
ago%!(EXTRA string=7 years)
omar
49eed6e2d1
Version 1.54 WIP
ago%!(EXTRA string=7 years)
omar
e916310b2e
Version 1.53
ago%!(EXTRA string=7 years)
omar
bb8dfe4a34
Fixed incorrect IM_DELETE macro ( 9cda86d55a
) ( #1517 , #484 , #504 )
ago%!(EXTRA string=7 years)
omar
9cda86d55a
Internals: Added IM_NEW, IM_DELETE helper macros ( #1517 , #484 , #504 )
ago%!(EXTRA string=7 years)
omar
1f26652944
Various zealous warning fixes (thanks Clang).
ago%!(EXTRA string=7 years)