ocornut
29809d7220
Version 1.90.2 WIP
10 months ago
ocornut
d6cb3c923d
Version 1.90.1
10 months ago
ocornut
f1ae47c4b9
Docs: update links to Proggy Fonts. ( #7211 )
10 months ago
ocornut
3d083dbe1a
Version 1.90.1 WIP
12 months ago
ocornut
b81bd7ed98
Version 1.90.0
w/ Changelog tweaks.
12 months ago
ocornut
46843b683b
Fonts: minor/shallow amends ( #6925 )
12 months ago
thedmd
ed29ff08ba
Fonts: added support for RasterizerDensity in built-in atlas generator. ( #6925 )
1 year ago
thedmd
abfb9269b5
Fonts: added RasterizerDensity to ImFontConfig. ( #6925 )
1 year ago
ocornut
ab522dd18c
Removed IM_OFFSETOF() macro in favor of using offsetof() available in C++11. Kept redirection define. ( #4537 )
1 year ago
ocornut
32228d8add
Tables: added Angled headers support. Added ImGuiTableColumnFlags_AngledHeader, ImGui::TableHeadersAngledRow(), style.TableAngledHeadersAngle. ( #2957 )
1 year ago
ocornut
94da5842ef
Renamed ImFloor() to ImTrunc(). Renamed ImFloorSigned() to ImFloor(). ( #6861 )
1 year ago
ocornut
6addf28c4b
Fonts: Ensure calling AddFontXXX function doesn't invalidates ImFont's ConfigData pointers prior to building again. ( #6825 )
1 year ago
ocornut
32171a8b0c
Fonts: Better assert during load when passing truncated font data or wrong data size. ( #6822 )
1 year ago
ocornut
bd63a9f056
Fonts: 'float size_pixels' passed to AddFontXXX() functions is now rounded to lowest integer. ( #3164 , #3309 , #6800 )
Note that using io.FontGlobalScale or SetWindowFontScale(), with are legacy-ish, partially supported features, can still lead to unrounded sizes and same issues.
1 year ago
ocornut
44a6b493ee
Commented out obsolete ImDrawCornerFlags_XXX. Commented out runtime support for hardcoded ~0 or 0x01..0x0F rounding flags values for AddRect()/AddRectFilled()/PathRect()/AddImageRounded()
Amend 5185329
, 3f5b2a3
, c2d6d26
, 39432bf
, 033dfd9
1 year ago
Leonardo Serrano
e3d9b875c9
ImDrawList: added PathEllipticalArcTo(), AddEllipse(), AddEllipseFilled(). ( #2743 )
Rebased with mods by ocornut: defaults to num_segments==0, supports for auto-tesselation, tweak demo.
5 years ago
ocornut
fb9b006865
Version 1.90 WIP
1 year ago
ocornut
fef3389157
Version 1.89.9
1 year ago
ocornut
3816d478df
ImDrawList: small debug-mode optimization when calling AddRect() without rounding + Selectable: small debug-mode optimization.
# Conflicts:
# imgui_widgets.cpp
1 year ago
ocornut
82d177ccbd
Using range-based for where it makes sense. ( #4537 )
1 year ago
EggsyCRO
52587c28d6
ImDrawList: Fixed OOB access in _CalcCircleAutoSegmentCount when passing excessively large radius to AddCircle(). ( #6657 , #5317 )
1 year ago
ocornut
d6d94d90bf
Version 1.89.9 WIP
+ Minor typo fixes
1 year ago
ocornut
f7eea63872
Version v1.89.8
1 year ago
ocornut
dc2b0a2823
Disable -Wreserved-identifier warning on Clang (applying to member fields seems excessively weird).
1 year ago
ocornut
eefc9035f0
Fonts: ImFontConfig::OversampleH now defaults to 2 instead of 3.
1 year ago
ocornut
6888e6cdff
ImDrawData: call _PopUnusedDrawCmd() later. as RenderDimmedBackgrounds() rely on a valid command being there (especially in docking branch). ( #6406 , #4879 , #1878 )
Amend/fix dbeeeae
for docking.
+ Build fix when using IMGUI_DISABLE_DEBUG_TOOLS
1 year ago
ocornut
dbeeeae593
ImDrawData: Slight refactor so internal logic uses same logic as AddDrawList(). ( #6406 , #4879 , #1878 )
# Conflicts:
# imgui.cpp
# imgui_internal.h
1 year ago
ocornut
1a9ddd2396
ImDrawData: added AddDrawList() helper function. ( #6406 , #4879 , #1878 )
1 year ago
ocornut
c649aca20a
ImDrawData: changed CmdLists from raw array to ImVector<> owned by ImDrawData itself. Faclitate user-manipulation of the array ( #6406 , #4879 , #1878 ) + deep swap. ( #6597 , #6475 , #6167 , #5776 , #5109 , #4763 , #3515 , #1860 )
+ Metrics: avoid misleadingly iterating all layers of DrawDataBuilder as everything is flattened into Layers[0] at this point.
# Conflicts:
# imgui.cpp
# imgui_internal.h
1 year ago
ocornut
3fe4319314
Version 1.89.8 WIP
1 year ago
ocornut
cb9015e254
Version 1.89.7
1 year ago
ocornut
61ebb37843
Version 1.89.7 WIP
1 year ago
ocornut
5319d1cffa
Version 1.89.6
1 year ago
ocornut
075b975fed
Fonts: Fixed crash when manually specifying an EllipsisChar that doesn't exist. ( #6480 )
1 year ago
ocornut
08145bc45c
Fonts: Fixed crash when merging fonts and the first font has no valid glyph. ( #6446 )
1 year ago
cfillion
085fa42b7d
Adedd workaround for GCC erroneous/zealous warning ( #5343 )
2 years ago
ocornut
064153fca4
Version 1.89.6 WIP
2 years ago
ocornut
1ebb913827
Version 1.89.5
2 years ago
ocornut
c98bad042d
ColorEdit, RadioButton, Windows: Using adaptative tesselation for preview circles.
2 years ago
ocornut
24a44b9abe
Version 1.89.5 WIP
2 years ago
ocornut
f3f6295d53
Version 1.89.4
Commented out obsolete enums/functions names: ImGuiSliderFlags_ClampOnInput, ImGuiInputTextFlags_AlwaysInsertMode, ImDrawList::AddBezierCurve(), ImDrawList::PathBezierCurveTo()()
2 years ago
ocornut
a1b8457cb5
Moved the optional "courtesy maths operators" (#define IMGUI_DEFINE_MATH_OPERATORS) implementation from imgui_internal.h in imgui.h. ( #6164 , #6137 , #5966 , #2832 )
2 years ago
ocornut
204cb4d226
Version 1.89.4 WIP
2 years ago
ocornut
458a109031
Version 1.89.3
2 years ago
ocornut
092b6825ac
Fonts: Assert that in each GlyphRanges[] pairs first is <= second.
2 years ago
ocornut
e816bc6723
Merge misc changes from docking branch to reduce small drift.
In particular:
- imgui.cpp : move UpdateInputEvents() higher in NewFrame() to match docking + update RenderMouseCursor() to match.
- imgui_draw.cpp: ImDrawList::_ResetForNewFrame() change from c807192ab
- Backends: SDL2. Add MouseWindowID + change SDL_CaptureMouse() test to match docking branch. Not strictly necessary but aimed at reducing drift because we go on and fork this file.
+ moved responsability of checking valid names to TabBarGetTabName() to simplify both branches.
2 years ago
ocornut
867bdbecb3
Text: fixed issue in RenderText() leading to IM_ASSERT_PARANOID() triggering if enabled. ( #6132 , #5720 , #5919 )
Amend 3482d4ec
, bd96f6e
2 years ago
ocornut
739a79b1e9
ImDrawList: Added missing early-out in AddPolyline() and AddConvexPolyFilled() when color alpha is zero. Window: Avoid rendering shapes for hidden resize grips.
2 years ago
ocornut
3482d4eccf
Text: Fixed layouting of wrapped-text block skipping successive empty lines. ( #5720 , #5919 )
Regression in the bd96f6e
fix
2 years ago
ocornut
0359f6e94f
Internals: ImDrawList: shallow tweaks to RenderText().
2 years ago