omar
|
77833003ff
Fixed unused argument warning when compiling with IM_ASERT() evaluating to an empty macro.
|
преди 6 години |
omar
|
3c15dffc94
Version 1.68
|
преди 6 години |
haldean
|
b277cfffc8
Selectable: add support for specifying text alignment on selectables (#2347)
|
преди 6 години |
omar
|
0236bc246f
Scrollbar: Fade out and disable interaction when too small, in order to facilitate using the resize grab on very small window, as well as reducing visual noise/overlap. (+1 squashed commits)
|
преди 6 години |
omar
|
0640b6e67c
Shallow tweaks
|
преди 6 години |
omar
|
1b63ded8fa
Tabs: Fixed border (when enabled) so it is aligned correctly mid-pixel and appears as bright as other borders.
|
преди 6 години |
omar
|
29d38b59d0
ListBox/InputTextMultiline: Better optimized when clipped / non-visible.
|
преди 6 години |
omar
|
62084aac0f
DragScalarN, SliderScalarN, InputScalarN: Removed unnecessary string id after the integer PushID() calls.
|
преди 6 години |
omar
|
f366828dd2
Minor tweaks to reduce false positive of PVS Studio static analyzer.
|
преди 6 години |
omar
|
5bdc7d7a6f
Menus: Tweaked horizontal overlap between parent and child menu (to help convey relative depth) from using style.ItemSpacing.x to style.ItemInnerSpacing.x, the later being expected to be smaller. (#1086)
|
преди 6 години |
omar
|
97ed97b8ce
Plot: Register an ID to take the click the same way as other framed widgets. Set HoveredId in the FramePadding zone (between inner_bb and frame_bb).
|
преди 6 години |
omar
|
cef4e086ba
Internals: Selectable: Fixed rendering width miscalculation when starting pos is not line start pos, which would generally be unnoticeable. Could affect group lock X with a smaller SetCursorPos value but that's unlikely to be used.
|
преди 6 години |
omar
|
521470b3cd
Internals: Removed unnecessary code.
|
преди 6 години |
omar
|
b980e0077a
Tabs: Moved Tab List Popup to left-side to match docking button. Highlight selected tab. (#261, #351)
|
преди 6 години |
omar
|
d38f4dc143
Tabs: Non-docking tab bars are storing names to allow tab list button + whole style scaling. Added ImGuiTabBarFlags_TabListPopupButton flag to show a popup button on manual tab bars. Locking FramePadding for the scope of a tab-bar to avoid sheering/clipping of tab item. Made scaling of tab ellipsis less awkward. (#261, #351)
|
преди 6 години |
omar
|
f7c879eb60
RadioButton: Fixed label horizontal alignment to precisely match Checkbox(). + Internals: Checkbox, RadioButton: Single call to ItemSize() for flow layout purpose.
|
преди 6 години |
omar
|
0b05ba18df
Internals: DragScalar, SliderScalar: Calling ItemSize before ItemAdd as with every other widgets so we can more easily rearrange the signature of ItemXXX functions (toward allowing non-rounded sizes for scaling and flow layout).
|
преди 6 години |
omar
|
d5945aa25b
Internals: Minor changes to TreeNodeBehavior() and Selectable() for the benefit of fhe range_select branch. (#1861)
|
преди 6 години |
omar
|
0d4a2a2cd0
Internals: Track ActiveIdHasBeenPressed (similar to ActiveIdHasBeenEdited). This is currently mostly for the benefit of the range_select branch. (#1861)
|
преди 6 години |
omar
|
1fb57c97c6
Internals: InputScalarAsWidgetReplacement: Fixed seemingly unnecessary calling of SetActiveID/SetHoveredID every frame, which in turns allow us to remove the g.ActiveIdAllow/Block settings duplicated.
|
преди 6 години |
omar
|
fb4f1ff7f6
InputText: Fixed a bug where ESCAPE would be first captured by the Keyboard Navigation code. (#2321, #787)
|
преди 6 години |
omar
|
158995f271
InputText: Fixed a bug where ESCAPE would not restore the initial value in all situations. (#2321) [@relick]
|
преди 6 години |
omar
|
0a233a505d
imgui-test: Added extra item info callbacks. Using nav_bb for interactions when possible. Comments, Demo tweaks.
|
преди 6 години |
omar
|
4e8e177cac
Persistently fixing some PVS-Studio static analyzer false positive warnings.
|
преди 6 години |
omar
|
ee3b4f2bf1
Using IM_UNUSED() macro.
|
преди 6 години |
omar
|
c3c2cd1e82
Fix various XCode and PVS-Studio static analyzer warnings (#2309)
|
преди 6 години |
omar
|
f14f93ef6e
Fixed range-version of PushID() and GetID() not honoring the ### operator to restart from the seed value.
|
преди 6 години |
omar
|
2c38b32db1
Removed trailing spaces (#2038, #2299)
|
преди 6 години |
omar
|
f94ba546ba
Added checks for "zero-as-null-pointer-constant" warnings for older Clang (#2299, followup to #2277)
|
преди 6 години |
omar
|
06aaf23877
Various tweaks and fixes as suggested by PVS Studio (thanks PVS Studio!)
|
преди 6 години |