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
ocornut
279db55840
Updated stb_rect_pack.h from 1.00 to 1.01. ( #5075 )
(our STBRP__CDECL change was merged)
3 years ago
jakubtomsu
3deb92c2c5
Add IMGUI_STB_SPRINTF_FILENAME to support custom stb_printf.h include path ( #5068 , #2954 )
3 years ago
thedmd
4691fa0ed5
ImDrawList: PthArcTo: Add small tolerance when comparing angles ( #4993 )
3 years ago
ocornut
88de982071
Version 1.88 WIP
3 years ago
ocornut
97b1abd6dd
Internals: rework RenderMouseCursor() signature so we can use it in docking branch more naturally.
3 years ago
ocornut
c71a50deb5
Version 1.87
3 years ago
Clownacy
422902dbda
Correct typos ( #4954 , #4955 ), use IM_STATIC_ASSERT now that old pre-C++11 macro has been obsoleted.
3 years ago
ocornut
075f4ac661
Don't merge ImDrawCmd which have had their IdxOffset changed to not be sequential. Fixed CTRL+Tab into an empty window causing artefacts on the highlight rectangle due to bad reordering on ImDrawCmd.
This is bit of a weird edge case adding weight to ImDrawCmd merging, if we could rework the mess in RenderDimmedBackgroundBehindWindow() we may be able to undo some of that.
3 years ago
Jonathan Hoffstadt
83d22f4e48
Tables, ImDrawListSplitter: Fixed erroneously stripping trailing ImDrawList::AddCallback().( #4843 , #4844 )
3 years ago
ocornut
89a28209e8
Version 1.87 WIP + Backends: OpenGL3: Fixed a buffer overflow in imgui_impl_opengl3_loader.h init, added in 1.86 ( #4468 , #4830 )
3 years ago
ocornut
512c54bbc0
Version 1.86
3 years ago
ocornut
d7350668d1
Fix OSX warnings + Examples/Apple+GL2 calls super reshape. ( #4759 , #1873 )
3 years ago
SlavicPotato
f71ee5203e
Fix infinite loop in ImFontGlyphRangesBuilder::AddRanges if the user passes upper range = UINT16_MAX without IMGUI_USE_WCHAR32. ( #4802 )
3 years ago
ocornut
270d4d0855
Nav, Docking: Fix crash on dimming docked window and DockSpaceOverViewport() with PassthruCentralNode.
(amend 1dc3af3
, 23ef6c1
, 657073a
)
# Conflicts:
# imgui.cpp
3 years ago
ocornut
5b1a70aa2d
Fixed RenderRectFilledWithHole() (used by docking) + added dummy EndFrameDrawDimmedBackgrounds() stub in master.
The round corner flag change in 033dfd9d
forgot to default to _None.
3 years ago
ocornut
3fde445b91
Misc: Added missing ImGuiMouseCursor_NotAllowed cursor for software rendering (when io.MouseDrawCursor is enabled). ( #4713 )
3 years ago
ocornut
e3bd9434b1
1.86 WIP + internals: tweaks table temp data code.
3 years ago
ocornut
55d35d8387
Version 1.85
3 years ago
ocornut
4a7c21d330
Fonts: Fixed ImFontAtlas::ClearInputData() marking atlas as not built. ( #4455 , #3487 )
3 years ago
ocornut
0649f750b4
Version 1.85 WIP
3 years ago
ocornut
d2ffbd9b86
Version 1.84
Fix PVS Studio false positive //-V1020
Fix missing #ifndef for IMGUI_IMPL_OPENGL_LOADER_CUSTOM path
3 years ago
thedmd
cb00972b87
ImDrawList: Fix AddCircle{Filled} with 12 segment case ( #4419 , #4421 )
3 years ago
ocornut
327a5d8253
Fix warning + apply trailing whitespaces in stb_ libs (as applied on nothings/stb on 2020/02/02, facilitating further diffs)
3 years ago
ocornut
23a15834fa
Fonts: Fix calling ClearTexData() (clearing CPU side font data) triggering an assert in NewFrame(). ( #3487 ) + Backends: added additional assert to facilitate detecting user understand they haven't initialized a backend.
3 years ago
ocornut
b5a2bd1a5b
Backends: amends to 1db1066 + merge minor bits from docking incl SetActiveIdUsingNavAndKeys().
No need to clear fields before deletion. DX12: renamed to match docking branch.
3 years ago