Commit Graph

  • 3e8d198133 Removed runtime patching of obsolete/invalid "%f"/"%.0f" types of format strings for DragInt()/SliderInt(). ocornut 2022-10-12 23:07:15 +02:00
  • 5196bd15e9 Docs: Update outdated code sample (#5766) thedemons 2022-10-11 22:45:27 +07:00
  • edf522b58a Merge branch 'master' into docking + amends change to nullptr (#5760) ocornut 2022-10-11 15:59:23 +02:00
  • c54230d14e Backends: Using nullptr instead of NULL. (#5760, #4537) + fix additional warnings. ocornut 2022-10-11 12:22:29 +02:00
  • 8a44c31c95 Scrolling: Further reduce unrelease mouse-wheel locked window timer + misc refactor (#2604, #3795, #4559) ocornut 2022-10-06 14:42:22 +02:00
  • dfa1bb0ac7 Backends: OSX: Fixed mouse inputs on flipped views. (#5756) ocornut 2022-10-06 14:27:27 +02:00
  • cb04326b46 Fixed ImGuiWindowFlags_UnsavedDocument clipping label in docked windows with no close button. [changes for docking] (#5745) ocornut 2022-10-04 18:00:42 +02:00
  • 85a368b58d Fixed ImGuiWindowFlags_UnsavedDocument clipping label in docked windows with no close button. (#5745) ocornut 2022-10-04 18:00:42 +02:00
  • c7d3d22ae1 Scrolling: Mitigated issue where multi-axis mouse-wheel inputs (usually from touch pad events) are incorrectly locking scrolling in a parent window. (#4559, #3795, #2604) ocornut 2022-10-04 15:39:55 +02:00
  • 80a870a3e5 Scrolling: Tweak mouse-wheel locked window timer so it is shorter but also gets reset whenever scrolling again (#2604) + small refactor ocornut 2022-09-28 12:08:40 +02:00
  • 282b2b5afb Backends: Vulkan: Fix building with VK_NO_PROTOTYPES. (#914, #5738). ocornut 2022-10-04 12:30:45 +02:00
  • a588f00f7b Backends: Vulkan: Added experimental ImGui_ImplVulkan_RemoveTexture() for api symetry. (#914, #5738). ocornut 2022-10-04 12:02:48 +02:00
  • fb0b9c7160 Docking: Fixed missing highlight when using dock node host window borders. (#5702) ocornut 2022-10-03 14:55:22 +02:00
  • 5884219867 imgui_freetype: Assert if bitmap size exceed chunk size to avoid buffer overflow. (#5731) cfillion 2022-09-28 23:37:39 -04:00
  • f2a522d70d ImDrawList: Not using alloca() anymore, lift single polygon size limits. (#5704, #1811) ocornut 2022-09-30 15:43:27 +02:00
  • 69beaa1d0b Viewports: Fix AddMouseViewportEvent() to honor AppAcceptingEvents, filter duplicate, add to debug log. ocornut 2022-09-29 20:00:29 +02:00
  • d91211f9f2 Merge branch 'master' into docking ocornut 2022-09-29 22:02:23 +02:00
  • cc5058e5d7 IO: Filter duplicate input events during the AddXXX() calls. (#5599, #4921) ocornut 2022-09-29 21:59:32 +02:00
  • fac8295d6e IO: remove ImGuiInputEvent::IgnoredAsSame (revert part of 839c3100), will filter earlier in next commit. (#5599) ocornut 2022-09-29 21:31:36 +02:00
  • 9e7f460c09 Fixed GetKeyName() for ImGuiMod_XXX values, made invalid MousePos display in log nicer. (#4921, #456) ocornut 2022-09-29 20:42:45 +02:00
  • 0749453355 Menus, Nav: Fixed not being able to close a menu with Left arrow when parent is not a popup. (#5730) ocornut 2022-09-29 19:51:54 +02:00
  • 9f6aae3bf2 Nav: Fixed race condition pressing Esc during popup opening frame causing crash. ocornut 2022-09-29 19:48:27 +02:00
  • bd2355a047 Menus, Nav: Fixed using left/right navigation when appending to an existing menu (multiple BeginMenu() call with same names). (#1207) ocornut 2022-09-29 19:25:26 +02:00
  • 3532ed1621 Menus, Nav: Fixed keyboard/gamepad navigation occasionally erroneously landing on menu-item in parent when the parent is not a popup. (#5730) ocornut 2022-09-29 18:07:35 +02:00
  • d5d705069d Various comments ocornut 2022-09-29 17:26:52 +02:00
  • e74a50f525 Added GetGlyphRangesGreek() helper for Greek & Coptic glyph range. (#5676, #5727) Andrew D. Zonenberg 2022-09-28 08:19:34 -07:00
  • d17627b9c6 InputText: leave state->Flags uncleared for the purpose of backends emitting an on-screen keyboard for passwords. (#5724) ocornut 2022-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) ocornut 2022-09-28 17:00:45 +02:00
  • a229a7f39f Examples: Win32: Always use RegisterClassW() to ensure windows are Unicode. (#5725) ocornut 2022-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) ocornut 2022-09-28 14:54:38 +02:00
  • 4d4889bf1b Refactor CalcWordWrapPositionA() to take on the responsability of minimum character display. Add CalcWordWrapNextLineStartA(), simplify caller code. ocornut 2022-09-28 12:42:06 +02:00
  • 5c4426c5b8 Demo: Fixed Log & Console from losing scrolling position with Auto-Scroll when child is clipped. (#5721) ocornut 2022-09-28 12:22:34 +02:00
  • 12c0246890 Removed support for 1.42-era IMGUI_DISABLE_INCLUDE_IMCONFIG_H / IMGUI_INCLUDE_IMCONFIG_H. (#255) ocornut 2022-09-28 12:07:43 +02:00
  • 73efcec564 Examples: disable GL related warnings on Mac + amend to ignore list. ocornut 2022-09-27 22:21:47 +02:00
  • a725db17b7 Comments for flags discoverability + add to debug log (#3795, #4559) ocornut 2022-09-27 18:47:20 +02:00
  • 11f5be0caf Backends: OpenGL: Add ability to #define IMGUI_IMPL_OPENGL_DEBUG. (#4468, #4825, #4832, #5127, #5655, #5709) ocornut 2022-09-14 15:46:27 +02:00
  • 325299f942 Backends: OpenGL: Add ability to #define IMGUI_IMPL_OPENGL_DEBUG. (#4468, #4825, #4832, #5127, #5655, #5709) ocornut 2022-09-14 15:46:27 +02:00
  • 56c3eaed20 ImDrawList: asserting on incorrect value for CurveTessellationTol (#5713) ocornut 2022-09-27 14:24:21 +02:00
  • 04316bd223 ColorEdit3: fixed id collision leading to an assertion. (#5707) ocornut 2022-09-26 16:32:09 +02:00
  • 8f434874c0 Docking: Fixed incorrect focus highlight on docking node when focusing a menu. (#5702) ocornut 2022-09-26 15:24:44 +02:00
  • 6fd2ee9416 Merge branch 'master' into docking ocornut 2022-09-26 14:57:34 +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. ocornut 2022-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) ocornut 2022-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) ocornut 2022-09-26 11:55:07 +02:00
  • 1dc7d0e633 Merge branch 'master' into docking ocornut 2022-09-26 11:08:49 +02:00
  • 83a0030c0a Added ImGuiMod_Shortcut which is ImGuiMod_Super on Mac and ImGuiMod_Ctrl otherwise. (#456) ocornut 2022-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) ocornut 2022-09-22 18:58:33 +02:00
  • f359dca0dc Misc input related changes to facilitate upcoming merges. ocornut 2022-09-22 18:42:00 +02:00
  • 85f327d8d3 InputText: added ImGuiInputTextFlags_EscapeClearsAll (#5688) ocornut 2022-09-20 15:57:58 +02:00
  • 60ab8a94a7 InputText: fixed minor one-frame selection glitch when reverting with Escape + disable cursor rendering on revert frame. (#3008) ocornut 2022-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) ocornut 2022-09-20 12:23:37 +02:00
  • 5c8041b4d7 Update gif in README + font names in examples ocornut 2022-09-19 17:45:05 +02:00
  • 2736af6b61 Minor optimization of ImFontAtlasBuildMultiplyRectAlpha8() + README tweaks. ocornut 2022-09-19 15:59:42 +02:00
  • efe4a3722d Fix typo (#5691) Marc Auberer 2022-09-19 15:59:58 +02:00
  • 3af9ac320d Merge branch 'master' into docking ocornut 2022-09-17 00:25:42 +02:00
  • 1dd964f87d Popups & Modals: Fix (amended) somehow undocumented Popup+Child behavior (useful for e.g. #718, #4461 and probably other things) ocornut 2022-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) ocornut 2022-09-16 22:08:11 +02:00
  • 472f8013bd Moved version number higher up in imgui.h to increase visibility ocornut 2022-09-16 22:07:03 +02:00
  • 2b1d8e3eaf Fix more typos in sources and docs (#5681) tocic 2022-09-14 19:19:50 +03:00
  • 44e3ba115a Demo: moved "Mouse Cursors" section. moved "Filtering" section. ocornut 2022-09-14 20:13:15 +02:00
  • 673df61914 More compact README omar 2022-09-14 18:03:33 +02:00
  • 1816c5241b Examples: updated VS projects with .natvis file under imgui/ ocornut 2022-09-13 15:38:36 +02:00
  • e8178bf8a4 Update README.md omar 2022-09-14 12:14:37 +02:00
  • a0e1591ac2 Fix more typos (#5679) Javier Marín 2022-09-12 19:24:25 -03:00
  • 6c3c9cea7f Fix typos in source comments (#5675) tocic 2022-09-11 08:35:59 +03:00
  • 091445a4a9 Examples: added all SDL examples to VS solution. ocornut 2022-09-13 10:45:09 +02:00
  • 513c1ba996 Removed the bizarre legacy default argument for 'TreePush(const void* ptr = NULL)' (#1057) ocornut 2022-09-12 15:57:30 +02:00
  • 64b88da21b Merge branch 'master' into docking ocornut 2022-09-09 20:48:57 +02:00
  • cb48c81a44 Tabs: Fix initial tab state. Amend 3e6f948( (#5572) ocornut 2022-09-09 20:47:27 +02:00
  • 52d9ee0dc2 Tabs: Fixed ShrinkWidths() redistribution of remainder leading to infinite bug (second fix). (#5652, #5262) ocornut 2022-09-09 20:01:59 +02:00
  • caf4b7f1e6 Backends: SDL: Fixed building backend under non-OSX Apple targets (e.g. iPhone). (#5665) ocornut 2022-09-09 16:45:16 +02:00
  • 3e6f948851 Tabs: Enforcing minimum size of 1.0f, fixed asserting on zero-tab widths. (#5572) ocornut 2022-09-07 12:42:42 +02:00
  • b137f31b8c Tabs: Fixed ShrinkWidths() redistribution of remainder leading to infinite bug + over redistribution. (#5652) ocornut 2022-09-07 12:13:03 +02:00
  • 2171375f93 InputText: clarified that callbacks cannot modify buffer when using the ReadOnly flag. ocornut 2022-09-06 14:33:02 +02:00
  • 9e7c0f985f Fix typos in docs (#5649) tocic 2022-09-06 12:46:23 +03:00
  • b87e58fab3 ImGui::InputText: added support for shift+click style selection. (#5619) Constantine Tarasenkov 2022-08-28 20:12:44 +03:00
  • fe62927bd8 Backends: OpenGL: Update comments. (#4445, #5642, #4649) ocornut 2022-09-05 15:58:31 +02:00
  • 9e1ccf8fab Commented out redirecting functions/enums names that were marked obsolete in 1.77 and 1.78 (June 2020): (#3361) ocornut 2022-09-05 14:38:00 +02:00
  • aceab9a877 Obsoleted using SetCursorPos()/SetCursorScreenPos() to extend parent window/cell boundaries. (#5548) ocornut 2022-08-05 21:19:12 +02:00
  • edcd5b113e Obsoleted using SetCursorPos()/SetCursorScreenPos() to extend parent window/cell boundaries. (#5548) ocornut 2022-08-05 21:19:12 +02:00
  • bc2002ab92 Merge branch 'master' into docking ocornut 2022-09-01 20:53:36 +02:00
  • 5867a43dc8 Backends: GLFW: Honor GLFW_CURSOR_DISABLED by not setting mouse position. (#5625) scorpion-26 2022-09-01 20:44:50 +02:00
  • 9445776d61 Nav: Fixed an issue opening a menu with Right key from a non-menu window. ocornut 2022-09-01 20:41:50 +02:00
  • 03fc9a0b17 Menus: Fixed gaps in closing logic. (#5614) ocornut 2022-09-01 20:30:59 +02:00
  • b3ea01d86f Menus: Fix sub-menu inhibition stopping working in some cases. (Amend WIP) (#2517, #5614, noticed in #5546) Rokas Kupstys 2022-08-16 12:21:17 +03:00
  • a502ceb075 Added commented out older obsolete names (1.42 to 1.52) ocornut 2022-09-01 12:22:39 +02:00
  • 2569c64740 Demo: Improved "Constrained-resizing window" example, more clearly showcase aspect-ratio. (#5627, #5618) ocornut 2022-09-01 10:51:15 +02:00
  • 7f25143972 Better error reporting for PopStyleColor()/PopStyleVar() + easier to recover. (#1651) ocornut 2022-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. ocornut 2022-08-31 19:15:13 +02:00
  • e13913ed57 IsItemHovered: Added ImGuiHoveredFlags_DelayNormal, ImGuiHoveredFlags_DelayShort, ImGuiHoveredFlags_NoSharedDelay. (#1485) ocornut 2021-11-10 21:02:19 +01:00
  • 71a0701920 Nav: Fixed regression in e99c4fc preventing CTR+Tab to work without NavEnableKeyboard (#5504, #4023); ocornut 2022-08-24 14:41:57 +02:00
  • b3b3a07133 Nav: Fixed regression in e99c4fc preventing CTR+Tab to work without NavEnableKeyboard (#5504, #4023); ocornut 2022-08-24 14:41:57 +02:00
  • 2c1262b436 ImVector: fix undefined behaviour during copy operator if source vector is null. (#5608) Geoffrey McRae 2022-08-24 16:33:05 +10:00
  • db798fd5be Merge branch 'master' into docking ocornut 2022-08-23 18:41:24 +02:00
  • 72096bf698 Clipper: simplify code and remove cases where true is returned with empty display range as an extra step. ocornut 2022-08-23 15:38:47 +02:00
  • 07b9999de9 Debug Log: added 'Clipper' events logging. ocornut 2022-08-23 15:18:07 +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. ocornut 2022-08-23 14:33:29 +02:00
  • 21b5fac57a Backends: Metal: Update deprecated property 'sampleCount'->'rasterSampleCount' (#5603) David Chavez 2022-08-22 22:56:10 +02:00
  • b78738ff23 Internals: Docking: rename HoveredDockNode to DebugHoveredDockNode to clarify that it isn't usable for much other than debugging. ocornut 2022-08-22 19:14:22 +02:00
  • d357e8504b TestEngine: revert part of 5b0510c as IMGUI_TEST_ENGINE_ITEM_ADD() woul see an erreneous hierarchy. ocornut 2022-08-22 14:36:32 +02:00