d17627b9c6
InputText: leave state->Flags uncleared for the purpose of backends emitting an on-screen keyboard for passwords. (#5724)
ocornut2022-09-28 17:38:41 +02:00
0a7054c7e4
Backends: Win32: Convert WM_CHAR values with MultiByteToWideChar() when window class was registered as MBCS (not Unicode). (#5725, #1807, #471, #2815, #1060)
ocornut2022-09-28 17:00:45 +02:00
a229a7f39f
Examples: Win32: Always use RegisterClassW() to ensure windows are Unicode. (#5725)
ocornut2022-09-28 16:57:09 +02:00
e0330c1696
Fonts, Text: Fixed wrapped-text not doing a fast-forward on lines above the clipping region. (#5720)
ocornut2022-09-28 14:54:38 +02:00
4d4889bf1b
Refactor CalcWordWrapPositionA() to take on the responsability of minimum character display. Add CalcWordWrapNextLineStartA(), simplify caller code.
ocornut2022-09-28 12:42:06 +02:00
5c4426c5b8
Demo: Fixed Log & Console from losing scrolling position with Auto-Scroll when child is clipped. (#5721)
ocornut2022-09-28 12:22:34 +02:00
12c0246890
Removed support for 1.42-era IMGUI_DISABLE_INCLUDE_IMCONFIG_H / IMGUI_INCLUDE_IMCONFIG_H. (#255)
ocornut2022-09-28 12:07:43 +02:00
73efcec564
Examples: disable GL related warnings on Mac + amend to ignore list.
ocornut2022-09-27 22:21:47 +02:00
a725db17b7
Comments for flags discoverability + add to debug log (#3795, #4559)
ocornut2022-09-27 18:47:20 +02:00
56c3eaed20
ImDrawList: asserting on incorrect value for CurveTessellationTol (#5713)
ocornut2022-09-27 14:24:21 +02:00
04316bd223
ColorEdit3: fixed id collision leading to an assertion. (#5707)
ocornut2022-09-26 16:32:09 +02:00
c261dac02f
Demo: moved ShowUserGuide() lower in the file, to make main demo entry point more visible + fix using IMGUI_DEBUG_LOG() macros in if/else.
ocornut2022-09-26 14:50:46 +02:00
51bbc70652
Backends: SDL: Disable SDL 2.0.22 new "auto capture" which prevents drag and drop across windows, and don't capture mouse when drag and dropping. (#5710)
ocornut2022-09-26 14:44:26 +02:00
7a9045dd77
Backends: WGPU: removed Emscripten version check (currently failing on CI, ensure why, and tbh its redundant/unnecessary with changes of wgpu api nowadays)
ocornut2022-09-26 11:55:07 +02:00
83a0030c0a
Added ImGuiMod_Shortcut which is ImGuiMod_Super on Mac and ImGuiMod_Ctrl otherwise. (#456)
ocornut2022-09-26 10:33:44 +02:00
fd408c9790
Renamed and merged keyboard modifiers key enums and flags into a same set:. ImGuiKey_ModXXX -> ImGuiMod_XXX and ImGuiModFlags_XXX -> ImGuiMod_XXX. (#4921, #456)
ocornut2022-09-22 18:58:33 +02:00
f359dca0dc
Misc input related changes to facilitate upcoming merges.
ocornut2022-09-22 18:42:00 +02:00
60ab8a94a7
InputText: fixed minor one-frame selection glitch when reverting with Escape + disable cursor rendering on revert frame. (#3008)
ocornut2022-09-20 15:34:05 +02:00
4b522e145c
Experiment: ImGuiKey is now a typed enum, allowing ImGuiKey_XXX symbols to be named in debuggers. (#4921, #4537)
ocornut2022-09-20 12:23:37 +02:00
5c8041b4d7
Update gif in README + font names in examples
ocornut2022-09-19 17:45:05 +02:00
2736af6b61
Minor optimization of ImFontAtlasBuildMultiplyRectAlpha8() + README tweaks.
ocornut2022-09-19 15:59:42 +02:00
1dd964f87d
Popups & Modals: Fix (amended) somehow undocumented Popup+Child behavior (useful for e.g. #718, #4461 and probably other things)
ocornut2022-09-16 22:25:20 +02:00
440f257688
Popups & Modals: fixed nested Begin() being erroneously input-inhibited. (useful for e.g. #718, #4461 and probably other things)
ocornut2022-09-16 22:08:11 +02:00
472f8013bd
Moved version number higher up in imgui.h to increase visibility
ocornut2022-09-16 22:07:03 +02:00
52d9ee0dc2
Tabs: Fixed ShrinkWidths() redistribution of remainder leading to infinite bug (second fix). (#5652, #5262)
ocornut2022-09-09 20:01:59 +02:00
3e6f948851
Tabs: Enforcing minimum size of 1.0f, fixed asserting on zero-tab widths. (#5572)
ocornut2022-09-07 12:42:42 +02:00
b137f31b8c
Tabs: Fixed ShrinkWidths() redistribution of remainder leading to infinite bug + over redistribution. (#5652)
ocornut2022-09-07 12:13:03 +02:00
2171375f93
InputText: clarified that callbacks cannot modify buffer when using the ReadOnly flag.
ocornut2022-09-06 14:33:02 +02:00
9e1ccf8fab
Commented out redirecting functions/enums names that were marked obsolete in 1.77 and 1.78 (June 2020): (#3361)
ocornut2022-09-05 14:38:00 +02:00
edcd5b113e
Obsoleted using SetCursorPos()/SetCursorScreenPos() to extend parent window/cell boundaries. (#5548)
ocornut2022-08-05 21:19:12 +02:00
5867a43dc8
Backends: GLFW: Honor GLFW_CURSOR_DISABLED by not setting mouse position. (#5625)
scorpion-26andocornut2022-09-01 20:44:50 +02:00
9445776d61
Nav: Fixed an issue opening a menu with Right key from a non-menu window.
ocornut2022-09-01 20:41:50 +02:00
a502ceb075
Added commented out older obsolete names (1.42 to 1.52)
ocornut2022-09-01 12:22:39 +02:00
2569c64740
Demo: Improved "Constrained-resizing window" example, more clearly showcase aspect-ratio. (#5627, #5618)
ocornut2022-09-01 10:51:15 +02:00
7f25143972
Better error reporting for PopStyleColor()/PopStyleVar() + easier to recover. (#1651)
ocornut2022-09-01 10:53:42 +02:00
747c9a7adf
IsKeyPressed(), IsMouseClicked(), GetKeyPressedAmount(): add a (normally unnecessary) test for ->Down next to ->DownDuration tests, facilitating the use of key eating mechanism.
ocornut2022-08-31 19:15:13 +02:00
4eb9066997
Clipper: extract code into a ImGuiListClipper_StepInternal() to facilitate debugging. Moved clipper End() call to outer layer, stopped heretic use of comma operator.
ocornut2022-08-23 14:33:29 +02:00
133bbafa3c
Platform IME: Windows: Fixed a call to ImmAssociateContextEx() leading to freeze on some setups. (#2589, #5535, #5264, #4972)
ocornut2022-08-05 20:26:51 +02:00
0e95cf0dec
Fix appending to windows causing a child window to be inserted to g.WindowsFocusOrder which eventually causes a crash. (#5515, #3496, #4797)
Rokas Kupstysandocornut2022-08-02 13:58:50 +03:00
e926a664d5
TabBar: Allow closing entire TabBar (possible docking only) when it contains user-appended buttons. (#5515)
Rokas Kupstysandocornut2022-08-01 16:39:38 +03:00
6ab5fd1da9
Tables,Columns: fixed a layout issue where SameLine() prior to a row change would set the next row in such state where subsequent SameLine() would move back to previous row.
ocornut2022-07-18 17:40:52 +02:00
8731cc2914
Examples: Vulkan: Add c++ version to CMakeLists (#5459)
1480bc5d4e
Added ImGuiKey_MouseXXX aliases. (#4921) Reworked SetItemUsingMouseWheel() to use this for ActiveId. (#2891)
ocornut2022-07-08 18:32:25 +02:00
105bb3ef8a
Legacy: clear g.ActiveIdUsingNavInputMask when active id is clear + Internals: added helpers GetKeyChordName(), ImGuiModFlags_All.
ocornut2022-07-08 17:44:19 +02:00
93f02ee0c6
Nav: Fixed moving window with gamepad or keyboard when running at very high framerate + removed ImGuiNavDirSourceFlags_RawKeyboard.
ocornut2022-07-06 16:06:31 +02:00
0b2da67912
Internals: clarified that GetInputTextState(0) can not return a pointer. Replaced a use of __APPLE__ with io.ConfigMacOSXBehaviors.
ocornut2022-07-04 10:16:38 +02:00
467a1cd4a5
Misc: io.Framerate moving average now converge in 60 frames instead of 120. (#5236, #4138)
ocornut2022-07-01 17:06:56 +02:00
609b935a8c
InputText: added experimental io.ConfigInputTextEnterKeepActive feature to make pressing Enter keep the input active and select all text.
ocornut2022-06-30 15:47:54 +02:00
088ddef98a
Tables: extracted some code into TableBeginContextMenuPopup() for easier reuse for appending into context menu.
ocornut2022-06-08 23:47:22 +02:00