4380 Commits (718fa0eec6dd6e6fbe6c139cebc2f1e23cd4861b)

Author SHA1 Message Date
ocornut 5f301914a0 TabBar: Tab-bars with ImGuiTabBarFlags_FittingPolicyScroll can be scrolled with horizontal mouse-wheel (or Shift + WheelY). (#2702) 2 years ago
ocornut 84fd0c7ff4 Inputs, IO: record MouseWheelRequestAxisSwap information. Apply in UpdateMouseWheel() before legacy ctrl+wheel. 2 years ago
ocornut 89d09070e3 Nav: Made Ctrl+Tab/Ctrl+Shift+Tab windowing register ownership to held modifier. (#4828, #3255, #5641) 2 years ago
ocornut e55a0ef107 IO: avoid changing context in AddKeyAnalogEvent(). Amend 7269498. (#6199, #6256, #4921, #5856) 2 years ago
cfillion 7269498ecc IO: actually fixed adding events from inactive context (#6199, #6256, #4921, #5856) 2 years ago
ocornut 5a2b1e8482 InputText: Fixed a tricky edge case, ensuring value is always written back on the frame where IsItemDeactivated() returns true (#4714) 3 years ago
ocornut 314e6443c9 Internals: removed ImGuiInputSource_Nav enum, 2 years ago
ocornut 24a44b9abe Version 1.89.5 WIP 2 years ago
ocornut f3f6295d53 Version 1.89.4 2 years ago
ocornut cc2177de15 Debug Tools: Added io.ConfigDebugBeginReturnValueOnce / io.ConfigDebugBeginReturnValueLoop options. 2 years ago
ocornut 552969e33e BeginTooltip: correctly testing return value of BeginTooltipEx() even though it always return true in current code. 2 years ago
domgho 6ca1556d02 Nav: Fixed SetItemDefaultFocus() from not scrolling when item is partially visible. (#2814, #2812) 5 years ago
ocornut 2bb9e35a48 Nav: Tabbing now cycles through all items when ImGuiConfigFlags_NavEnableKeyboard is set. (#3092, #5759, #787) 2 years ago
ocornut e83fb468c6 Renamed PushAllowKeyboardFocus()/PopAllowKeyboardFocus() to PushTabStop()/PopTabStop(). (#3092) 2 years ago
ocornut a322122f74 InputText: Fixed not being able to use CTRL+Tab while an InputText() using Tab for completion or textinput is active. 2 years ago
ocornut 3b2f617652 BeginTooltip: Added 'bool' return value to BeginTooltip() for API consistency. Updated demo. 2 years ago
ocornut b5f9381036 Made internal clipboard/IME handlers not rely on implicit GImGui context (#5856) 2 years ago
Marc Delorme c8ad25caa6 Make classes not depend on the implicit GImGui context (#5856, #6199): ImGuiWindow, ImGuiInputTextCallbackData, ImGuiListClipper, ImGuiStackSizes 2 years ago
Marc Delorme 10ace228bc Make classes not depend on the implicit GImGui context (#6199, #5856, #6199): ImGuiIO 2 years ago
ocornut 5a1e6b60a2 Nav: Fixed an issue with Gamepad navigation when the movement lead to a scroll and frame time > repeat rate. (#6171) 2 years ago
ocornut c9a53aa74d Nav: Made Enter key submit the same type of Activation event as Space key. (#5606) 2 years ago
ocornut b4b79584d1 Internals: added GetStyleVarInfo(). exposed previously .cpp only ImGuiStyleVarInfo as ImGuiDataVarInfo. 2 years ago
ocornut b6586bb06d TestEngine: update IMGUI_TEST_ENGINE_ITEM_ADD() hooks to support passing item in flags. 2 years ago
ocornut 1c29a8ed18 Debug Log: auto-disable ImGuiDebugLogFlags_EventClipper to reduce spam. 2 years ago
ocornut bfce7750b1 Simpified code in GetKeyData() and used ImGuiKey_KeysData_OFFSET for consistency. Rework demo, Comments. Moved ImGuiKey_KeysData_OFFSET to internal.h (#4921, #6191) 2 years ago
ocornut e9743d85dd Drag and Drop: Clear state on EndDragDropTarget() with delivery + fixed handling of overlapping targets when smaller one is submitted before and can accept the same data type. (#6183, #5817) 2 years ago
Giuseppe Barbieri 2ee77aa6be
Missing closing parenthesis in debug popup log (#6177) 2 years ago
ocornut a1b8457cb5 Moved the optional "courtesy maths operators" (#define IMGUI_DEFINE_MATH_OPERATORS) implementation from imgui_internal.h in imgui.h. (#6164, #6137, #5966, #2832) 2 years ago
ocornut 204cb4d226 Version 1.89.4 WIP 2 years ago
ocornut 458a109031 Version 1.89.3 2 years ago
ocornut f0ac68ad35 Internal: Settings: amend 0b86513 revert to use FindWindowSettingsByID(). 2 years ago
ocornut 082b20e46b Internals: Settings: added ClearWindowSettings(). Extract part of CreateNewWindow() into InitOrLoadWindowSettings(). 2 years ago
ocornut b2ebd03b16 Internals: Settings: moved Windows setting to their sub-section. 2 years ago
ocornut 0b865136e3 Internals: Settings: Added FindWindowSettingsByName() (replacing old version by ID) FindWindowSettingsByWindow() + remove unnecessary FindOrCreateWindowSettings(). 2 years ago
ocornut 99c0bd65df Added SeparatorText() widget. (#1643) 2 years ago
ocornut fac19e1883 Backends: SDL2:+SDL3 Implement SetPlatformImeDataFn (amends). (#6071, #1953) + fix SDL3 setting PlatformHandleRaw. (#6146) 2 years ago
ocornut e816bc6723 Merge misc changes from docking branch to reduce small drift. 2 years ago
ocornut 1b27ac982f Backends+Examples: SDL2: renamed imgui_impl_sdl.cpp/.h to imgui_impl_sdl2.cpp/.h. (#6146) 2 years ago
ocornut d6ea56dfd9 Tables: amend f799a29 with a better solution + fix potential overflow (#6140) 2 years ago
ocornut 3617a96372 Backends, Inputs: Made horizontal scroll wheel and horizontal scroll direction consistent accross backends/os. (#4019, #6096, #1463) 2 years ago
nahkhiir 2efebe3315 ShowFontAtlas, Demo: optionally use style text color for tint. (#6129) 2 years ago
ocornut 27f2dd56d6 Internals: move "%s" skip-formatting logic to ImFormatStringToTempBuffer() function, meaning Text() and all the *V() functions can also benefit from it. (#3466) 2 years ago
ocornut 5741cbae45 Internals: ImFileOpen: fixed misleading use of ImWchar (would allocate more when ImWchar=ImWchar32) + update version for previous changes namely tab bar ones. 2 years ago
ocornut 07490618ae Misc: Tolerate zero delta-time under Emscripten. (#6114, #3644) 2 years ago
ocornut 3d8885cbbd TabBar: Internals: add GetCurrentTabBar(), TabBarFindTabByOrder(), TabBarGetCurrentTab(), TabBarGetTabOrder(), TabBarGetTabName(), TabBarQueueFocus() + clear LastTabItemIdx on EndTabBar(). (#5853, #5997) 2 years ago
ocornut 739a79b1e9 ImDrawList: Added missing early-out in AddPolyline() and AddConvexPolyFilled() when color alpha is zero. Window: Avoid rendering shapes for hidden resize grips. 2 years ago
ocornut ccf94e2e6e Strip seemingly unecessary tests, as UTF-8 decoder can not return null since 9cca1b2e9 2 years ago
ocornut 55b8ce9b23 Reword ImTextCharFromUtf8() to avoid a warning + marked UTF-8 functions with IM_MSVC_RUNTIME_CHECKS_OFF. (#5987) 2 years ago
ocornut 1297a2be52 Text: Tweaked rendering of three-dots "..." ellipsis variant. Baking more data. (#2775, #4269) 2 years ago
ocornut 8801f02949 Text: Fix clipping of single-character "..." ellipsis when font is scaled. (#2775 2 years ago