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
ocornut
ccf94e2e6e
Strip seemingly unecessary tests, as UTF-8 decoder can not return null since 9cca1b2e9
2 years ago
ocornut
1297a2be52
Text: Tweaked rendering of three-dots "..." ellipsis variant. Baking more data. ( #2775 , #4269 )
Ideally we're bake a single glyph but it's currently difficult to setup in our font building process.
2 years ago
ocornut
482ac70a0b
Version 1.89.3 WIP
2 years ago
vaiorabbit
a218d3a824
Update information in ImFontAtlas::GetGlyphRangesJapanese ( #6066 )
Co-authored-by: vaiorabbit <vaiorabbit>
2 years ago
ocornut
d7c8516a4b
Version 1.89.2
2 years ago
ocornut
844e0ae688
Fixes/amend 9825f7f
+ amend Changelog ( #4857 , #5937 )
2 years ago
ocornut
9825f7fa87
Fixed cases where CTRL+Tab or Modal can occasionally lead to the creation of ImDrawCmd with zero triangles. ( #4857 , #5937 )
Amend b0a6cd6
2 years ago
ocornut
bd96f6eac4
Text: Fixed layouting of wrapped-text block when the last source line is above the clipping region. Regression added in 1.89. ( #5720 , #5919 )
+ Update version marker
2 years ago
ocornut
a8df192df0
Version 1.89.1
2 years ago
ocornut
5bb2874940
Version 1.89.1 WIP
2 years ago
ocornut
81160fee56
Version 1.89
+ fix warning from a582d92
2 years ago
ocornut
3920b1c764
Removed commented out old flags from when Tables was a branch.
ImGuiTableFlags_ColumnsWidthFixed, ImGuiTableFlags_ColumnsWidthStretch,
ImGuiTableFlags_SizingPolicyFixed, ImGuiTableFlags_SizingPolicyStretch
ImGuiTableColumnFlags_WidthAuto
2 years ago
ocornut
f2a522d70d
ImDrawList: Not using alloca() anymore, lift single polygon size limits. ( #5704 , #1811 )
2 years ago
Andrew D. Zonenberg
e74a50f525
Added GetGlyphRangesGreek() helper for Greek & Coptic glyph range. ( #5676 , #5727 )
2 years ago
ocornut
e0330c1696
Fonts, Text: Fixed wrapped-text not doing a fast-forward on lines above the clipping region. ( #5720 )
which would result in an abnormal number of vertices created.
2 years ago
ocornut
4d4889bf1b
Refactor CalcWordWrapPositionA() to take on the responsability of minimum character display. Add CalcWordWrapNextLineStartA(), simplify caller code.
Should be no-op but incrementing IMGUI_VERSION_NUM just in case.
Preparing for #5720
2 years ago
ocornut
56c3eaed20
ImDrawList: asserting on incorrect value for CurveTessellationTol ( #5713 )
2 years ago
ocornut
2736af6b61
Minor optimization of ImFontAtlasBuildMultiplyRectAlpha8() + README tweaks.
2 years ago
ocornut
24dfe6db8a
Version 1.89 WIP
2 years ago
ocornut
9aae45eb4a
Version 1.88
(fix "Show Debug Log" checkbox in Metrics window)
2 years ago
thedmd
507a87354b
DrawList: Circles disappear when using a radius < 0.5f ( #3491 )
Amend 051ce0765e
3 years ago
ocornut
9e0517a134
DrawList: Fixed divide-by-zero or glitches with Radius/Rounding values close to zero. ( #5249 , #5293 , #3491 )
Amend 8ed34af6f8
3 years ago
ocornut
2747a8ca40
Turned ImVec2 to const ref to RenderChar(), RenderText(), ColorButton(), PushClipRect(). for consistency. Comments about polygon filling winding order.
3 years ago
cfillion
7d7bf993bb
ImDrawList: Fix texture-based anti-aliasing with RGBA textures ( #5132 , #3245 )
When using an Alpha8 font texture, GetTexDataAsRGBA32 converts 0x00 to transparent white.
When using a RGBA32 font texture, ImFontAtlasBuildRenderLinesTexData was writing transparent black.
3 years ago
ocornut
fd06ed833b
Misc: tweaks + fix warnings on backends withtout -wno-memaccess ( #4995 , #5104 )
3 years ago