Commit Graph

  • 6bd447c885 Backends: GLFW: Fixed unused variable warning for empty assert macro. (#4459) ocornut 2021-08-22 18:46:49 +0200
  • 47fb332fb2 Fix BeginDisabled(false), again, (#211, #4452, #4453) Version 1.84.1 ocornut 2021-08-20 23:59:46 +0200
  • 32d4f6c5d9 Fix BeginDisabled(false), again, (#211, #4452, #4453) Version 1.84.1 ocornut 2021-08-20 23:59:46 +0200
  • b0361375ee Fix BeginDisabled(false), again, (#211, #4452, #4453) Version 1.84b v1.84b v1.84.1 ocornut 2021-08-20 23:50:55 +0200
  • 2e01952b35 Fix BeginDisabled(false), (#211, #4452) ocornut 2021-08-20 20:30:51 +0200
  • f969e68c10 Fix BeginDisabled(false), (#211, #4452) ocornut 2021-08-20 20:30:51 +0200
  • 5a7d18a441 Merge branch 'master' into docking ocornut 2021-08-20 18:14:58 +0200
  • d2ffbd9b86 Version 1.84 v1.84 ocornut 2021-08-20 17:30:49 +0200
  • fc062e6028 Backends: OpenGL3: Update loader to include APIs used by test framework. Rokas Kupstys 2021-08-20 17:24:56 +0300
  • df2319a854 Small optimizations to BeginDisabled() to allow frequent calls (#211) ocornut 2021-08-20 16:56:13 +0200
  • c543d93af1 Expose BeginDisabled()/EndDisabled() in public API. Add to demo. (#211) ocornut 2021-07-19 19:21:18 +0200
  • 9c3359ef39 IO: modify io.AddFocusEvent() to tolerate in/out for multi-viewports. Amend 2f40be6. (#3532) ocornut 2021-08-19 17:35:27 +0200
  • 0b06c4b2b0 Merge branch 'master' into docking (will need further for io.AddFocusEvent) ocornut 2021-08-19 17:25:12 +0200
  • cb00972b87 ImDrawList: Fix AddCircle{Filled} with 12 segment case (#4419, #4421) thedmd 2021-08-11 13:21:27 +0200
  • e3988a84db Backends: OpenGL3: Embed our own minimal GL loader (amends). (#4445) ocornut 2021-08-19 15:27:22 +0200
  • 459de65477 Backends: OpenGL3: Embed our own minimal GL loader based on gl3w and use it in SDL/GLFW examples. (#4445) Rokas Kupstys 2021-08-19 12:42:15 +0300
  • 7bbf8f2ab0 Drag and Drop: fix using AcceptDragDropPayload() with ImGuiDragDropFlags_AcceptNoPreviewTooltip. ocornut 2021-08-18 12:53:33 +0200
  • f24abbc47d Fix various warnings (#4442) ocornut 2021-08-18 12:00:15 +0200
  • 161b74e871 Fix tabbing in/out of an InputTextMultiline(), broken by 6b8a059. ocornut 2021-08-17 20:46:39 +0200
  • cd39460925 IO: set io.KeyModsPrev in EndFrame() to tolerate backend writing to io.KeyMods without breaking. (#4439) ocornut 2021-08-17 20:33:27 +0200
  • 2f40be638f IO, Backends: add io.AddFocusEvent(). Clear pressed keys after loosing input focus (#3532) thedmd 2021-08-02 20:17:26 +0200
  • 86afe966d3 Metrics: Fixed a crash when inspecting the individual draw command of a foreground drawlist. Rokas Kupstys 2021-08-17 15:28:43 +0300
  • 7e9e1ff1c2 InputText: Fix named filtering flags disabling newline or tabs in multiline inputs (#4409, #4410) Oliver 'kfsone' Smith 2021-08-07 19:25:26 -0700
  • b380d3abe3 Backends: OpenGL3: Clarify use of GL_POLYGON_MODE. ocornut 2021-08-17 13:48:34 +0200
  • 5f2df2d2cb
    Fixed grammar mistake in FAQ (#4431) JJCUBER 2021-08-17 07:47:17 -0400
  • ff428f1d2f Nav: Fix not clearing NavWindowingToggleLayer properly (old code left it to true, relied on Alt release only). Removed unnecessary KeyMenu_ from NavInput. (#4439, #787) ocornut 2021-08-17 12:46:26 +0200
  • 8fa502ca42 Nav: Alt doesn't toggle menu layer if other modifiers are held. (#4439) ocornut 2021-08-17 12:23:54 +0200
  • c7529c8ea8
    Reword file list as *.cpp *.h (#4413) omar 2021-08-10 14:34:34 +0200
  • f99fe72c42 Backends: Win32: Fixed keyboard modifiers being reported when host window doesn't have focus. (#2622) ocornut 2021-08-02 17:22:33 +0200
  • 80b5fb51ed Backends: Win32, SDL, GLFW: only honor io.WantSetMousePos when focused + fix GLFW uninstalling handler + tweaks to reduce branch drift with docking. (#787, #2445, #2696, #3751, #4377) ocornut 2021-08-02 15:48:20 +0200
  • 2ad912bb85 Backends: Win32, SDL, GLFW: only honor io.WantSetMousePos when focused + fix GLFW uninstalling handler + tweaks to reduce branch drift with docking. (#787, #2445, #2696, #3751, #4377) ocornut 2021-08-02 15:48:20 +0200
  • f9b5168fb3 Merge branch 'master' into docking ocornut 2021-08-02 15:04:45 +0200
  • db686ad522 Backends: Win32: Mouse position is correctly reported when the host platform window is hovered but not focused. (#2445, #2696, #3751, #4377) ocornut 2021-07-29 19:38:33 +0200
  • 044fd0cd2d Backends: GLFW: Mouse position is correctly reported when the host platform window is hovered but not focused. (#3751, #4377, #2445) ocornut 2021-07-29 18:59:45 +0200
  • 1cdd110eb4 Backends: SDL2: Mouse position is correctly reported when the host platform window is hovered but not focused. (#2445, #3751, #4377) ocornut 2021-07-29 18:21:08 +0200
  • c720075c67
    Update FAQ to clarify conflict with window (#4158, #4008, #2562) omar 2021-07-28 16:46:59 +0200
  • 3d4d1b8553 Allow imgui_internal.h to be included before imgui.h ocornut 2021-07-26 21:01:32 +0200
  • e362c5af48 Internals: ColorEdit: renamed some internal masks to match our common coding style. ocornut 2021-07-26 20:44:59 +0200
  • 923bd2fd21 Examples: DirectX12: Fixed Alt+Enter fullscreen in DirectX12 example. (#4346, #4348) David Maas 2021-07-21 16:01:52 -0500
  • b846969fe1 Removed unnecessary line in Begin() + commented out redirecting functions/enums names that were marked obsolete in 1.67 and 1.69 + readded commented obsoleted function. ocornut 2021-07-26 11:48:47 +0200
  • 3e4c89051d Popups: Fix OpenPopup() being called after BeginPopup() resulting in a failure to open a popup when focus is NULL. (#4308) Rokas Kupstys 2021-07-15 17:23:44 +0300
  • 9c77734447
    Correct version 1.83 release date (#4355) sitic 2021-07-23 17:07:11 -0700
  • 7bfc379a23 Merge branch 'master' into docking ocornut 2021-07-19 21:58:06 +0200
  • c881667c00 Fix - amend 1ad1530 (range-select branch need the NextItemData in NavProcessItem) ocornut 2021-07-19 21:45:44 +0200
  • 90bf996e1a Internals: widgets always read back from g.LastItemData.InFlags (so we can now modify per-item disable state more easily). (#211) ocornut 2021-07-19 21:17:34 +0200
  • 6b8a059fc9 Internals: moved LastItem data to a shared structure (instead of one per window) ocornut 2021-07-19 21:08:22 +0200
  • 1ad153056a Internals: ItemAdd: set LastItemXXX fields before navigation calls + comments about io.IniFilename (#4294) ocornut 2021-07-19 19:10:14 +0200
  • 3d5dc0d939 Added missing IMGUI_API to GetViewportPlatformMonitor. (#4309) David Maas 2021-07-11 05:29:13 -0500
  • 17ec4f1f6f TestEngine, MenuItem: call IMGUI_TEST_ENGINE_ITEM_INFO() at the right stack level. (amend f8fae02) ocornut 2021-07-12 16:42:53 +0200
  • fb4bbeb033 Disabled: fixed IsItemHovered() if popped disabled state after item, or when using Selectable_Disabled. (#211) ocornut 2021-07-09 19:54:23 +0200
  • 246ad6c03c Disabled: items more consistently release active id if the active item got disabled. (#211) (amend 2952525) ocornut 2021-07-12 15:36:54 +0200
  • 638e1a721b Disabled: fixed IsItemHovered() returning true on disabled item when navigated to. (#211) ocornut 2021-07-12 15:00:35 +0200
  • a11f36811f Merge branch 'master' into docking ocornut 2021-07-09 20:16:19 +0200
  • 5dd1e38b7a Disabled: disabled items set HoveredId, allowing e.g. HoveredIdTimer to function. (#211, #3419) + Menus: fix hovering a disabled menu or menu item not closing other menus. Rokas Kupstys 2021-07-09 19:45:30 +0200
  • cac869b333 Disabled: don't prevent Selectable() from being selected. (#211) + BeginMenu()/MenuItemEx() uses PushDisabled() the standard way. ocornut 2021-07-09 19:29:54 +0200
  • 29525255f3 Disabled items more consistently release active id if the active item got disabled. (#211) ocornut 2021-07-09 19:15:47 +0200
  • ba1c8464ef Internals: Removed ImGuiButtonFlags_Disabled (which had inconsistent behavior) in favor of ImGuiItemFlags_Disabled. Selectable()'s ImGuiSelectableFlags_Disabled now uses the later. (#211) ocornut 2021-07-09 19:04:41 +0200
  • f6682404e1 InputInt/InputFloat: When used with Steps values and _ReadOnly flag, the step button look disabled. (#211) ocornut 2021-07-09 19:02:48 +0200
  • 97638bf977 BeginMenu: remove unnecessary call to ItemHoverable() which is already done by the Selectable() call. ocornut 2021-07-09 17:18:23 +0200
  • 4a100f7f11 Nav: Disabled items are not candidate for default focus. (#211, #787) + simplify handling of ImGuiButtonFlags_PressedOnDragDropHold path. ocornut 2021-07-09 16:31:40 +0200
  • cc40ae2101 PushDisabled(): added bool + clarify support for stacked disabled (#211) ocornut 2021-07-08 19:21:59 +0200
  • 03ca38eda1
    Update FAQ omar 2021-07-08 16:10:30 +0200
  • f8fae02270 Menus: rework to allow for an icon column (not yet exposed, but usable via internals) + fix menus being affected by style.SelectableTextAlign (#126) ocornut 2021-07-08 14:44:32 +0200
  • 30d164eb26 Backends: Win32: IME functions are disabled by default for non-Visual Studio compilers (MinGW etc.) (#2590, #738, #4185, #4301) ocornut 2021-07-08 14:23:31 +0200
  • 696d3e056e Internals: Menus: Naming offset field + fix spacing/offset computation to handle more offsets. ocornut 2021-07-07 20:45:15 +0200
  • 3512f2c2c2 Internals: Menus: minor tidying up + renaming in ImGuiMenuColumns + removing extraneous offset field which is always zero + using smaller types. ocornut 2021-07-07 19:03:10 +0200
  • eb6f4b1a6a Docking: Fix crash when a dock node gets re-qualified as dockspace>floating>dockspace.. (#3203, #4295) ocornut 2021-07-07 18:22:55 +0200
  • cd4cc9ff0d Docking: Fixed crash issues using DockBuilderRemoveNode() in some situations. (#3111, #3179, #3203, #4295) ocornut 2021-07-07 16:18:11 +0200
  • baa4caf9e3 Backends: GLFW: Installing and exposed ImGui_ImplGlfw_MonitorCallback() for forward compatibility with docking branch. ocornut 2021-07-07 14:12:48 +0200
  • d9b606672a InputText: Fix handling of paste failure (buffer full) which in some cases could corrupt the undo stack. (#4038) ocornut 2021-07-05 17:48:19 +0200
  • 327a5d8253 Fix warning + apply trailing whitespaces in stb_ libs (as applied on nothings/stb on 2020/02/02, facilitating further diffs) ocornut 2021-07-05 16:46:12 +0200
  • 9e8e5ac363 Docking: Added ImGuiDockNodeFlags_NoDockingOverEmpty. Breaking definition of ImGuiDockNodeFlags_NoDockingOverOther which now means "non empty node". (#3492, #2648, #4292) ocornut 2021-07-05 13:28:54 +0200
  • 6136b3844b Docking: Reworked node flags saving/inheritance... (#4292, #3834, #3633, #3521, #3492, #3335, #2999, #2648) ocornut 2021-07-05 13:05:18 +0200
  • 0a8ab75e4b Docking: removed DockNodeFlagsOverrideClear flags from ImGuiWindowClass. (#2999, #3521, #3633) ocornut 2021-07-05 12:50:53 +0200
  • 4ddb6b46c3 Drag and Drop: drop target highlight doesn't try to bypass host clipping rectangle. (#4281, #3272) ocornut 2021-06-30 16:11:52 +0200
  • cf2daf353e Backends: Cleanup, removed unnecessary create/destroy wrappers. Fix allegro5 backend + use same code as other backend. ocornut 2021-06-30 15:22:15 +0200
  • 6792e1a3e0 Backends: SDL2: Remove unnecessary ImGui_ImplSDL2_NewFrame() parameter. (#3244) Giovanni Funchal 2021-06-29 19:54:25 +0200
  • 23a15834fa Fonts: Fix calling ClearTexData() (clearing CPU side font data) triggering an assert in NewFrame(). (#3487) + Backends: added additional assert to facilitate detecting user understand they haven't initialized a backend. ocornut 2021-06-29 17:53:41 +0200
  • 4cec3a0467 Backends: support for multiple imgui context with little testing (#586, #1851, #2004, #3012, #3934, #4141) ocornut 2021-06-29 16:42:13 +0200
  • 36a0d1028c Backends: Viewports: renamed viewport storage structures ImGuiViewportDataXXXX -> ImGui_ImplXXXX_ViewportData and locals (matching naming convention in 70c60385) ocornut 2021-06-29 15:34:54 +0200
  • 0f7eb00f67 Backends: amends to 1db1066 + merge minor bits from docking incl SetActiveIdUsingNavAndKeys(). ocornut 2021-06-29 14:35:30 +0200
  • b5a2bd1a5b Backends: amends to 1db1066 + merge minor bits from docking incl SetActiveIdUsingNavAndKeys(). ocornut 2021-06-29 14:35:30 +0200
  • 682447306d Merge branch 'features/backends_context' into docking ocornut 2021-06-29 14:53:25 +0200
  • 70c603854e Backends: moved global to a data structure to facilitate support for multi-contexts. (#586, #1851, #2004, #3012, #3934, #4141) ocornut 2021-06-28 16:52:10 +0200
  • 88f4c1321a Examples: Bring code of example_apple_metal and example_apple_opengl2 closer to each other. (#1873, #3543) rokups 2020-11-12 13:47:31 +0200
  • 0aeb978e61 Comments + adding spacing in headers because VS IDE parser display blocks so badly. Add helper in internal's ImGuiInputTextState. (#4275) ocornut 2021-06-28 11:16:43 +0200
  • 95db098477 ImFontAtlas: move implicit AddFontDefault call to Build() function + remove unnecessary asserts in backend. ocornut 2021-06-24 17:34:23 +0200
  • 2ab7f96f21 Backends: OpenGL3: Enable OES_vertex_array_object extension for emscripten/wasm build (#4266, #4267) Chaoya Li 2021-06-25 10:55:32 +0800
  • 9440974f66 Fonts: Add U+FFFD ("replacement character") to default asian glyphs ranges. Remove SetFallbackChar() (amend 0ffd99d31). (#4269) ocornut 2021-06-25 15:47:42 +0200
  • 38165f420f Fonts: Prefer using U+FFFD character for fallback instead of '?'. Use U+FF0E dot character to construct an ellipsis if U+002E '.' is not available. (#4269) ocornut 2021-06-25 15:44:14 +0200
  • 8ced41570e Backends: DX9: explicitely disable texture state stages after >= 1. (#4268) imgui only uses texture stage state for stage 0 But any state set in stages >= 1 will affect rendering Set stage 1 COLOROP to DISABLED, to deactivate stages >= 1 Anthony 2021-06-25 22:06:38 +1200
  • 30224fdde0 Examples: example_apple_opengl2: Fix keys remaining stuck in pressed state when using shortcuts with CMD. (#4253) rokups 2021-06-25 11:43:30 +0300
  • ac35b4bba2 Merge branch 'master' into docking ocornut 2021-06-24 18:21:19 +0200
  • e534c56485 Fonts: Functions with a 'float size_pixels' parameter can accept zero if it is set in ImFontSize::SizePixels. ocornut 2021-06-24 15:57:41 +0200
  • 20d415e939 FIx static analysers warnings and disable false positives. ocornut 2021-06-24 15:13:21 +0200
  • 1965f38e9e ImGuiWindowFlags_UnsavedDocument/ImGuiTabItmeFlags_UnsavedDocument display a dot instead of a '*'. ocornut 2021-06-24 14:30:32 +0200
  • 0b8a247074 Backends: OSX: Added a fix for shortcuts using CTRL key instead of CMD key. (#4253) Rokas Kupstys 2021-06-23 15:15:22 +0300
  • f0c4d609a6 Default window focus scope not 0. Added ImGuiSelectableFlags_SelectOnNav with comments and caveats. (#1861, #4242,) ocornut 2021-06-21 17:37:37 +0200
  • a15c42d5bd Nav: moved RenderNavHighlight() calls of TreeNode and Selectable out of if (hovered || selected) tests. Should make no difference as NavId currently returns hovered. (#1861, #4242) ocornut 2021-06-21 16:58:38 +0200
  • 98876b4dc2 Added IMGUI_DISABLE_SSE (#4250, #4091) ocornut 2021-06-21 14:52:01 +0200