Commit Graph

  • 1ddaff83d8 Demo: Tweak inputs display. ocornut 2021-03-03 18:45:52 +0100
  • 662535f357 Backends: DX9: Fix handling of colored textures (#3844, #3868) ocornut 2021-03-03 18:34:07 +0100
  • 6aee4bcdc5 Merge branch 'master' into docking ocornut 2021-03-02 18:27:07 +0100
  • 25679a411e Window, Nav: Fixed crash when calling SetWindowFocus(NULL) as the time a new window appears. (#3865) ocornut 2021-03-02 18:22:01 +0100
  • 4537d98d46 Backends: DX9: Fix to support colored glyphs, using newly introduced 'TexPixelsUseColors' info. (#3369, #3844) ocornut 2021-03-02 15:03:16 +0100
  • eb57484935 Backends: DX9: add missing IMGUI_USE_BGRA_PACKED_COLOR support. Remove dinput.h headers. (#3844) Xiliusha 2021-02-26 10:40:22 +0800
  • 23ab4978e4 ImFontAtlas: Added 'bool TexPixelsUseColors' output to help backend decide of underlying texture format. (#3369, #3844) ocornut 2021-03-02 14:08:36 +0100
  • b794ecc079 Internals: Docking: some renaming. ocornut 2021-02-25 15:36:52 +0100
  • 732cd837a9
    Added missing IMGUI_API to internal docking-related structs. (#3850) David Maas 2021-02-27 14:15:38 -0600
  • 839ecce571 Internals: Add a way to request window to not process any interactions for specified number of frames. Rokas Kupstys 2021-02-25 14:04:07 +0200
  • cdf1926f21
    Fix a typo in the demo text (#3840) chirsz 2021-02-25 20:33:47 +0800
  • 5aaab7424f
    Update FAQ.md omar 2021-02-25 13:10:02 +0100
  • 760c394707 Added links to Discussions. Closed Discord, yeah! (#2748) ocornut 2021-02-25 00:40:23 +0100
  • 3776ba565f Internals: TabBar: minor tweaks and renaming. ocornut 2021-02-24 16:05:47 +0100
  • 6f4b9c65ae Added commentary about DLL boundaries. Added GetAllocatorFunctions(). Tidying up. (#3836) ocornut 2021-02-24 19:34:42 +0100
  • 3f5bb5939a Examples: Fix MinGW detection in makefiles. Fix example_null build due to missing IME input libs. (#2590) Rokas Kupstys 2021-02-24 10:26:13 +0200
  • 9b32f7bf2d Fix example_null Makefile for Mingw (#2590) ocornut 2021-02-22 14:44:06 +0100
  • edf135c18d Win32+MinGW: Re-enabled IME functions by default even under MinGW. (#2590, #738) ocornut 2021-02-22 14:39:44 +0100
  • ece854564a
    Log/Capture: Added LogTextV, a va_list variant of LogText. (#3828) David Maas 2021-02-22 04:58:51 -0600
  • a8f76c23a4 Window: Shrink close button hit-testing region when it covers an abnormally high portion of the window visible area (e.g. when window is collapsed and moved in a corner)to facilitate moving the window away. (#3825) ocornut 2021-02-18 17:21:12 +0100
  • 0ecdf8167c DragScalar: Fixed crash when using DragScalar() directly with ImGuiSliderFlags_AlwaysClamp + only one of either p_min or p_max set. (#3824) [@harry75369] ocornut 2021-02-18 16:12:41 +0100
  • c154629152 Backends: Win32: Added ImGui_ImplWin32_EnableAlphaCompositing() helper. (#2766, #3447) ocornut 2021-02-18 15:51:07 +0100
  • 3ec14186cb Viewports: Fix setting of ImGuiViewportFlags_NoRendererClear. (#3213) ocornut 2021-02-18 14:08:50 +0100
  • a4e4f57cb0 Examples: DX9-DX11: Removed half-assed DPI awareness enable. Updated Docking/Viewports part of Changelog (e.g. removed bits that are now already in master, clarified some added bits) ocornut 2021-02-18 12:53:15 +0100
  • ffa863a3ba Merge branch 'master' into docking ocornut 2021-02-18 11:40:39 +0100
  • 6a161b8789 Examples: Reworked setup of clear color to be compatible with transparent values. (#2693, #2764, #2766, #2873, #3447, #3813, #3816) ocornut 2021-02-17 19:29:39 +0100
  • bda12e5fdd Backends: Rework blending equation to preserve alpha in output buffer accross all backends. (#2693, #2764, #2766, #2873, #3447, #3813, #3816) ocornut 2021-02-17 19:29:07 +0100
  • 27a5bdb916 Backends: Win32: Fixed ImGui_ImplWin32_EnableDpiAwareness() attempting to get SetProcessDpiAwareness from shcore.dll on Windows 8 whereas it is only supported on Windows 8.1. ocornut 2021-02-17 19:41:02 +0100
  • fb15d8c858 Improve on automatic circle segment count calculation. (#3808) Amends ocornut 2021-02-17 13:06:26 +0100
  • f107693d9b Improve on automatic circle segment count calculation. (#3808) thedmd 2021-02-17 12:55:25 +0100
  • b47aa46d81 Tables: TableSetupColumn() user id uses ImGuiID as intended (typedef ImU32). internals: added GetCurrentTable(), LeftMostEnabledColumn. Demo/docs tweaks. ocornut 2021-02-16 16:53:56 +0100
  • 9576dfd5e7 CI: Use workflow_run to trigger scheduled builds and static analysis. Rokas Kupstys 2021-02-16 10:33:29 +0200
  • 30b7545841 Version 1.82 WIP ocornut 2021-02-15 18:10:14 +0100
  • 3d75f438bc Docking: Made close button enable logic consistent on dockspace. When no docked window have a close button or it is disabled on the node, the space is given to tabs. ocornut 2021-02-12 21:17:31 +0100
  • 61b19489f1 Made a change to CalcWindowSizeAfterConstraint() which MSVC optimizer seems to trip on. (read on) ocornut 2021-02-12 16:34:22 +0100
  • 7180e9ac66
    Remove redundant GetMainViewport decl in imgui.h (#3801, #3800) Adam Kewley 2021-02-11 10:03:14 +0100
  • 239d09804d Merge branch 'master' into docking ocornut 2021-02-10 21:28:16 +0100
  • 4df57136e9 Version 1.81 v1.81 ocornut 2021-02-10 18:47:46 +0100
  • 647a308ad3 Backends: GLFW: Add ImGui_ImplGlfw_InitForOther() instead of ImGui_ImplGlfw_InitForWebGPU() so it can be used for e.g. DX11. (#3632) ocornut 2021-02-10 17:27:33 +0100
  • 04f7ea818d Viewports: Setting the new (currently dummy) flags on viewports. (#3789, #1542, #3680, #3350, #3012, #2471) ocornut 2021-02-10 16:42:22 +0100
  • ee59d7a266 Merge branch 'features/viewport_in_master' into docking (WIP need adding code for new ImGuiViewportFlags values) ocornut 2021-02-10 16:33:00 +0100
  • f14042ca78 Viewports Added ImGui::GetMainViewport() as a way to get the bounds and work area of the host display. (#3789, #1542) ocornut 2021-02-10 14:54:59 +0100
  • 3b4d3a9b73 Simplify CI scripts (#3764) Oleh Prypin 2021-01-27 00:45:13 +0100
  • 3607c42bec Viewports: Fix issue inferring viewport z-order when new popups gets created. (#3734) + Metrics updates. ocornut 2021-02-10 14:30:18 +0100
  • 2a5eaf239f Misc tweaks - mostly toward minimizing diff in upcoming backport merge of a few viewport structures in master ocornut 2021-02-10 14:24:19 +0100
  • 6f5f80a544 Fix for compiling imgui_internal.h without operators + made GetWorkRect() consistent with clamped WorkSize. ocornut 2021-02-09 14:06:30 +0100
  • 7a516a266d Merge remote-tracking branch 'origin/master' into docking ocornut 2021-02-09 13:17:24 +0100
  • 73ccb7e4b8 Viewports: (Breaking) turned GetWorkPos(), GetWorkSize() into straight fields -> WorkPos, WorkSize before exposing in master branch. ocornut 2021-02-09 12:57:00 +0100
  • 1a3af8cb4c Viewports: trying to treat GetMainViewport() as const. Reducing unnecessary casts of ImGuiViewportP* ocornut 2021-02-09 12:02:55 +0100
  • 862bfc53d3 Viewports: Moved in own section of imgui.h ahead of merging a small part of viewport interface to master. ocornut 2021-02-09 11:47:55 +0100
  • 56f7bdae99 ImDrawList: Clarified PathArcTo() need for a_min <= a_max with an assert. Fixed PathArcToFast() handling of a_min > a_max. ocornut 2021-02-08 16:37:51 +0100
  • 03038df1cc ImDrawList: fix divide by zero (for which result was unused but triggering on some archs/setup) added by f144c67676 (#3738) ocornut 2021-02-08 14:03:24 +0100
  • fa55b0cb60 Viewports: (breaking) removed ImGuiPlatformIO::MainViewport which is now pretty much unused and duplicate (and misleading as we will evolve the concept) ocornut 2021-02-05 16:00:17 +0100
  • b898281e3c Demo: Added 'Examples->Fullscreen Window' demo. (#3789) + repack and zero-clear ImDrawData. ocornut 2021-02-05 12:24:23 +0100
  • 58a0a7058c Backends: Using SetTexID() consistently instead of assigning to ->TexID. May make the later obsolete eventually. ocornut 2021-02-03 18:30:26 +0100
  • 82a9b599ab Backend: webgpu: Fixes blending issue on Chrome 90+ and makes backend forward compatible with Emscripten 2.0.14 (#3632, #3770) Basil Fierz 2021-01-30 20:25:20 +0100
  • 03d74a293d ListBox: renamed ListBoxHeader>BeginListBox, ListBoxFooter>EndListBox. Added demo bits. ocornut 2021-02-03 16:30:23 +0100
  • 6f6d4e0b70 ListBoxHeader: In version taking height in number of items, made vertical padding consistent regardless of if (items_count <= height_in_items) or not. ocornut 2021-02-03 14:55:17 +0100
  • e5cbf60def ListBox: tweaked default height calculation. simplifying code internally (rework passing of full rect). Should have no visible side-effects + misc comments. ocornut 2021-02-03 14:16:08 +0100
  • 90a518c501 Fixed typos (#3782) freddii 2021-02-03 02:50:57 +0100
  • d1a9efdd8f InputText: Fixed slightly off ScrollX tracking, noticeable with large values of FramePadding.x. Multiline: Fixed padding/cliprect not matching single-line version. (#3781) ocornut 2021-02-02 16:02:46 +0100
  • 22d9a61b33 Docking: fix gap in hit test hold when using ImGuiDockNodeFlags_PassthruCentralNode touching the edge of a viewport. (#3733) ocornut 2021-02-02 15:14:37 +0100
  • a3f0393351 Menus: Fixed an issue with child-menu auto-sizing (issue introduced by 6af92b0) (#3779) ocornut 2021-02-02 13:06:51 +0100
  • 929563c3a7 Log/Capture: Fixes for handling \n in strings. Improve the look of various widgets. Added LogSetNextTextDecoration helper. Fixup/amend dbaf74d75. ocornut 2021-02-02 09:42:23 +0100
  • dbaf74d758 Log/Capture: Fix various new line/spacing issue by using same render text position when there are both RenderText and LogRenderedText call in widget code. Also Buttons are now enclosed in bracket Louis Schnellbach 2021-01-15 11:05:25 +0100
  • 9d576a96a5 Tables: added internal TableSetColumnEnabled() helper. Comments. ocornut 2021-02-01 17:35:29 +0100
  • 84e8802891 Docking: on node split, update memorized DockId for currently closed windows (#3716) GamingMinds-DanielC 2021-01-14 17:42:59 +0100
  • 4dec436161 SliderInt: Fixed click/drag when v_min==v_max from setting the value to zero. (#3774) Erwin Coumans 2021-01-31 10:26:50 -0800
  • 24be26e00e imgui_freetype: Add support for colored glyphs. Font: add support for untinted glyphs (#3369) ocornut 2021-01-28 17:26:41 +0100
  • 24aa6654df imgui_freetype: add support for colored glyphs with ImGuiFreeTypeBuilderFlags_LoadColor (#3369) Petr Shurgalin 2021-01-28 16:57:37 +0100
  • 4622fa4b66 Fonts: Fixed CalcTextSize() width rounding so it behaves more like a ceil. (#3776) ocornut 2021-02-01 12:48:33 +0100
  • 577e7cb493 Merge branch 'master' into docking ocornut 2021-01-28 21:02:13 +0100
  • 9499afdf5e imgui_freetype: clarify breaking changes, and add BuildFontAtlas() to be consistent with planned obsolescence. Rename mislabelled internal helper. Demo: clarify labels in nested table demo. (#3765) ocornut 2021-01-28 20:52:26 +0100
  • cff8162454 Viewports, Backends: Vulkan: handle VK_ERROR_OUT_OF_DATE_KHR when resizing secondary viewport (#3766, #3758) ocornut 2021-01-28 16:03:44 +0100
  • dff0044d4e Backends, Examples: Added support for WebGPU and corresponding example. Amend 5853fbd (#3632) ocornut 2021-01-28 12:11:26 +0100
  • 5853fbd68b Backends, Examples: Added support for WebGPU and corresponding example (#3632) Basil Fierz 2021-01-28 11:37:34 +0100
  • 6487860aae Backends: Vulkan: Rework support for custom function/symbol loader (#3759, #3227), add ImGui_ImplVulkan_LoadFunctions (amend 6001c54) ocornut 2021-01-27 13:23:28 +0100
  • 6001c54598 Backends: Vulkan: Support for custom function/symbol loader (#3759, #3227) Hossein Noroozpour 2021-01-26 21:04:12 +0330
  • 066406b9be Backends: OSX: Fix mouse position not being reported when mouse buttons other than left one are down. (#3762) Rokas Kupstys 2021-01-27 13:24:52 +0200
  • e28b51786e Tables: Fixed PopItemWidth() or multi-components items not restoring per-colum ItemWidth correctly. (#3760) rework local stacks to facilitate modifying current value without altering the stack. ocornut 2021-01-27 12:18:48 +0100
  • 3867c6c5f0 Fonts: (Breaking) Rename ImGuiFreeType:: flags to ImGuiFreeTypeBuilderFlags_XXX. Remove ImGuiFreeType::BuildFontAtlas() flags. Rename ImFontConfig::RasterizerFlags to FontBuilderFlags. Add ImFontBuilderIO (opaque). Amend 53d59f3 with a dozen of small fixes. ocornut 2021-01-25 17:57:12 +0100
  • 9417acc20f Fonts: if IMGUI_ENABLE_FREETYPE, use library by default for font rasterization Also renamed IMGUI_DISABLE_STB_TRUETYPE to IMGUI_ENABLE_STB_TRUETYPE Louis Schnellbach 2021-01-12 09:24:51 +0100
  • 6b32d0ebc7 Fixed minor title bar text clipping issue when FramePadding is small/zero and there are no close button in the window. (#3731) ocornut 2021-01-26 16:07:41 +0100
  • a8d2d8ee97 Fixed uninitialized variable, amend f3f2578. (#3753) ocornut 2021-01-26 15:26:41 +0100
  • f3f2578e8f Internals: Added context hook removal support (#3580, #3626, #3753) Sammy Fatnassi 2021-01-26 15:14:56 +0100
  • 376c88a864 Fixed some compile warnings with Clang on Windows (#3754) Sammy Fatnassi 2021-01-26 14:09:18 +0100
  • f139846750 Backends: Win32: dynamically load XInput library (amends) (#3646, #3645, #3248, #2716) ocornut 2021-01-25 16:19:43 +0100
  • 633d1033af Backends: Win32: dynamically load XInput library (#3646, #3645, #3248, #2716) Kuanlan 2021-01-23 13:23:59 +0800
  • 2ed47e5822 Version 1.81 WIP ocornut 2021-01-25 16:30:37 +0100
  • 695a4bd1a9 Backends: Metal: Fixed texture storage mode when building on Mac Catalyst. (#3748) Belinsky-L-V 2021-01-22 17:04:54 +0100
  • f144c67676 ImDrawList: fixed AddCircle, AddCircleFilled buffer read overflow with (rad > 0.0f && rad < 1.0f && num_segments == 0). (#3738) ocornut 2021-01-25 14:58:52 +0100
  • bb26751b94 Merge branch 'master' into docking ocornut 2021-01-21 20:38:42 +0100
  • 58075c4414 Version 1.80 v1.80 ocornut 2021-01-21 16:59:34 +0100
  • 5178c3ce21 Tables: added ImGuiTableFlags_NoHostExtendX instead of using outer_size.x == 0.0f. Changed default outer_size to (0.0f, 0.0f). (#3605) ocornut 2021-01-21 16:20:31 +0100
  • 3b409d2b68 BeginChild: half-fixed child window name longer than 255 conflicting, merely raised the limit by using our shared large buffer. Comments. ocornut 2021-01-20 20:53:22 +0100
  • 6737037743 Tab Bar: fix 0ea4408 (#3414) ocornut 2021-01-20 19:35:10 +0100
  • 74b3b7cf58 Added experimental io.ConfigDragClickToInputText feature to enable turning DragXXX widgets into text input with a simple mouse click-release (without moving). (#3737) ocornut 2021-01-20 19:16:45 +0100
  • dc0f3d982c DragFloat, DragInt: very slightly increased mouse drag threshold + expressing it as a factor of default value + disabled experimental click-to-input on DragXXX functions. (#3737) ocornut 2021-01-20 17:38:55 +0100
  • ae0d2dd614 Tables: rework submission of content size and ideal content size to outer window (now using IdealMaxPos introduced in 6af92b0). ocornut 2021-01-19 23:08:12 +0100
  • f379dc28a3 ImBitArray: Rename ClearBits() to ClearAllBits() and add SetAllBits(). ImBitArraySetBitRange work on range [n..n2) instead of [n..n2] thedmd 2021-01-19 20:23:06 +0100