ocornut
|
0647ba3bad
|
Merge branch 'master' into docking
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_osx.h
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl.cpp
# backends/imgui_impl_win32.cpp
|
2022-01-13 18:36:23 +01:00 |
|
ocornut
|
200a8f1ea2
|
Backends: GLFW: Update mouse inputs using glfwSetCursorPosCallback() (breaking) + fallback to provide it when focused but not hovered/captured + update MousePos before MouseButtons.
+ Allegro5 remove unnecessary clear.
|
2022-01-12 17:48:47 +01:00 |
|
ocornut
|
98ce013242
|
Backends: SDL: Update mouse inputs using SDL_MOUSEMOTION/SDL_WINDOWEVENT_LEAVE + fallback to provide it when focused but not hovered/captured + update MousePos before MouseButtons.
|
2022-01-12 17:48:47 +01:00 |
|
ocornut
|
bf4de2a46b
|
Backends: Win32: Update mouse inputs using WM_MOUSEMOVE/WM_MOUSELEAVE + fallback to provide it when focused but not hovered/captured + update MousePos before Key Modifiers.
|
2022-01-12 17:48:46 +01:00 |
|
ocornut
|
7f8a89c25c
|
Backends: Win32, SDL: maintain MouseButtonsDown instead of using IsAnyMouseDown(). Internals: added GetInputSourceName().
|
2022-01-12 16:12:10 +01:00 |
|
Liu Liu
|
457d4b7b72
|
Backends: OSX: Adedd basic IME support for macOS. (#3108, #2598)
|
2022-01-12 14:37:05 +01:00 |
|
Théo Monnom
|
0818a42396
|
Backend: WebGPU: Fixed incorrect size parameters in WGPU backend (#4891)
+ squash SDL alignment bits.
|
2022-01-12 14:16:55 +01:00 |
|
ocornut
|
acfc7798fd
|
Rename io.AddKeyModEvent() -> io.AddKeyModsEvent() and updated backends accordingly. (#2625, #4858)
Amend 790132a (breaking)
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_sdl.cpp
# backends/imgui_impl_win32.cpp
|
2022-01-10 17:01:07 +01:00 |
|
ocornut
|
e8172fdfbc
|
Rename io.AddKeyModEvent() -> io.AddKeyModsEvent() and updated backends accordingly. (#2625, #4858)
Amend 790132a (breaking)
|
2022-01-10 17:00:32 +01:00 |
|
ocornut
|
ef681e7019
|
Merge branch 'master' into docking
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# backends/imgui_impl_osx.h
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl.cpp
# backends/imgui_impl_sdl.h
# backends/imgui_impl_win32.cpp
# backends/imgui_impl_win32.h
# imgui.cpp
|
2022-01-10 15:24:21 +01:00 |
|
thedmd
|
fe646ea591
|
Backends: SDL2: Update to use io.AddEventKey() will full key map (#2625, #4858) + created localized key (using keycode instead of scancode) (#456)
Legacy indexing stills uses Scancode
|
2022-01-10 15:12:58 +01:00 |
|
ocornut
|
bf08c13e9b
|
Inputs: Extra Keys / AddKeyEvent(): bidirectional mapping, basic CI, simplify backends, asserts on misuses, tested backward compat. (#2625, #4858, #2787)
(edit: simplified backends merged into previous commits to make history clearer)
|
2022-01-10 15:09:56 +01:00 |
|
ocornut
|
afffcd5810
|
Inputs: rename ImGuiKey_KeyPadEnter > ImGuiKey_KeypadEnter (#2625)
|
2022-01-06 14:25:56 +01:00 |
|
ocornut
|
100ede5764
|
Backends: GLFW: Fix CTRL+A, CTRL+Y, CTRL+Z to match keyboard layout. Converting GLFW untranslated keycodes back to translated keycodes. (#456, #2625)
|
2022-01-05 16:57:50 +01:00 |
|
ocornut
|
704ab1114a
|
Merge branch 'master' into docking. Remove Platform_SetImeInputPos. Remove backend-side IME implementation. Rrevert removal of MouseDragMaxDistanceAbs in 206b9ea . (#2589, #3113)
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_sdl.cpp
# backends/imgui_impl_win32.cpp
# imgui.cpp
# imgui.h
# imgui_internal.h
# imgui_widgets.cpp
|
2022-01-05 14:30:20 +01:00 |
|
Liu Liu
|
de36ff043e
|
Platform IME: add ImGuiPlatformImeData::InputLineHeight (unused by win32). (#3113)
|
2022-01-05 13:47:21 +01:00 |
|
actboy168
|
29a8ee0826
|
Platform IME: add ImGuiPlatformImeData::WantVisible, hide IME when not used. (#2589)
|
2022-01-05 13:47:21 +01:00 |
|
ocornut
|
1cbfe93520
|
Platform IME: [windows] call ImmSetCandidateWindow() to position candidate window.
|
2022-01-05 13:47:21 +01:00 |
|
ocornut
|
3a90dc3893
|
Platform IME: changed io.ImeSetInputScreenPosFn() to io.SetPlatformImeDataFn() API.
Ref #2589, #2598, #3108, #3113, #3653, #4642
|
2022-01-05 13:47:20 +01:00 |
|
ocornut
|
efa50f72a7
|
Backends: Metal: Ignore ImDrawCmd where ElemCount == 0. (#4857)
|
2022-01-03 22:14:19 +01:00 |
|
ocornut
|
afb1180d7d
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
# imgui.h
|
2022-01-03 21:52:31 +01:00 |
|
ocornut
|
b0a6cd6305
|
Fixed a situation where CTRL+Tab or Modal can occasionally lead to the creation of ImDrawCmd with zero triangles, (#4857)
(2nd amend)
|
2022-01-03 21:45:20 +01:00 |
|
ocornut
|
2402958aec
|
Commented out redirecting functions/enums names that were marked obsolete in 1.69, 1.70, 1.71, 1.72
- ImGui::SetNextTreeNodeOpen() -> use ImGui::SetNextItemOpen()
- ImGui::GetContentRegionAvailWidth() -> use ImGui::GetContentRegionAvail().x
- ImGui::TreeAdvanceToLabelPos() -> use ImGui::SetCursorPosX(ImGui::GetCursorPosX() + ImGui::GetTreeNodeToLabelSpacing());
- ImFontAtlas::CustomRect -> use ImFontAtlasCustomRect
- ImGuiColorEditFlags_RGB/HSV/HEX -> use ImGuiColorEditFlags_DisplayRGB/HSV/Hex
|
2022-01-03 16:37:33 +01:00 |
|
Jonathan Hoffstadt
|
83d22f4e48
|
Tables, ImDrawListSplitter: Fixed erroneously stripping trailing ImDrawList::AddCallback().(#4843, #4844)
|
2021-12-30 22:03:52 +01:00 |
|
ocornut
|
9c8f288d1a
|
Viewports: Fixed a CTRL+TAB crash with viewports enabled (#4023, #787) (amend 1dc3af3 , 23ef6c1 , 657073a )
+ Expose FindHoveredViewportFromPlatformWindowStack() in imgui_internal.h
|
2021-12-30 21:46:09 +01:00 |
|
ocornut
|
2aa9959553
|
Merge branch 'master' into docking
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_opengl3.cpp
# docs/CHANGELOG.txt
|
2021-12-30 21:42:19 +01:00 |
|
luigifcruz
|
41e39ea6e1
|
Backends: Metal: Add Metal C++ bindings support. (#4824, #4746)
|
2021-12-30 15:04:03 +01:00 |
|
ocornut
|
89a28209e8
|
Version 1.87 WIP + Backends: OpenGL3: Fixed a buffer overflow in imgui_impl_opengl3_loader.h init, added in 1.86 (#4468, #4830)
|
2021-12-26 20:02:02 +01:00 |
|
ocornut
|
15b4a064f9
|
Merge branch 'master' into docking
# Conflicts:
# backends/imgui_impl_win32.cpp
# examples/example_marmalade/main.cpp
# imgui.cpp
# imgui.h
|
2021-12-22 16:02:04 +01:00 |
|
ocornut
|
512c54bbc0
|
Version 1.86
|
2021-12-22 15:31:13 +01:00 |
|
ocornut
|
612b787b0d
|
Menus: fixed top-level menu from not consistently using style.PopupRounding. (#4788)
+ Stack tool default size.
|
2021-12-21 15:05:10 +01:00 |
|
Sean Ridenour
|
4bad852a78
|
Backends: SDL_Renderer: Handle change to SDL_RenderGeometryRaw() function signature in SDL 2.0.19 (#4819)
|
2021-12-21 14:32:41 +01:00 |
|
ocornut
|
0636f9adac
|
InputText: fixed Shift+Delete from not cutting into clipboard. (#4818, #1541)
|
2021-12-20 19:45:58 +01:00 |
|
ocornut
|
d9bc1e44af
|
Backends: Marmalade: Removed obsolete Marmalade backend (imgui_impl_marmalade.cpp) + example. (#368, #375)
|
2021-12-20 19:29:41 +01:00 |
|
thedmd
|
0cdc4a9565
|
Backends: Win32: Store left/right variants of Ctrl/Shift/Alt mods in KeysDown[] array. (#2625)
Technically not much required yet but will be by extra-keys work. fix miscleared GLFW field for consistency (no effect)
|
2021-12-16 18:16:35 +01:00 |
|
ocornut
|
cd36acc88b
|
Merge branch 'master' into docking
# Conflicts:
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_osx.h
# backends/imgui_impl_osx.mm
# imgui.cpp
|
2021-12-15 12:10:03 +01:00 |
|
ocornut
|
389982eb5a
|
Backends: OpenGL3: Using buffer orphaning + glBufferSubData(), seems to fix leaks with multi-viewports with some Intel HD drivers.. (#4468, #4504, #2981, #3381)
|
2021-12-15 11:50:00 +01:00 |
|
ocornut
|
48f263336b
|
Menus: fixed closing a menu inside a popup/modal. Fixed menu inside a popup/modal not inhibiting hovering of items in the popup/modal. (#3496, #4797)
Fixed sub-menu items inside a popups from closing the popup (debatable).
|
2021-12-14 16:54:23 +01:00 |
|
Stuart Carnie
|
1b6b8602c1
|
Backends: OSX: Fix keyboard support. Handle scroll cancel. Don't set mouse cursor shape unconditionally. (#4759, #4253, #1873)
Note the original FIXME: refered to GLFWs Cocoa implementation, which is largely what this commit provides.
|
2021-12-13 11:56:43 +01:00 |
|
SlavicPotato
|
f71ee5203e
|
Fix infinite loop in ImFontGlyphRangesBuilder::AddRanges if the user passes upper range = UINT16_MAX without IMGUI_USE_WCHAR32. (#4802)
|
2021-12-13 11:35:59 +01:00 |
|
Stuart Carnie
|
b720f1f03c
|
Backends: OSX: Add Game Controller support. (#4759)
|
2021-12-13 11:25:59 +01:00 |
|
xndcn
|
8a9fe26866
|
Menus: fixed closing a menu by clicking on its menu-bar item when inside a popup. (#3496, #4797)
|
2021-12-10 18:58:41 +01:00 |
|
ocornut
|
747f7fdbba
|
Docking: prevent docking any window created above a popup/modal. (#4317)
|
2021-12-09 16:47:11 +01:00 |
|
ocornut
|
f605351307
|
Added an assertion for the common user mistake of using "" as an identifier at the root level of a window. (#1414, #2562, #2807, #4008, #4158, #4375, #4548, #4657, #4796)
#4158, #4375, #4548, #4657, #4796)
|
2021-12-09 15:38:44 +01:00 |
|
ocornut
|
c801799218
|
Added an assertion for the common user mistake of using "" as an identifier at the root level of a window. (#1414, #2562, #2807, #4008, #4158, #4375, #4548, #4657, #4796)
#4158, #4375, #4548, #4657, #4796)
|
2021-12-09 15:35:02 +01:00 |
|
ocornut
|
e31d116d37
|
Merge branch 'master' into docking
# Conflicts:
# backends/imgui_impl_opengl2.cpp
# imgui.cpp
# imgui_internal.h
|
2021-12-09 11:52:23 +01:00 |
|
ocornut
|
bdd2a94315
|
InputTextMultiline: fixed vertical tracking with large values of FramePadding.y. (#3781, #4794)
|
2021-12-09 11:30:42 +01:00 |
|
ocornut
|
072caa4a90
|
InputText: fixed incorrect padding when FrameBorder > 0. (#4794, #3781)
|
2021-12-09 11:25:58 +01:00 |
|
ocornut
|
a19815dc6b
|
Backends: Allegro5: Fixed mishandling of the ImDrawCmd::IdxOffset field. (#4790)
|
2021-12-08 16:34:57 +01:00 |
|
ocornut
|
c80e8b964c
|
Backends: OpenGL2, Marmalade: Fixed mishandling of the ImDrawCmd::IdxOffset field. (#4790)
|
2021-12-08 16:26:52 +01:00 |
|