mirror of
https://github.com/ocornut/imgui.git
synced 2026-06-09 21:38:19 +00:00
DrawList: added ImDrawListFlags_NoTextPixelSnap to disable snapping of AddText() coordinates for a given scope. (#3437, #9417, #2291)
This may evolve into a per-call ImDrawFlags option as well. + clip_rect.Max.y early out may be applied before truncation.
This commit is contained in:
@@ -50,15 +50,17 @@ Other Changes:
|
||||
- Clicking on a window's empty-space to move/focus a window checks
|
||||
for lack of queued focus request. (#9382)
|
||||
- InputText:
|
||||
- Added style.InputTextCursorSize to configure cursor/caret thickness. (#7031, #9409)
|
||||
This is automatically scaled by style.ScaleAllSizes().
|
||||
- Added `style.InputTextCursorSize` to configure cursor/caret thickness. (#7031, #9409)
|
||||
This is automatically scaled by `style.ScaleAllSizes()`.
|
||||
- Fonts:
|
||||
- Added `IMGUI_DISABLE_DEFAULT_FONT_BITMAP`/`IMGUI_DISABLE_DEFAULT_FONT_VECTOR` to
|
||||
disable embedding either fonts separately. (#9407)
|
||||
- Tweak CalcTextSize() awkward width rounding/ceiling code to reduce floating-point
|
||||
- Tweak `CalcTextSize()` awkward width rounding/ceiling code to reduce floating-point
|
||||
imprecisions altering the result by 1 even at relatively small width. (#791)
|
||||
- DrawList:
|
||||
- Minor optimization to AddLine(), AddLineH(), AddLineV() functions. (#4091)
|
||||
- Minor optimization to `AddLine()`, `AddLineH()`, `AddLineV()` functions. (#4091)
|
||||
- Added `ImDrawListFlags_NoTextPixelSnap` to disable snapping of AddText()
|
||||
coordinates for a given scope. (#3437, #9417, #2291)
|
||||
- Demo:
|
||||
- Extract 'Widgets->Tree Nodes->Selectable Nodes' out of the 'Advanced'
|
||||
demo for clarity (manual reimplementation of basic selection).
|
||||
|
||||
Reference in New Issue
Block a user