omar
ce4e62649a
Internal: Tabbing: Tweaks to FocusableItemRegister and using the standard mechanism to allow/block Tab being interpreting by tabbing instead of InputText() widget.
ago%!(EXTRA string=6 years)
omar
622a27506a
Text: Fixed large Text/TextUnformatted call not declaring its size when starting below the lower point of the current clipping rectangle. Somehow this bug has been there since v1.0! It was hardly noticeable but would affect the scrolling range, which in turn would affect some scrolling request functions when called during the opening frame of a window.
ago%!(EXTRA string=6 years)
omar
f4dd990e38
Comments and Issue Template
ago%!(EXTRA string=6 years)
omar
94e794f81b
Renamed GetOverlayDrawList() to GetForegroundDrawList() for consistency. Kept redirection function (will obsolete). ( #2391 )
...
Demo: Using GetBackgroundDrawList() and GetForegroundDrawList() in "Custom Rendering" demo.
ago%!(EXTRA string=6 years)
omar
96b13760d4
Added GetBackgroundDrawList() helper to quickly get access to a ImDrawList that will be rendered behind every other windows. ( #2391 )
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
525a53a86b
Comments
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
cd67d4d3c1
Log/Capture: Fixed LogXXX functions 'auto_open_depth' parameter being treated as an absolute tree depth instead of a relative one. Fixed CollapsingHeader trailing ascii representation being "#" instead of "##". Minor tidying up the of code.
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
f977871854
ImFont: Minor adjustment to the structure.
...
Examples: Removed unused variable.
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
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
0640b6e67c
Shallow tweaks
ago%!(EXTRA string=6 years)
omar
a79785c0b9
ImDrawData: Added FramebufferScale field (currently a copy of the value from io.DisplayFramebufferScale).
...
This is to allow render functions being written without pulling any data from ImGuiIO, allowing incoming multi-viewport feature to behave on Retina display and with multiple displays. If you are not using a custom binding, please update your render function code ahead of time, and use draw_data->FramebufferScale instead of io.DisplayFramebufferScale. (#2306 , #1676 )
Examples: Metal, OpenGL2, OpenGL3: Fixed offsetting of clipping rectangle with ImDrawData::DisplayPos != (0,0) when the display frame-buffer scale scale is not (1,1). While this doesn't make a difference when using master branch, this is effectively fixing support for multi-viewport with Mac Retina Displays on those examples. (#2306 ) Also using ImDrawData::FramebufferScale instead of io.DisplayFramebufferScale.
Examples: Clarified the use the ImDrawData::DisplayPos to offset clipping rectangles.
ago%!(EXTRA string=6 years)
omar
4b41d3b280
ImFont: Rearranged members toward an optimal CalcTextSize() loop. Removed comments from destructor. Made constructor more explicit.
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
d93e3c17fc
ImGuiTextBuffer: Fix size() to allow using ImGuiTextBuffer with resize(0) patterns.
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
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
699e945a82
Merged from Docking branch: non-const ImVec2[] operator.
ago%!(EXTRA string=6 years)
Michael Savage
2d363fa315
Fixed doc typo ( #2326 )
ago%!(EXTRA string=6 years)
omar
b26ac92a12
Revert "Added PushID(size_t sz) helper (may not be useful/meaningful for non C/C++ languages)."
...
This reverts commit 20bc06af70
.
ago%!(EXTRA string=6 years)
omar
ee3b4f2bf1
Using IM_UNUSED() macro.
ago%!(EXTRA string=6 years)
omar
c3c2cd1e82
Fix various XCode and PVS-Studio static analyzer warnings ( #2309 )
ago%!(EXTRA string=6 years)
omar
20bc06af70
Added PushID(size_t sz) helper (may not be useful/meaningful for non C/C++ languages).
ago%!(EXTRA string=6 years)
omar
28901dd104
Internals: Tweaks. Comments about PushID/GetID public function.
ago%!(EXTRA string=6 years)
omar
00ffdb9fa9
ImGuiTextBuffer: Added append() function (unformatted).
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
09f1cb642b
FreeType: Minor tweaks previous commit ( #2285 )
ago%!(EXTRA string=6 years)
omar
95ee99e6aa
Version 1.68 WIP
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
49994ceb6e
FAQ entry, moved ImTextureId, Gallery links.
ago%!(EXTRA string=6 years)
omar
9a9712807e
ImFontAtlas: Rewrote stb_truetype based builder.
...
- Atlas width is now properly based on total surface rather than glyph count (unless overridden with TexDesiredWidth).
- Fixed atlas builder so missing glyphs won't influence the atlas texture width. (#2233 )
- Fixed atlas builder so duplicate glyphs (when merging fonts) won't be included in the rasterized atlas.
ago%!(EXTRA string=6 years)
omar
7ed8e55fc7
ImVector: Added size_in_bytes() helper.
ago%!(EXTRA string=6 years)
omar
e4c19f5af1
ImFontGlyphRangesBuilder: Using 32-bits fields for storage instead of 8-bit ones, comments, todo.
ago%!(EXTRA string=6 years)
omar
7ffbcfe467
ImVector: Made reserve() another silly one-liner. It's not longer than other functions and our weird obsessions deserve to be carried with stringent consistence. + Comments
ago%!(EXTRA string=6 years)
omar
1f6e0b2f98
ImVector: Made a struct. Using T/T* in the code instead of value_type/iterator. Renamed index_from_pointer() to index_from_ptr() (was not documented, added in 1.63, users not supposed to use ImVector, hopefully not a big deal).
ago%!(EXTRA string=6 years)
omar
9ad341902d
ImDrawList: Optimized some of the functions for performance of debug builds where non-inline function call cost are non-negligible.
ago%!(EXTRA string=6 years)
omar
1ae7f88495
Tabs: Added ImGuiTabBarFlags_NoTooltip flag. ( #261 , #351 ) + added helpful assert
ago%!(EXTRA string=6 years)
omar
5cb7ce2085
Renamed ImFont::GlyphRangesBuilder to ImFontGlyphRangesBuilder. Keep redirection typedef (will obsolete).
ago%!(EXTRA string=6 years)
omar
1353c74dcf
Comments/formatting on obsolete stuff
ago%!(EXTRA string=6 years)
omar
c3af134cc8
IO: Renamed InputCharacters[], marked internal as was always intended. AddInputCharacter() goes into a queue which can receive as many characters as needed during the frame. This is useful for automation to not have an upper limit on typing speed. Will later transition key/mouse to use the event queue later.
ago%!(EXTRA string=6 years)
omar
1705a81efb
Moved ImVector higher up in imgui :( because we will need it in ImGuiIO.
ago%!(EXTRA string=6 years)