omar
|
4b41d3b280
ImFont: Rearranged members toward an optimal CalcTextSize() loop. Removed comments from destructor. Made constructor more explicit.
|
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
|
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.
|
6 лет назад |
omar
|
4e8e177cac
Persistently fixing some PVS-Studio static analyzer false positive warnings.
|
6 лет назад |
omar
|
c3c2cd1e82
Fix various XCode and PVS-Studio static analyzer warnings (#2309)
|
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
|
bebb07f12d
ImFontAtlas: Added 0x2000-0x206F general punctuation range to default ChineseFull/ChineseSimplifiedCommon ranges. (#2093)
|
6 лет назад |
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]
|
6 лет назад |
omar
|
06aaf23877
Various tweaks and fixes as suggested by PVS Studio (thanks PVS Studio!)
|
6 лет назад |
omar
|
95ee99e6aa
Version 1.68 WIP
|
6 лет назад |
omar
|
7a5058e3bf
Version 1.67
|
6 лет назад |
omar
|
6e41745f31
Added a bunch of diagnostic ignore to cope with Clang -Weverything being absurd. Also fixed two legit warnings. (#2277)
|
6 лет назад |
omar
|
651130002f
ImFontAtlas: Fixed allocating for last bit (would only affect is that last codepoint is a multiple of 32). (#2270)
|
6 лет назад |
omar
|
9a9712807e
ImFontAtlas: Rewrote stb_truetype based builder.
|
6 лет назад |
omar
|
9ad341902d
ImDrawList: Optimized some of the functions for performance of debug builds where non-inline function call cost are non-negligible.
|
6 лет назад |
omar
|
acfa4050ec
Tweak changelog + tweak internal render helper functions.
|
6 лет назад |
omar
|
5cb7ce2085
Renamed ImFont::GlyphRangesBuilder to ImFontGlyphRangesBuilder. Keep redirection typedef (will obsolete).
|
6 лет назад |
omar
|
8399fb5071
Changed ImGuiCol_ChildBg to (0,0,0,0) in Dark style instead of (1,1,1,0), to match other styles. Shouldn't have any effect for the end-user.
|
6 лет назад |
omar
|
54a60aaa40
Added BETA api for Tab Bar/Tabs widgets. (#261, #351) (merged this feature from the from Docking branch so it can be used earlier as as standalone feature)
|
6 лет назад |
omar
|
10e13dd6bb
Version 1.67 WIP (again, this time IMGUI_VERSION_NUM has leeway for another hot-fix).
|
6 лет назад |
omar
|
801645d350
Version 1.66b (will revisit how to change IMGUI_VERSION_NUM across versions, this commit reduces the numerical IMGUI_VERSION_NUM compared to the commit on Nov 22).
|
6 лет назад |
omar
|
84238240d6
Fixed a text rendering/clipping bug introduced in 1.66 (on 2018-10-12, commit ede3a3b9) that affect single ImDrawList::AddText() calls with single strings larger than 10k. Text/TextUnformatted() calls were not affected, but e.g. InputText() was.
|
6 лет назад |
Sebastian Krzyszkowiak
|
3335e6688f
Include <alloca.h> also on macOS (and osxcross) (#2218)
|
6 лет назад |
omar
|
d27ffefbd4
Version 1.67 WIP
|
6 лет назад |
omar
|
da3c4330c1
Version 1.66
|
6 лет назад |
Elias Daler
|
8606d9fa11
Fix Clang/GCC's null-conversion warning: (#2081)
|
7 лет назад |
omar
|
ede3a3b92d
Fixes crash introduced in previous commit 9cf94d5.
|
7 лет назад |
omar
|
9cf94d5dd6
RenderText(), InputTextMultiline(): Optimization for large text by using memchr, wmemchr, wcschr when appropriate.
|
7 лет назад |
omar
|
5719b23e01
ImDrawList: Fixed AddConvexPolyFilled() undefined behavior when passing points_count smaller than 3, in particular, points_count==0 could lead to a memory stomp if the draw list was previously empty.
|
7 лет назад |