Commit Graph

  • 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
  • 7f4b477d2e CI: Update ubuntu version (#5598) Adam Essemaali 2022-08-22 08:54:08 +02:00
  • cdebd70e15 Fix PVS-Studio static analyzer warning for "buffer underflow" ocornut 2022-08-20 23:01:58 +02:00
  • 5b0510c5b7 TestEngine: facilitate aiming at InputScalar() using wildcards + removed unnecessary IDStack.size hack (require TestEngine latest) ocornut 2022-08-20 22:55:51 +02:00
  • ef6ba0d846 Misc: allowing override of IM_TABSIZE (#5593) ocornut 2022-08-20 19:54:57 +02:00
  • 268565079c InputText: numerical fields automatically accept full-width characters (U+FF01..U+FF5E) by converting them to half-width (U+0021..U+007E). ocornut 2022-08-08 17:06:11 +02:00
  • 8cbd391f09 Docking: Add source dock node parameter DockContextCalcDropPosForDocking() to facilitate test engine (un)docking nodes before they are split out to their own window. Metrics: Display dock_node->Windows in node metrics. Rokas Kupstys 2022-08-08 16:05:25 +03:00
  • a396233cb6 Platform IME: Windows: Revert 133bbafa and 29a8ee08 as regression until new results comes. (#2589, #5535, #5264, #4972) ocornut 2022-08-08 12:42:57 +02:00
  • 839c31006b Debug Log: Added IO events logging. ocornut 2022-08-08 11:58:57 +02:00
  • 133bbafa3c Platform IME: Windows: Fixed a call to ImmAssociateContextEx() leading to freeze on some setups. (#2589, #5535, #5264, #4972) ocornut 2022-08-05 20:26:51 +02:00
  • ff1567e240 Docking: Simplify logic of moving tabs between nodes. Amends 0abe7d. (#5515) Rokas Kupstys 2022-08-05 12:49:31 +03:00
  • c911901b5e Fix ImGuiIO docs and default values (#5540) Vlad Serebrennikov 2022-08-03 23:46:31 +03:00
  • e9f50fb87c Merge branch 'master' into docking ocornut 2022-08-03 22:04:03 +02:00
  • 0a4ddd7246 Fix being unable to mouse wheel while dragging a payload (fix 1480bc5, #4921, #2891) ocornut 2022-08-03 22:01:48 +02:00
  • 4a2ae06ca4 Changed signature of ImageButton() function: Added 'const char* str_id' parameter + removed 'int frame_padding = -1' parameter. (#5533, #4471, #2464, #1390). ocornut 2022-08-03 21:04:33 +02:00
  • f573ebf31a Docking+Viewports: Fix undocking window node causing parent viewport to become unresponsive. (#5503) Rokas Kupstys 2022-07-26 12:35:44 +03:00
  • b12e056c21 Docking: Fixed amending into an existing tab bar from rendering invisible items. (#5515, amend b16f738d #2700, #2539) ocornut 2022-08-03 17:00:59 +02:00
  • 0abe7d1cc5 Docking: Fixed splitting/docking into a node that has buttons amended into tab bar. Windows were not moved correctly. (#5515) ocornut 2022-08-03 16:11:39 +02:00
  • e21f462f6f Merge branch 'master' into docking ocornut 2022-08-03 15:29:04 +02:00
  • 28a123ca47 Internals: Docking: make DockContextFindNodeByID() more visible (instead of DockBuilderGetNode) ocornut 2022-08-03 14:37:35 +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 Kupstys 2022-08-02 13:58:50 +03:00
  • e926a664d5 TabBar: Allow closing entire TabBar (possible docking only) when it contains user-appended buttons. (#5515) Rokas Kupstys 2022-08-01 16:39:38 +03:00
  • e99c4fc668 Nav: fixes keyboard/gamepad nav actions running without the corresponding config flags (#5504). Fixes 8b8a61b. #4921, #4858, #787, #1599, #323) ocornut 2022-07-25 17:16:01 +02:00
  • 2d38bc99b3 Internals: renamed recently added ImGuiInputReadFlags to ImGuiInputFlags. (Amend 8b8a61b) ocornut 2022-07-22 16:56:02 +02:00
  • cb8ead1f71 Docking: Fix docked window contents not rendering when switching with CTRL+Tab. Rokas Kupstys 2022-07-12 16:21:44 +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. ocornut 2022-07-18 17:40:52 +02:00
  • 77637fd936 Docking, Nav: Fixed using gamepad/keyboard navigation not being able enter menu layer (#5463, #4792) ocornut 2022-07-12 10:51:14 +02:00
  • 8731cc2914 Examples: Vulkan: Add c++ version to CMakeLists (#5459) Shriram Ravindranathan 2022-07-10 21:52:46 +05:30