omar
1d0b4df3d9
Misc: Asserting in NewFrame() if style.WindowMinSize is zero or smaller than (1.0f,1.0f). Internal: ImHash functions tweaks. Added InputText() to query status section.
ago%!(EXTRA string=6 years)
omar
736d3e2654
DragScalar, InputScalar, SliderScalar: Added support for u8/s8/u16/s16 data types. We are reusing function instances for larger types to reduce code size. ( #643 , #320 , #708 , #1011 )
ago%!(EXTRA string=6 years)
omar
6de09a5e48
Renamed ColorEdit/ColorPicker's ImGuiColorEditFlags_RGB/_HSV/_HEX flags to respectively ImGuiColorEditFlags_DisplayRGB/_DisplayHSV/_DisplayHex. This is anticipation of adding new flags to ColorEdit/ColorPicker functions which would make those ambiguous. ( #2384 ) [ @haldean ]
ago%!(EXTRA string=6 years)
haldean
8a2f6866a6
add _Show prefix to color flags that control inputs, rename __InputsMask to __ShowMask
...
This is anticipation of changing __InputsMask to control the format of
input colors, and adding _InputRGB and _InputHSV to change how input
colors are interpreted.
ago%!(EXTRA string=6 years)
omar
257f5d204e
Version 1.69 WIP
ago%!(EXTRA string=6 years)
omar
3c15dffc94
Version 1.68
ago%!(EXTRA string=6 years)
omar
76dbff37cd
Selectable: Tweaks for #2347 (demo, changelog, member position)
ago%!(EXTRA string=6 years)
haldean
b277cfffc8
Selectable: add support for specifying text alignment on selectables ( #2347 )
...
Adds a style variable to Selectable that allows clients to specify the
text alignment within Selectables, adds a section in the demo to
demonstrate selectable text alignment, and a pair of sliders in the
style editor to change selectable alignment on the fly.
In terms of implementation, this one is extremely simple: Selectable was
already calling an API that supports text alignment, but had hard-coded
it to top-left. This changes that to just pass the style variable
straight through to RenderTextClipped. Backwards-compatibility is
preserved by defaulting the text_align parameter to (0, 0), i.e.,
top-left.
This also fixes a bug with selectable text rendering that caused
right-aligned text in a selectable to be clipped incorrectly, because
the wrong clipping rectangle was being used.
ago%!(EXTRA string=6 years)
omar
2206df9e7a
Demo: Added Auto-Scroll option in Log/Console. Comments. Removed some ImColor() uses.
ago%!(EXTRA string=6 years)
omar
57a586b4f1
Font: Moved functions to internal block (not enforced). Made ConfigData pointer const. Added link to stb's notes.
ago%!(EXTRA string=6 years)
omar
00c637961b
Demo: Font selector allow selecting fonts with same debug name. ( #2332 )
ago%!(EXTRA string=6 years)
omar
f366828dd2
Minor tweaks to reduce false positive of PVS Studio static analyzer.
ago%!(EXTRA string=6 years)
omar
e3dd95d335
Added IsItemActivated() as an extension to the IsItemDeactivated/IsItemDeactivatedAfterEdit functions which are useful to implement variety of undo patterns. ( #820 , #956 , #1875 )
ago%!(EXTRA string=6 years)
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 )
ago%!(EXTRA string=6 years)
omar
8e44aacc8e
Fonts: Fixed crash if FontGlobalScale is zero. Correctly debug naming default font if not 13 px. Demo: Moved PopupRounding along with other rounding values. Metrics: Displaying indexes with idx to be correct / less misleading.
ago%!(EXTRA string=6 years)
omar
e215809c4d
Removed io.DisplayVisibleMin/DisplayVisibleMax (which were marked obsolete and removed from viewport/docking branch already).
ago%!(EXTRA string=6 years)
omar
ac6d474103
Removed io.DisplayVisibleMin/DisplayVisibleMax (which were marked obsolete and removed from viewport/docking branch already).
ago%!(EXTRA string=6 years)
omar
cbf24a9151
Comments. Fix duplicate entries in About box. Synchronize a few small changes from Master branch.
ago%!(EXTRA string=6 years)
omar
52a9f8bd3e
Merged from Docking branch: Various small changes, comments, typos fixes, moved blocks. To reduce overall drift. Should be no-op.
ago%!(EXTRA string=6 years)
omar
0a233a505d
imgui-test: Added extra item info callbacks. Using nav_bb for interactions when possible. Comments, Demo tweaks.
ago%!(EXTRA string=6 years)
omar
86d3bba157
Added ImGuiDockNodeFlags_AutoHideTabBar. ( #2109 )
ago%!(EXTRA string=6 years)
omar
2ccc6d2ed1
Docking: Exposing extra flag in Configuration panel. Moved some forgotten Changelog entries at the right place.
ago%!(EXTRA string=6 years)
omar
ed240c910b
Demo: Fixed "Log" demo not initializing properly, leading to the first line not showing before a Clear. ( #2318 ) [ @bluescan ]
ago%!(EXTRA string=6 years)
omar
8a4422b2fa
Fixed CloseCurrentPopup() on a child-menu of a modal incorrectly closing the modal. ( #2308 )
ago%!(EXTRA string=6 years)
omar
4e8e177cac
Persistently fixing some PVS-Studio static analyzer false positive warnings.
ago%!(EXTRA string=6 years)
omar
c3c2cd1e82
Fix various XCode and PVS-Studio static analyzer warnings ( #2309 )
ago%!(EXTRA string=6 years)
omar
2c38b32db1
Removed trailing spaces ( #2038 , #2299 )
ago%!(EXTRA string=6 years)
omar
f94ba546ba
Added checks for "zero-as-null-pointer-constant" warnings for older Clang ( #2299 , followup to #2277 )
ago%!(EXTRA string=6 years)
omar
8cbb91261e
ImDrawList: Fixed AddCircle(), AddCircleFilled() angle step being off, which was visible when drawing a "circle" with a small number of segments (e.g. an hexagon). ( #2287 ) [ @baktery ]
...
+ Demo tweaks
ago%!(EXTRA string=6 years)
omar
32c4e01267
Various tweaks and fixes as suggested by PVS Studio (thanks PVS Studio!)
ago%!(EXTRA string=6 years)
omar
06aaf23877
Various tweaks and fixes as suggested by PVS Studio (thanks PVS Studio!)
ago%!(EXTRA string=6 years)
omar
2f9bae140b
Docking: Demo: Fixed docking document window into parent window. ( #2286 )
ago%!(EXTRA string=6 years)
omar
95ee99e6aa
Version 1.68 WIP
ago%!(EXTRA string=6 years)
omar
b8c6e31c2d
Fixed cursor issue caused by 6890e08b
when calling BeginChild/EndChild multiple times to reappend into a same child window. ( #2282 )
ago%!(EXTRA string=6 years)
omar
7a5058e3bf
Version 1.67
ago%!(EXTRA string=6 years)
omar
6e41745f31
Added a bunch of diagnostic ignore to cope with Clang -Weverything being absurd. Also fixed two legit warnings. ( #2277 )
ago%!(EXTRA string=6 years)
omar
7e78865613
Demo: Fixed bounds of DragFloat in Clipping section to avoid passing zero-sized to InvisibleButton().
ago%!(EXTRA string=6 years)
omar
f53cd3ee0f
Internals: LowerBound: Use raw pointer typedefs, we never use iterator anywhere else in the codebase.
...
Demo: Typo.
C98 fix.
ago%!(EXTRA string=6 years)
omar
50faccf764
Demo: Log: Comments. Using clipper. Not linking with rand() anymore.
ago%!(EXTRA string=6 years)
omar
e1ed27aeaa
(Breaking change) Reorganized Viewports advanced flags, moved into new io.ConfigViewportsXXX flags. Pay attention that ImGuiConfigFlags_ViewportsDecoration became ConfigViewportsNoDecoeration, so the value is inverted! ( #1542 )
ago%!(EXTRA string=6 years)
omar
c8349d3305
Viewport: Added ConfigViewportsNoParent to parent viewport default to NULL and not main viewport. Fix eg.. popups appearing erroneously focusing parent window.
ago%!(EXTRA string=6 years)
omar
0d6e3ab2b0
Docking: Renamed SetNextWindowId() -> SetNextWindowID() for consistency. (function vs member are still horribly inconsistent atm)
ago%!(EXTRA string=6 years)
omar
e194219f2e
Renamed ImGuiDockFamily to ImGuiWindowClass. Renamed CompatibleWithClassZero to DockingAllowUnclassed. ( #2109 )
ago%!(EXTRA string=6 years)
omar
c738f9ef92
InputFloat: When using ImGuiInputTextFlags_ReadOnly the step buttons are disabled. ( #2257 )
ago%!(EXTRA string=6 years)
omar
6890e08bc5
Fixed using SetNextWindowPos() on a child window (which wasn't really documented) position the cursor as expected in the parent window, so there is no mismatch between the layout in parent and the position of the child window. Demo tweak and adding some child window stuff
ago%!(EXTRA string=6 years)
omar
84d1ce3958
Tidying up README, moved entries to FAQ, updated screenshots, removed comma in title.
ago%!(EXTRA string=6 years)
omar
f1c7596409
Internals: Popup related comments. Renamed the misleading internal ClosePopup() function. Added bool* test to BeginPopupModal in demo.
ago%!(EXTRA string=6 years)
omar
8497948ba0
Comments, minor tweaks.
ago%!(EXTRA string=6 years)
omar
ccce47c6a2
Demo: Using Tabs in Style Editor and Simple Layout example. + Adding missing early out in About and Documents examples.
ago%!(EXTRA string=6 years)
omar
2886e0b6f5
Demo: Fix collateral damage of 54a60aa
ago%!(EXTRA string=6 years)