6cdedf5834
Drag, Sliders: if the format string doesn't contain any %, when using CTRL+Click to input we use a default format. (#6405)
ocornut2023-05-09 12:04:04 +02:00
70cca1eac0
Backends: avoid null dereference in metal and osx shutdown (#6385, #6334)
d3ad2f357f
Menus: Fixed an issue when opening a menu hierarchy in a given menu-bar would allow opening another via simple hovering. (#3496, #4797)
ocornut2023-04-25 12:17:37 +02:00
b47507951e
Nav: Fixed CTRL+Tab into a root window with only childs with _NavFlattened flags erroneously initializing default nav layer to menu layer.
ocornut2023-04-24 20:59:36 +02:00
eed7b0e9c5
Nav: remove other-axis clamping, now that columns themselves are clamped. (#2221)
ocornut2023-04-24 20:03:29 +02:00
da3d7e1587
Focus: added an early out in FocusWindow() for the common case.
ocornut2023-04-24 12:18:55 +02:00
4d42450a73
Focus: amend ImGuiFocusRequestFlags_UnlessBelowModal to bring to front-most below the modal, simplify code in Begin(). (#6357, #4317)
ocornut2023-04-21 18:09:48 +02:00
01ca196530
Focus: move focused child restore code in FocusWindow() with ImGuiFocusRequestFlags_RestoreFocusedChild flag. (#6357)
ocornut2023-04-21 17:46:41 +02:00
30eceaf95f
Focus: start moving modal check into FocusWindow(), add ImGuiFocusRequestFlags_UnlessBelowModal (currently opt-in, should try to make opt-out). (#6357, #4317)
ocornut2023-04-21 17:30:05 +02:00
f0fe1957a8
Focus: merge extra param for FocusTopMostWindowUnderOne() from docking branch to facilitate merge.
ocornut2023-04-21 19:05:58 +02:00
00d3f9295e
Nav: Fixed navigation within tables/columns where item boundaries goes beyond columns limits. (#2221)
ocornut2023-04-20 16:24:14 +02:00
8d9e50c807
Nav: fixed IMGUI_DEBUG_NAV_SCORING not setting NavMoveClipDir, leading to debug result not matching real results.
ocornut2023-04-20 14:53:55 +02:00
662ce46971
Debug Log: Fixed not parsing 0xXXXXXXXX values when the identifier is at the end of the line.
ocornut2023-04-20 14:52:59 +02:00
a89590b425
Backends: Win32: revert accidental deletion of ImGui_ImplWin32_EnableAlphaCompositing() in a566ecc (#3218)
ocornut2023-04-20 10:38:45 +02:00
0948cfc19e
InputText: do not set WantTextInputNextFrame during the frame InputText is deactivated. (#6341)
lukaasmandocornut2023-04-17 19:37:36 +02:00
e49d31a1c9
Tables: do not show empty tooltip when user submits TableHeader with no label to display. (#6342)
lukaasmandocornut2023-04-17 23:02:36 +02:00
ba98667c65
Examples: Vulkan: further work for device extensions + tentative use o fVK_KHR_PORTABILITY_SUBSET_EXTENSION_NAME. (#6109, #6172, #6101)
ocornut2023-04-13 15:57:28 +02:00
6324280432
Examples: Vulkan: rework extensions setup + enable some to avoid validation layer errors. (#6109, #6172, #6101)
ocornut2023-04-13 13:39:28 +02:00
995f92a456
Nav: Made PageUp/PageDown/Home/End navigation also scroll parent windows.
ocornut2023-04-12 21:07:28 +02:00
d81f2ae4fb
Backends: WebGPU: Use WGSL shaders instead of precompiled SPIR-V + add Gamma uniform. (#6188)
Elie Michelandocornut2023-02-24 00:14:31 +01:00
8738ed88f0
Fixed FindWindowSettingsByID() being able to return a deleted setting.
ocornut2023-04-06 17:16:05 +02:00
47a07d8476
ButtonBehavior: Fixed an edge case where changing widget type/behavior while active and using same id could lead to an assert. (#6304)
ocornut2023-04-04 21:43:48 +02:00
5f301914a0
TabBar: Tab-bars with ImGuiTabBarFlags_FittingPolicyScroll can be scrolled with horizontal mouse-wheel (or Shift + WheelY). (#2702)
ocornut2023-03-29 17:09:16 +02:00
84fd0c7ff4
Inputs, IO: record MouseWheelRequestAxisSwap information. Apply in UpdateMouseWheel() before legacy ctrl+wheel.
ocornut2023-03-29 17:06:44 +02:00
a38e3c222f
Fixed ImVec2 operator[] violating aliasing rules causing issue with Intel C++ compiler. (#6272)
ocornut2023-03-29 12:42:51 +02:00
f65bcf481a
Docs: added details and link to wiki from imgui_stdlib to increase discoverability.
ocornut2023-03-23 19:03:17 +01:00
7dcf129b3b
Backends: OpenGL3: Properly restoring "no shader program bound". (#6267, #6220, #6224)
ocornut2023-03-23 13:27:29 +01:00
821814b450
InputText: Reworked prev/next-word behavior . Include period as delimiter and tweak prev/next words logic. (#6067)
AJ Weeksandocornut2023-03-22 20:27:17 +01:00
89d09070e3
Nav: Made Ctrl+Tab/Ctrl+Shift+Tab windowing register ownership to held modifier. (#4828, #3255, #5641)
ocornut2023-03-22 15:42:14 +01:00
c98bad042d
ColorEdit, RadioButton, Windows: Using adaptative tesselation for preview circles.
ocornut2023-03-21 17:38:32 +01:00
5a2b1e8482
InputText: Fixed a tricky edge case, ensuring value is always written back on the frame where IsItemDeactivated() returns true (#4714)
ocornut2021-12-08 20:54:04 +01:00
552969e33e
BeginTooltip: correctly testing return value of BeginTooltipEx() even though it always return true in current code.
ocornut2023-03-14 14:28:41 +01:00
c426e32247
Tables: Fixed an issue where user's Y cursor movement within a hidden column would have side-effects.
ocornut2023-03-13 16:23:45 +01:00
6ca1556d02
Nav: Fixed SetItemDefaultFocus() from not scrolling when item is partially visible. (#2814, #2812)
domghoandocornut2019-09-29 12:29:48 +02:00
bb224c8aa1
Examples: Updated all examples application to enable ImGuiConfigFlags_NavEnableKeyboard and ImGuiConfigFlags_NavEnableGamepad by default.
ocornut2023-03-10 18:35:03 +01:00
2bb9e35a48
Nav: Tabbing now cycles through all items when ImGuiConfigFlags_NavEnableKeyboard is set. (#3092, #5759, #787)
ocornut2023-03-09 18:53:20 +01:00
e83fb468c6
Renamed PushAllowKeyboardFocus()/PopAllowKeyboardFocus() to PushTabStop()/PopTabStop(). (#3092)
ocornut2023-03-09 17:31:06 +01:00
a322122f74
InputText: Fixed not being able to use CTRL+Tab while an InputText() using Tab for completion or textinput is active.
ocornut2023-03-09 16:21:44 +01:00
3b2f617652
BeginTooltip: Added 'bool' return value to BeginTooltip() for API consistency. Updated demo.
ocornut2023-03-09 14:59:19 +01:00
b5f9381036
Made internal clipboard/IME handlers not rely on implicit GImGui context (#5856)
ocornut2023-03-08 16:21:25 +01:00
c8ad25caa6
Make classes not depend on the implicit GImGui context (#5856, #6199): ImGuiWindow, ImGuiInputTextCallbackData, ImGuiListClipper, ImGuiStackSizes
Marc Delormeandocornut2023-03-08 15:12:00 +01:00
5a1e6b60a2
Nav: Fixed an issue with Gamepad navigation when the movement lead to a scroll and frame time > repeat rate. (#6171)
ocornut2023-03-08 14:03:58 +01:00
c9a53aa74d
Nav: Made Enter key submit the same type of Activation event as Space key. (#5606)
ocornut2023-03-07 18:38:05 +01:00
b4b79584d1
Internals: added GetStyleVarInfo(). exposed previously .cpp only ImGuiStyleVarInfo as ImGuiDataVarInfo.
ocornut2023-03-07 14:40:25 +01:00
66b762577c
Backends: OpenGL3: Fixed restoration of a potentially deleted OpenGL program. (#6220, #6224)
Cyphallandocornut2023-03-05 02:43:21 +01:00
bfce7750b1
Simpified code in GetKeyData() and used ImGuiKey_KeysData_OFFSET for consistency. Rework demo, Comments. Moved ImGuiKey_KeysData_OFFSET to internal.h (#4921, #6191)
ocornut2023-02-24 12:34:44 +01:00