ocornut
d6360c1ba9
Fonts, imgui_freetype: Fixed a warning and leak in IMGUI_ENABLE_FREETYPE_LUNASVG support. ( #6842 , #6591 )
1 year ago
ocornut
ff36fe365e
IO, Inputs: setting io.WantSetMousePos ignores incoming MousePos events. ( #6837 , #228 )
Allow easily implementing wrapping behaviors.
1 year ago
ocornut
ef8ff1b5d8
TabBar, Style: added style.TabBarBorderSize and associated ImGuiStyleVar_TabBarBorderSize. ( #6820 , #4859 , #5022 , #5239 )
Cherry-picked from docking's 64b1e44
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
b101cf46b6
ListBox, Combo: Changed signature of "name getter" callback in old one-liner ListBox()/Combo() apis.
1 year ago
ocornut
32171a8b0c
Fonts: Better assert during load when passing truncated font data or wrong data size. ( #6822 )
1 year ago
ocornut
c32db3c72b
Tables: Fixed an edge-case when no columns are visible + table scrollbar is visible + user code is always testing return value of TableSetColumnIndex() to coarse clip.
1 year ago
ocornut
c86ce70968
Internal: Nav,MultiSelect: import ImGuiSelectionUserData, SetNextItemSelectionUserData() from MultiSelect. Track NavLastValidSelectionUserData as a convenience.
1 year ago
ocornut
9714594c35
Tooltips: made using SetItemTooltip()/IsItemHovered(ImGuiHoveredFlags_ForTooltip) defaults to activate tooltips on disabled items.. ( #1485 )
1 year ago
ocornut
3aceb61059
Tables: Request user to submit contents when outer host-window is requesting auto-resize. ( #6510 )
1 year ago
ocornut
da21b74313
Tables: Fixed subtle drawing overlap between borders in some situations. ( #2957 , #6765 )
1 year ago
ocornut
5a483c2ffb
Tables: Fixed top-most outer border being drawn with both TableBorderLight and TableBorderStrong in some situations, causing the earlier to be visible underneath when alpha is not 1.0f.
1 year ago
ocornut
a34071876f
Tables: Fixed bottom-most and right-most outer border offset by one. ( #6765 , #3752 )
1 year ago
ocornut
357f752bed
Docs: add more links to the top of every examples and backends files.
1 year ago
ocornut
b9ab6e2019
Nav: Tabbing always enable nav highlight when ImGuiConfigFlags_NavEnableKeyboard is set. ( #6802 , #3092 , #5759 , #787 )
1 year ago
ocornut
0e1ce76ea8
InputTextMultiline: Fixed Tabbing cycle leading to a situation where Enter key wouldn't be accepted by the widget when navigation highlight is visible. ( #6802 , #3092 , #5759 , #787 )
+ Added test in ImGuiTestSuite: "widgets_inputtext_multiline_enter"
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
7812039402
ImVector: Added find_index() helper.
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
ocornut
becd75676f
Commented out obsolete redirecting function: GetWindowContentRegionWidth().
1 year ago
sneakyevil
c9d3c29aa3
Backend: Win32: support keyboard codepage conversion for when compiling in MBCS mode and creating a non-Unicode window. ( #6785 , #6782 , #5725 )
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
fa2e5710ac
MenuBar: Fixed an issue where layouting an item in the menu-bar would erroneously egister contents size. ( #6789 )
In dire need of removing BeginGroup()/EndGroup() from menu-bar code, fo r sanity.
1 year ago
Deal
56a7b8b724
Backends: GLFW: Clear emscripten's MouseWheel callback before shutdown. ( #6790 , #6096 , #4019 )
1 year ago
ocornut
d8ef864b02
InputTextMultiline: Fixed a crash pressing Down on last empty line of a multiline buffer. ( #6783 , #6000 )
Amend 57a5b73a4c
1 year ago
ocornut
cf1c4a0cb1
BeginListBox(): fixed not consuming SetNextWindowXXX data when returning false.
1 year ago
ocornut
fb9b006865
Version 1.90 WIP
1 year ago
ocornut
f24387fa2b
Version 1.89.9 (fixed changelog header)
1 year ago
omar
c4dc8fd101
Docs: Update FONTS.md ( #6781 , #6632 , #6339 , #5763 , #5330 , #2234 , #2042 , #1259 , #951 , #220 )
1 year ago
ocornut
fef3389157
Version 1.89.9
1 year ago
ocornut
e8a5c9e1b8
Tables: Made it possible to change style.CellPadding.y between rows. Added demo.
1 year ago
ocornut
303dc091b4
Revert "IO: ImGuiMod_Shortcut (Ctrl/Cmd depending on platform) is reflected in io.KeyMods. ( #5923 , #456 )"
This reverts commit b8f93a8fe0
. Too breaking for user.
1 year ago
ocornut
b8f93a8fe0
IO: ImGuiMod_Shortcut (Ctrl/Cmd depending on platform) is reflected in io.KeyMods. ( #5923 , #456 )
1 year ago
ocornut
a066074054
Clipper: Fixed a bug if attempt to force-include a range which matches an already included range. ( #3841 )
1 year ago
ocornut
bdd9b96fa3
Demo: Reorganized "Examples" menu. Tweak Property Editor.
1 year ago
ocornut
08b3a1a34a
ImDrawList: Automatically calling ChannelsMerge() if not done after a split.
Ties fixing f422e78
in docking: iterating root windows was incorrect. Will be faster to lazily merge in RenderDimmedBackground() rather than iterate all.
1 year ago
ocornut
33ea1e8b78
ColorEdit, ColorPicker: Manipulating options popup don't mark item as edited. ( #6722 )
1 year ago
ocornut
f617fe7890
Clipper: Renamed IncludeRangeByIndices()/ForceDisplayRangeByIndices() to IncludeItemsByIndex(). ( #6424 , #3841 )
Single item version added in prevous commit (2000537
) renamed to IncludeItemByIndex() too.
1 year ago
ocornut
200053771a
Clipper: Added IncludeIndex() helper to include a single item. ( #6424 , #3841 )
1 year ago
omar
4a7810e992
Update README.md
1 year ago
wushiyang
981abb4612
Examples: Emscripten+webgpu: Fixed WGPUInstance creation process + use preferred framebuffer format. ( #6640 , #6748 )
1 year ago
ocornut
4a81424492
CloseButton, CollapseButton: don't include FramePadding into size. Use ItemInnerSpacing.x between title bar buttons. ( #6749 )
1 year ago
ocornut
ba1fa904a9
IO: Exposed io.PlatformLocaleDecimalPoint to configure decimal point ('.' or ','). ( #6719 , #2278 )
Amend 13f718337
1 year ago
ocornut
a1a7a1bc03
InputFloat, SliderFloat, DragFloat: always turn both '.' and ',' into the current decimal point character. ( #6719 , #2278 )
1 year ago
Rick Huang
a6857ede03
IO: fix writing to incorrect union section for MouseSource in AddMousePosEvent and AddMouseButtonEvent. ( #6727 , #2702 )
Technically may have had no side-effects unless non-standard alignment used.
1 year ago
ocornut
1e17d59965
Backends: SDL2,SDL3: added ImGui_ImplSDL2_InitForOther() / ImGui_ImplSDL3_InitForOther().
e.g. WebGPU users use a similarly named functions from GLFW backend.
1 year ago
ocornut
d2c7cbcbf9
Misc: Made multiple calls to Render() during the same frame early out faster.
1 year ago
ocornut
ac64b65634
Render: draw dimmed background earlier to match docking code. ( #6716 )
Amend f422e78
1 year ago
ocornut
8f5ce73140
Tables: Made it possible to use SameLine(0,0) after TableNextColumn() or TableSetColumnIndex() in order to reuse line height from previous cell.
1 year ago
ocornut
bc3c0ce772
Nav, TreeNode: Pressing Left with ImGuiTreeNodeFlags_NavLeftJumpsBackHere now goes through proper navigation logic: honor scrolling and selection. ( #1079 , #1131 )
Added a stack for this purpose which other features might build on (e.g. #2920 ). However this is currently gated by many tests and not a performance concern, but making stack happen all the time may be undesirable.
1 year ago