omar
|
83416fa5da
|
Merge branch 'master' into navigation
|
7 years ago |
omar
|
e32569dd5a
|
ImDrawList: Fixed a bug in ChannelsMerge() leading to an extraneous draw call being created, which unexpectly led to more dramatic condition but to faulty draw command merging code. (#1172, #1368)
|
7 years ago |
omar
|
bebc49bc2a
|
Merge pull request #1368 from ripieces/rendering-issue-1172
ImDrawList: Merging issue fix.
|
7 years ago |
Dominik Tugend
|
7a8eb5bdc9
|
Rendering issue fix
Fixes ocornut/imgui#1172
|
7 years ago |
omar
|
d761825cfb
|
Nav: Renaming a field + Comments.
|
7 years ago |
omar
|
ce7b04e8b9
|
Removed apparently unncessary code in InputFloatN() and InputInt().
|
7 years ago |
omar
|
251bc6c22c
|
Update README.md
|
7 years ago |
omar
|
b498856c9d
|
Update README.md
|
7 years ago |
omar
|
dbab9b248a
|
Update README.md
|
7 years ago |
omar
|
db5f1b79cd
|
Nav: ButtonBehavior() keep _displaying_ NavId item as howered when refocusing or moving window, which is consistent with IsItemHovered() and reduce noise/flicker (#787)
|
7 years ago |
omar
|
c42baf392a
|
Reluctantly exposed GetActiveID(), GetHoveredID() in imgui_internal because the demo code will need it.
|
7 years ago |
omar
|
53780a4fcc
|
Nav: Shallow tweaks.
|
7 years ago |
omar
|
f852b9a52a
|
Exposed Scrollbar() in imgui_internal.h and removed a bool arg
|
7 years ago |
omar
|
b667d5a9e7
|
Nav: Internals: Renamed ImGuiButtonFlags_NoNavOverride to ImGuiButtonFlags_NoNavFocus + fixed a theorically missing test in ButtonBehavior() (#787)
|
7 years ago |
omar
|
0371219222
|
Nav: Internals: Renamed SetActiveIDNoNav -> SetActiveID() and old SetActiveID() -> SetFocusID(), both functions needs to be called when both are desirabled. (#787)
May break code relying on imgui_internal.h, relying on nav and not calling ButtonBehavior().
|
7 years ago |
omar
|
8b095e483b
|
Internals: Moved SetNavID() and renamed casing to be consistent with stuff exposed in imgui_internal.h
|
7 years ago |
omar
|
4be967823f
|
Exposed Scrollbar() in imgui_internal.h and removed a bool arg
|
7 years ago |
omar
|
48498b337d
|
Internals: SetActiveID window cannot be NULL
|
7 years ago |
omar
|
4548bcb5c9
|
Nav: commiting shallow bits to reduce noise from working copy/upcoming commit.
|
7 years ago |
omar
|
17519c313a
|
Nav: Extract part of NavUpdate() into a saner NavUpdateWindowingTarget() (#787)
|
7 years ago |
omar
|
b05b31e690
|
Nav: Made NavWindow always refresh from NavId so we can lazily retrieve the window for user functions that don't have it. This is not required by current commit but I'd rather test it earlier. Idea: eventually if we switch to 64-bit identifiers we could reserve e.g. 20 bits to store a simplified window identifier so we can always retrieve a window from an id. (#787)
|
7 years ago |
omar
|
f0d437dd9c
|
Nav: SetActiveId() uses SetActiveIDNoNav() to avoid duplicating logic. (#787)
|
7 years ago |
omar
|
2047c58efb
|
Nav: Extract part of NavUpdate() into a saner NavScrollToBringItemIntoView() (#787)
|
7 years ago |
omar
|
7a14d7dfdc
|
Nav: More consistently drawing a (thin) navigation rectangle hover filled frames such as tree nodes, collapsing header, menus. (#787)
|
7 years ago |
omar
|
3833f1f7a2
|
Merge branch 'master' into navigation
|
7 years ago |
omar
|
43b4a81b3e
|
Rnamed AlignFirstTextHeightToWidgets() to AlignTextToFramePadding(). Kept inline redirection function (will obsolete).
|
7 years ago |
omar
|
578a588c1d
|
Links
|
7 years ago |
omar
|
4cfec4813e
|
Links
|
7 years ago |
omar
|
c6e370a77a
|
TreeNode: Added ImGuiTreeNodeFlags_FramePadding flag
|
7 years ago |
omar
|
69dd895358
|
Nav: Renaming NavInitDefaultRequest -> NavInitRequest
|
7 years ago |
omar
|
4d83078885
|
Nav: Moving code next to its peers
|
7 years ago |
omar
|
d2975115cd
|
Nav: Caching into g.NavAnyRequest to minimize hot path cost (and so we can add many more request sources)
|
7 years ago |
omar
|
d91b093be6
|
Nav: Minor tweaks in NavProcessItem() used by ItemAdd()
|
7 years ago |
omar
|
c3105919ba
|
Nav: Minor tweaks also toward removing processing from ItemAdd()
|
7 years ago |
omar
|
d16309ca77
|
Internal: ItemAdd() minor shallow tweaks
|
7 years ago |
omar
|
64ce83b9ed
|
Merge branch 'master' into navigation
# Conflicts:
# imgui.cpp
# imgui_internal.h
|
7 years ago |
omar
|
042153d254
|
Internal: ItemAdd(), IsClippedEx(): removed unnecessary indirection for ID parameter
|
7 years ago |
omar
|
acb6f12d2c
|
Removed extraneous calls to GetCurrentWindowRead() when we already have a ImGuiContext. Internal RenderXXX functions also don't need to write into the Accessed field at all.
|
7 years ago |
omar
|
6e1199c603
|
Merge branch 'master' into navigation
|
7 years ago |
omar
|
335c8dd159
|
Comments (clarifying whether types are to be considered as flags or regular, non combinable enums)
|
7 years ago |
omar
|
f451785c9e
|
Nav: Shuffled code in ItemAdd() so that NavProcessItem() may have access to LastItemId (will be required by tabbing)
|
7 years ago |
omar
|
e12cfa9dfd
|
Nav: Minor midying up and comments,
|
7 years ago |
omar
|
40df7a5155
|
Nav: Removed possibly redundant test prior to calling NavProcessItem() from ItemAdd()
|
7 years ago |
omar
|
a77dd02e8a
|
Nav: Moving code next to its peers
|
7 years ago |
omar
|
f5bd4663dd
|
Nav: Moving the big chunk of code from ItemAdd() to NavProcessItem()
|
7 years ago |
omar
|
59c6f35bf6
|
Added ActivateItem(), GetItemID() functions.
|
7 years ago |
omar
|
80c4e2fe7b
|
Nav: Tidying up activation mechanism so that setting NavActivateId can trigger buttons.
|
7 years ago |
omar
|
2f27b733be
|
Nav: Fixed uninitialized context variables for sanity.
|
7 years ago |
omar
|
518f02f4de
|
Demo: better demo for SetKeyboardFocusHere()
|
7 years ago |
omar
|
d851775c80
|
ColorButton: Reduced bordering artefact that would be particularly visible with opaque Col_FrameBg and FrameRounding enabled.
|
7 years ago |