8a2cd81091
TypingSelect: always enable nav highlight.
ocornut2023-09-15 16:58:06 +02:00
223b19f116
Fixed warning when builidng with IMGUI_DISABLE_DEBUG_TOOLS.
ocornut2023-09-14 18:37:30 +02:00
779568bb38
TypingSelect: tidy up some more + split ino functions to make reuse simpler.
ocornut2023-09-14 18:26:43 +02:00
661a70fc79
TypingSelect: fast switch between characters in + debug, internal renames.
ocornut2023-09-14 17:13:13 +02:00
32171a8b0c
Fonts: Better assert during load when passing truncated font data or wrong data size. (#6822)
ocornut2023-09-14 14:40:19 +02:00
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.
ocornut2023-09-12 20:40:06 +02:00
c86ce70968
Internal: Nav,MultiSelect: import ImGuiSelectionUserData, SetNextItemSelectionUserData() from MultiSelect. Track NavLastValidSelectionUserData as a convenience.
ocornut2023-09-12 16:48:00 +02:00
f336e639e9
TypingSelect: rework GetTypingSelectRequest(), provide TypingSelectFindResult().
ocornut2023-09-12 12:40:09 +02:00
9714594c35
Tooltips: made using SetItemTooltip()/IsItemHovered(ImGuiHoveredFlags_ForTooltip) defaults to activate tooltips on disabled items.. (#1485)
ocornut2023-09-12 11:55:34 +02:00
6eb2681c09
Internals: InitOrLoadWindowSettings() clear Size again for better data nuking in tests. Debug Log: added ImGuiDebugLogFlags_OutputToTestEngine flag.
ocornut2023-09-11 20:40:39 +02:00
bed492da70
Tables: amend support for auto-resize. (#6807)
ocornut2023-09-11 20:38:40 +02:00
3aceb61059
Tables: Request user to submit contents when outer host-window is requesting auto-resize. (#6510)
ocornut2023-09-11 17:16:01 +02:00
da21b74313
Tables: Fixed subtle drawing overlap between borders in some situations. (#2957, #6765)
ocornut2023-09-11 15:32:25 +02:00
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.
ocornut2023-09-11 15:02:49 +02:00
a34071876f
Tables: Fixed bottom-most and right-most outer border offset by one. (#6765, #3752)
ocornut2023-09-11 14:44:52 +02:00
357f752bed
Docs: add more links to the top of every examples and backends files.
ocornut2023-09-11 13:47:08 +02:00
b9ab6e2019
Nav: Tabbing always enable nav highlight when ImGuiConfigFlags_NavEnableKeyboard is set. (#6802, #3092, #5759, #787)
ocornut2023-09-11 12:10:37 +02:00
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)
ocornut2023-09-11 11:41:56 +02:00
bd63a9f056
Fonts: 'float size_pixels' passed to AddFontXXX() functions is now rounded to lowest integer. (#3164, #3309, #6800)
ocornut2023-09-11 10:04:18 +02:00
0962c9fb72
TypingSelect: Added first version of GetTypingSelectRequest() API.
ocornut2023-09-08 17:16:19 +02:00
44a6b493ee
Commented out obsolete ImDrawCornerFlags_XXX. Commented out runtime support for hardcoded ~0 or 0x01..0x0F rounding flags values for AddRect()/AddRectFilled()/PathRect()/AddImageRounded()
ocornut2023-09-08 12:14:11 +02:00
becd75676f
Commented out obsolete redirecting function: GetWindowContentRegionWidth().
ocornut2023-09-08 11:27:59 +02:00
c9d3c29aa3
Backend: Win32: support keyboard codepage conversion for when compiling in MBCS mode and creating a non-Unicode window. (#6785, #6782, #5725)
sneakyevilandocornut2023-09-05 13:20:48 +02:00
fa2e5710ac
MenuBar: Fixed an issue where layouting an item in the menu-bar would erroneously egister contents size. (#6789)
ocornut2023-09-06 12:39:39 +02:00
7b5fb33296
Tables: Internals: renamed CellPaddingY to RowCellPaddingY.
ocornut2023-09-04 12:13:37 +02:00
bdc4dfebf5
Tables: Amend support for cross-cell SameLine() for first column. Amend 9a93fb5 + 8f5ce73.
ocornut2023-09-04 12:10:31 +02:00
9a93fb5716
Tables: Fixed support for cross-cell SameLine() by preserving Line Y1 position. Amend 8f5ce73.
ocornut2023-09-04 11:55:32 +02:00
e8a5c9e1b8
Tables: Made it possible to change style.CellPadding.y between rows. Added demo.
ocornut2023-09-04 11:20:20 +02:00
3816d478df
ImDrawList: small debug-mode optimization when calling AddRect() without rounding + Selectable: small debug-mode optimization.
ocornut2023-09-01 15:18:28 +02:00
08b3a1a34a
ImDrawList: Automatically calling ChannelsMerge() if not done after a split.
ocornut2023-08-30 15:22:36 +02:00
f93d0befaf
Slider: fixed support for ImGuiItemFlags_ReadOnly/ImGuiSliderFlags_ReadOnly although it is technically unused/undocumented. (#6758)
ocornut2023-08-29 12:11:07 +02:00
981abb4612
Examples: Emscripten+webgpu: Fixed WGPUInstance creation process + use preferred framebuffer format. (#6640, #6748)
wushiyangandocornut2023-08-24 16:04:50 +08:00
4a81424492
CloseButton, CollapseButton: don't include FramePadding into size. Use ItemInnerSpacing.x between title bar buttons. (#6749)
ocornut2023-08-25 14:02:31 +02:00
b41811a68c
CollapseButton: handle clipping better + align circle like in docking branch.
ocornut2023-08-25 13:54:18 +02:00
ba1fa904a9
IO: Exposed io.PlatformLocaleDecimalPoint to configure decimal point ('.' or ','). (#6719, #2278)
ocornut2023-08-17 13:11:30 +02:00
a1a7a1bc03
InputFloat, SliderFloat, DragFloat: always turn both '.' and ',' into the current decimal point character. (#6719, #2278)
ocornut2023-08-17 13:02:56 +02:00
a6857ede03
IO: fix writing to incorrect union section for MouseSource in AddMousePosEvent and AddMouseButtonEvent. (#6727, #2702)
Rick Huangandocornut2023-08-16 15:18:02 +00:00
c06c796242
TreeNode: added note about ImGuiTreeNodeFlags_Bullet.
ocornut2023-08-15 16:09:49 +02:00
d2c7cbcbf9
Misc: Made multiple calls to Render() during the same frame early out faster.
ocornut2023-08-14 16:23:04 +02:00
ac64b65634
Render: draw dimmed background earlier to match docking code. (#6716)
ocornut2023-08-14 16:16:39 +02:00
8f5ce73140
Tables: Made it possible to use SameLine(0,0) after TableNextColumn() or TableSetColumnIndex() in order to reuse line height from previous cell.
ocornut2023-08-14 13:02:44 +02:00
bc3c0ce772
Nav, TreeNode: Pressing Left with ImGuiTreeNodeFlags_NavLeftJumpsBackHere now goes through proper navigation logic: honor scrolling and selection. (#1079, #1131)
ocornut2023-08-08 14:03:58 +02:00
edebb90a9a
Demo: amend/fix for MinGW
ocornut2023-08-07 18:25:56 +02:00
4d6fbaff11
Demo: define standard PRI names we use (if missing) instead of defininig IM_PRId64, IM_PRIu64.
ocornut2023-08-07 15:23:59 +02:00
226923fa7e
Metrics: Fixed "Drawlists" section and per-viewport equivalent appearing empty (regression from c649aca).
ocornut2023-08-06 20:30:07 +02:00
2b1fc6f765
Demo: Demonstrate out-of-order rendering using ImDrawListSplitter.
ocornut2023-08-06 20:13:05 +02:00
cf3726bcbc
Internals: rename bg/fg drawlist holders in structs to reduce confusion.
ocornut2023-08-06 19:46:27 +02:00
52587c28d6
ImDrawList: Fixed OOB access in _CalcCircleAutoSegmentCount when passing excessively large radius to AddCircle(). (#6657, #5317)
EggsyCROandocornut2023-07-27 21:56:18 +02:00
1109de3827
Tooltips: fixed ImGuiHoveredFlags_ForTooltip conflicting with ImGuiHoveredFlags_NoNavOverride since 10c7709f. (#6622, #1485)
ocornut2023-07-20 22:59:15 +02:00
db66e33e9e
Tables: fixed GetContentRegionAvail().y report not taking account of lower cell padding or of using ImGuiTableFlags_NoHostExtendY. (#6619)
ocornut2023-07-20 12:22:28 +02:00
2bc5d17ac3
Tables: fixed calculation of multi-instance shared decoration/scrollbar width of scrolling tables. (#5920, #6619)
ocornut2023-07-20 10:31:39 +02:00
e5977f05d8
Backends: GLFW: revert support for GLFW_CURSOR_DISABLED, let user use ImGuiConfigFlags_NoMouse. (#5625, #6609)
scorpion-26andocornut2023-07-18 11:45:52 +02:00
d342ec10cc
Overlap, IsItemHovered: clarification on using IsItemHovered() on a non-reactive item after a reactive overlappable one. (#6610)
ocornut2023-07-18 11:18:43 +02:00