Commit Graph

  • 5053d79a24 Tables: Internal: rework so stacked headers height may be used. ocornut 2023-10-09 20:35:57 +02:00
  • b9ebb8e06f Tables: fixed right-clicking right-most section (past right-most column) from highlighting right-most column. ocornut 2023-10-10 16:13:29 +02:00
  • feddcf3030 Combo: amends for ImGuiComboFlags_WidthFitPreview. (#6881) ocornut 2023-10-09 11:34:05 +02:00
  • 112d8fc41d Combo: added ImGuiComboFlags_WidthFitPreview. (#6881) mpv-enjoyer 2023-10-09 11:24:52 +02:00
  • 001f102f38 IO, Backends: added ImGuiKey_AppBack, ImGuiKey_AppForward. (#6891, #4921) ocornut 2023-10-05 21:26:07 +02:00
  • 7bbd758681 Backends: Win32: revert oops chunk. ocornut 2023-10-05 20:58:25 +02:00
  • b0758c86d8 Backends: Added support for extra ImGuiKey values: F13 to F24 function keys. (#6891, #4921) ocornut 2023-10-05 20:39:49 +02:00
  • 73346e4341 IO: Add extra keys to ImGuiKey enumerator: ImGuiKey_F13 to ImGuiKey_F24. (#6891, #4921) Andon M. Coleman 2023-10-03 19:00:25 -04:00
  • 0312a29e4c ImageButton(): clarify purpose of size. (#6901, #5533, #4471, #2464, #1390). ocornut 2023-10-05 18:51:45 +02:00
  • 1107bffe84 Popups: clarified meaning of 'p_open != NULL' in BeginPopupModal() + set back user value to false when popup is closed in ways other than clicking the close button. (#6900) ocornut 2023-10-05 17:45:31 +02:00
  • 72ebd91567 Merge branch 'master' into docking ocornut 2023-10-05 15:10:45 +02:00
  • 2c07d581de TreeNode: Added ImGuiTreeNodeFlags_SpanAllColumns for use in tables. (#3151, #3565, #2451, #2438) ocornut 2023-10-05 14:53:33 +02:00
  • 085ed7bfbe Drag and Drop: Rework drop target highlight. (#4281, #3272) ocornut 2023-10-05 14:13:27 +02:00
  • 0dd756bceb Moved GetCursorScreenPos/SetCursorScreenPos on top of its section. ocornut 2023-10-05 13:52:28 +02:00
  • a63e2f0a33 Drag and Drop: Fixed submitting a tooltip from drop target location. Added demo. ocornut 2023-10-05 12:06:40 +02:00
  • 64b1aeebf5 Backends: OpenGL3: rename gl3w's loader symbols to allow LTO compilation with another copy of gl3w. (#6875, #6668, #4445) Nicolas "Pixel" Noble 2023-09-28 20:09:01 -07:00
  • 28b237f94d Separator(): Altered end-points to use more standard boundaries. (#205, #4787, #1643, #759) ocornut 2023-10-03 15:26:35 +02:00
  • 330d763477 Separator: clarified setting the ImGuiSeparatorFlags_SpanAllColumns flag. (#759) ocornut 2023-10-02 15:31:55 +02:00
  • 9064dbd404 Backends: DX9: Fixed incorrect assert triggering on reopening session with minimized windows. (#3424) ocornut 2023-10-02 15:24:39 +02:00
  • a61438740d Debug Tools: Metrics: Added "Show groups rectangles" in tools. ocornut 2023-10-02 15:01:42 +02:00
  • d27b4ad366 Backends: GLFW: support for case where secondary viewport WndProc is not the same as main viewport one. (#6889) ocornut 2023-10-02 12:09:13 +02:00
  • 17bfafda55 Backends: GLFW: moved WndProc hook to bottom of file + rename a field. (#6889) ocornut 2023-10-02 12:07:55 +02:00
  • ff534b0d0a Docking: Fixed a bug where ClassId compare tests (when using SetNextWindowClass) on success would prevent further filter from running. (#6882) ocornut 2023-10-02 10:56:50 +02:00
  • f8aed6499f Debug Tools: Rename ShowIdStackToolWindow() -> ShowIDStackToolWindow(). (#4631) ocornut 2023-09-27 19:49:12 +02:00
  • 701a047ac0 Fonts: Fix clang compiling warning & error with freetype + lunasvg (#6873, #6842, #6591) DKing 2023-09-29 01:33:27 +08:00
  • 03e2a7f584 Debug Tools: Rename ShowIdStackToolWindow() -> ShowIDStackToolWindow(). (#4631) ocornut 2023-09-27 20:07:58 +02:00
  • c21278eeae Debug Tools: Rename ShowIdStackToolWindow() -> ShowIDStackToolWindow(). (#4631) ocornut 2023-09-27 19:49:12 +02:00
  • b7c250925f Merge branch 'master' into docking ocornut 2023-09-27 18:21:39 +02:00
  • 2f431a948c IO: removed io.MetricsActiveAllocations introduced in 1.63. Same as 'g.DebugMemAllocCount - g.DebugMemFreeCount' (still displayed in Metrics. ocornut 2023-09-27 17:34:23 +02:00
  • f1519efb16 BeginGroup(): fix/amend 9ece0bd. ocornut 2023-09-27 17:25:55 +02:00
  • 456aa3bc0a Menus: Fixed a bug where activating an item in a child-menu and dragging mouse over the parent-menu would erroneously close the child-menu. (#6869) ocornut 2023-09-27 16:34:31 +02:00
  • 9ece0bdc02 BeginGroup(): Fixed a bug pushing line lower extent too far down when called after a call to SameLine() followed by manual cursor manipulation. ocornut 2023-09-26 21:07:25 +02:00
  • 8175a47881 Debug Tools: Renamed ShowStackToolWindow() ("Stack Tool") to ShowIdStackToolWindow() ("ID Stack Tool"). (#4631) ocornut 2023-09-26 15:21:55 +02:00
  • 204ae8a407 Internals: added ImRect::ContainsWithPad() ocornut 2023-09-26 14:16:41 +02:00
  • bb2fb74645 Merge branch 'master' into docking ocornut 2023-09-26 11:37:38 +02:00
  • 94da5842ef Renamed ImFloor() to ImTrunc(). Renamed ImFloorSigned() to ImFloor(). (#6861) ocornut 2023-09-26 11:04:45 +02:00
  • c418685315 Fixed window inner clipping rectangle off by one when window is located on a monitor with negative coordinates. (#6861, #2884) ocornut 2023-09-25 20:45:34 +02:00
  • e5ca5351d5 TabBar: Fixed position of unsaved document marker (ImGuiTabItemFlags_UnsavedDocument) which was accidentally offset in 1.89.9. (#6862) ocornut 2023-09-25 20:40:01 +02:00
  • 72ae6f5200 Fixed MousePosPrev with has never been valid outside of NewFrame(). ocornut 2023-09-25 14:41:48 +02:00
  • 12ee2dd789 Backends: Win32: Synthesize key-down event on key-up for VK_SNAPSHOT / ImGuiKey_PrintScreen as Windows doesn't emit it. (#6859) ocornut 2023-09-25 10:58:29 +02:00
  • d4869207e3 Misc: Most text functions also treat "%.*s" (along with "%s") specially to avoid formatting. (#3466, #6846) ocornut 2023-09-25 10:47:28 +02:00
  • f4790f6f66 BeginItemTooltip: Rename flag in comment (#6853) Glordim 2023-09-22 17:52:50 +02:00
  • daf49e9d82 Made ImFileOpen reuse a memory buffer so .ini saving doesn't allocate once every time. Added commented out MemAlloc/MemFree debug log. ocornut 2023-09-22 14:41:30 +02:00
  • 2c0007731f Docking: fixed calling DockContextCalcDropPosForDocking() with window in node without passing its node. ocornut 2023-09-20 17:27:55 +02:00
  • 61acb34e32 Docking: Fixed an issue leading to incorrect restoration of selected tab in dock nodes that don't carry the currently focused window. (#2304) ocornut 2023-09-20 14:43:01 +02:00
  • 3ce6b06feb Merge branch 'master' into docking ocornut 2023-09-20 12:53:35 +02:00
  • d6360c1ba9 Fonts, imgui_freetype: Fixed a warning and leak in IMGUI_ENABLE_FREETYPE_LUNASVG support. (#6842, #6591) ocornut 2023-09-20 11:31:28 +02:00
  • 6c022f9bf1 IO, Inputs: rename SetMousePos() to TeleportMousePos(). (#6837, #228) ocornut 2023-09-18 17:11:10 +02:00
  • ff36fe365e IO, Inputs: setting io.WantSetMousePos ignores incoming MousePos events. (#6837, #228) ocornut 2023-09-18 17:07:35 +02:00
  • ef8ff1b5d8 TabBar, Style: added style.TabBarBorderSize and associated ImGuiStyleVar_TabBarBorderSize. (#6820, #4859, #5022, #5239) ocornut 2023-09-18 15:22:10 +02:00
  • 64b1e448d2 TabBar, Style: added style.TabBarBorderSize and associated ImGuiStyleVar_TabBarBorderSize. (#6820, #4859, #5022, #5239) ocornut 2023-09-18 15:22:10 +02:00
  • ac3bc73c13 Docking: Fixed node tab-bar not having a filled value for tab-bar which is required for claiming moue wheel ownership in (unenabled) ImGuiTabBarFlags_FittingPolicyScroll mode. ocornut 2023-09-18 14:32:23 +02:00
  • afd0d3fca1 Docking: made ImGuiDockNodeFlags_NoUndocking public. (#2999, #6823, #6780, #3492) ocornut 2023-09-18 12:41:18 +02:00
  • 72d760ba00 Docking: (Breaking) renamed ImGuiDockNodeFlags_NoDockingInCentralNode -> ImGuiDockNodeFlags_NoDockingOverCentralNode, ImGuiDockNodeFlags_NoSplit -> ImGuiDockNodeFlags_NoDockingSplit. ocornut 2023-09-18 12:09:00 +02:00
  • f693c3d806 Docking: made "ImGuiDockNodeFlags_NoDocking" a combination of all others ImGuiDockNodeFlags_NoDockingXXX flags. (#2999, #6823, #6780, #3492) ocornut 2023-09-15 20:29:27 +02:00
  • 7e246a7bb9 Merge branch 'master' into docking ocornut 2023-09-16 13:51:51 +02:00
  • 6addf28c4b Fonts: Ensure calling AddFontXXX function doesn't invalidates ImFont's ConfigData pointers prior to building again. (#6825) ocornut 2023-09-16 13:40:35 +02:00
  • 1612813114 Docking: Internals: added ImGuiDockNodeFlags_NoUndocking. (#2999, #6823, #6780) ocornut 2023-09-15 20:15:13 +02:00
  • 14f8b76c1a Docking: Comments. Removed misleading shared/local identicators. (#6823, #2999) ocornut 2023-09-15 19:49:53 +02:00
  • b101cf46b6 ListBox, Combo: Changed signature of "name getter" callback in old one-liner ListBox()/Combo() apis. ocornut 2023-09-15 18:43:04 +02:00
  • 8a2cd81091 TypingSelect: always enable nav highlight. ocornut 2023-09-15 16:58:06 +02:00
  • 223b19f116 Fixed warning when builidng with IMGUI_DISABLE_DEBUG_TOOLS. ocornut 2023-09-14 18:37:30 +02:00
  • 779568bb38 TypingSelect: tidy up some more + split ino functions to make reuse simpler. ocornut 2023-09-14 18:26:43 +02:00
  • 661a70fc79 TypingSelect: fast switch between characters in + debug, internal renames. ocornut 2023-09-14 17:13:13 +02:00
  • 32171a8b0c Fonts: Better assert during load when passing truncated font data or wrong data size. (#6822) ocornut 2023-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. ocornut 2023-09-12 20:40:06 +02:00
  • c86ce70968 Internal: Nav,MultiSelect: import ImGuiSelectionUserData, SetNextItemSelectionUserData() from MultiSelect. Track NavLastValidSelectionUserData as a convenience. ocornut 2023-09-12 16:48:00 +02:00
  • f336e639e9 TypingSelect: rework GetTypingSelectRequest(), provide TypingSelectFindResult(). ocornut 2023-09-12 12:40:09 +02:00
  • 9714594c35 Tooltips: made using SetItemTooltip()/IsItemHovered(ImGuiHoveredFlags_ForTooltip) defaults to activate tooltips on disabled items.. (#1485) ocornut 2023-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. ocornut 2023-09-11 20:40:39 +02:00
  • bed492da70 Tables: amend support for auto-resize. (#6807) ocornut 2023-09-11 20:38:40 +02:00
  • 556a1397a9 Tables: Remove comment referencing removed field SortSign (#6807) Dexter Castor Döpping 2023-09-11 17:26:53 +02:00
  • 3aceb61059 Tables: Request user to submit contents when outer host-window is requesting auto-resize. (#6510) ocornut 2023-09-11 17:16:01 +02:00
  • da21b74313 Tables: Fixed subtle drawing overlap between borders in some situations. (#2957, #6765) ocornut 2023-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. ocornut 2023-09-11 15:02:49 +02:00
  • a34071876f Tables: Fixed bottom-most and right-most outer border offset by one. (#6765, #3752) ocornut 2023-09-11 14:44:52 +02:00
  • 357f752bed Docs: add more links to the top of every examples and backends files. ocornut 2023-09-11 13:47:08 +02:00
  • b9ab6e2019 Nav: Tabbing always enable nav highlight when ImGuiConfigFlags_NavEnableKeyboard is set. (#6802, #3092, #5759, #787) ocornut 2023-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) ocornut 2023-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) ocornut 2023-09-11 10:04:18 +02:00
  • 72dbe45adc Merge branch 'master' into docking ocornut 2023-09-08 18:02:06 +02:00
  • 0962c9fb72 TypingSelect: Added first version of GetTypingSelectRequest() API. ocornut 2023-09-08 17:16:19 +02:00
  • 7812039402 ImVector: Added find_index() helper. ocornut 2023-09-08 15:30:46 +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() ocornut 2023-09-08 12:14:11 +02:00
  • becd75676f Commented out obsolete redirecting function: GetWindowContentRegionWidth(). ocornut 2023-09-08 11:27:59 +02:00
  • 727c462069 Internals: Added ImTextFindPreviousUtf8Codepoint() helper + comments. ocornut 2023-09-08 11:08:14 +02:00
  • c9d3c29aa3 Backend: Win32: support keyboard codepage conversion for when compiling in MBCS mode and creating a non-Unicode window. (#6785, #6782, #5725) sneakyevil 2023-09-05 13:20:48 +02:00
  • e3d9b875c9 ImDrawList: added PathEllipticalArcTo(), AddEllipse(), AddEllipseFilled(). (#2743) Leonardo Serrano 2019-08-22 21:50:02 -07:00
  • fa2e5710ac MenuBar: Fixed an issue where layouting an item in the menu-bar would erroneously egister contents size. (#6789) ocornut 2023-09-06 12:39:39 +02:00
  • 56a7b8b724 Backends: GLFW: Clear emscripten's MouseWheel callback before shutdown. (#6790, #6096, #4019) Deal 2023-09-06 17:41:19 +08:00
  • d8ef864b02 InputTextMultiline: Fixed a crash pressing Down on last empty line of a multiline buffer. (#6783, #6000) ocornut 2023-09-06 11:28:14 +02:00
  • cf1c4a0cb1 BeginListBox(): fixed not consuming SetNextWindowXXX data when returning false. ocornut 2023-09-05 16:47:00 +02:00
  • fb9b006865 Version 1.90 WIP ocornut 2023-09-05 16:45:17 +02:00
  • f24387fa2b Version 1.89.9 (fixed changelog header) ocornut 2023-09-04 17:21:09 +02:00
  • c4dc8fd101 Docs: Update FONTS.md (#6781, #6632, #6339, #5763, #5330, #2234, #2042, #1259, #951, #220) omar 2023-09-05 10:54:04 +02:00
  • c6e0284ac5 Fixed minor warning. v1.89.9 ocornut 2023-09-04 15:16:55 +02:00
  • 1d8e48c161 Using range-based for where it makes sense. (#4537) v1.89.9-docking ocornut 2023-09-04 15:13:12 +02:00
  • a1b60fc1f5 Merge branch 'master' into docking ocornut 2023-09-04 14:59:59 +02:00
  • fef3389157 Version 1.89.9 ocornut 2023-09-04 14:22:39 +02:00
  • 7b5fb33296 Tables: Internals: renamed CellPaddingY to RowCellPaddingY. ocornut 2023-09-04 12:13:37 +02:00