Commit Graph

7507 Commits (36a0d1028ca1d741d0e31a94e163d62f6c8d0345)
 

Author SHA1 Message Date
ocornut a58a727781 Renamed OpenPopupContextItem() back to OpenPopupOnItemClick(), reverting 99ab5210
Louis Schnellbach ec945f44b5 InputText: Added support for Page Up/Down in InputTextMultiline. ()
+ fix stb_textedit.h to build with C language (amend fbf70070)
omar 8eca736a7a Update binary link
(contents of 20200412.zip's dx11.exe is flagged by Windows Defender, can't currently repro)
ocornut c206a19373 Removed ImFont::DisplayOffset in favor of ImFontConfig::GlyphOffset. ()
+ Fonts: AddFontDefault() adjust its vertical offset based on floor(size/13) instead of always +1.
Louis Schnellbach fbf70070bb InputText: Fixed minor inconsistency when pressing Down on the last line when it doesn't have a carriage return (it used to move to the end of the line)
+ fixed two of our typos in stb_textedit.h
ocornut c47bcb25ed Fix popup and tooltip positioning when not fitting in the screen. Amend fa42ccea8.
# Conflicts:
#	docs/CHANGELOG.txt
Rokas Kupstys b7b08f52a4 Fix popup and tooltip positioning when not fitting in the screen.
ocornut 825f699bde Backends: OpenGL3: Amends (, )
Sven Balzer 42575d4a99 Viewports, Backends: Win32: Fix toggling of ImGuiViewportFlags_TopMost ()
Julian Webb 2460f2abe3 Backends: OpenGL3: Fix to avoid calling glBindSampler() with version <= 3.2 (, )
(nb: GLEW sets the define we previously used)
ocornut 645a6e0342 Bypass unnecessary formatting when using the TextColored()/TextWrapped()/TextDisabled() helpers with a "%s" format string. ()
Bartosz Szreder d2939ce0a1 Columns: Make sure the ClipRect is valid. ()
ocornut 6bc526676c Viewports: Comments, removed unnecessary use of ViewportFrontMostStampCount (the LastFrontMostStampCount is enough)
omar e230ec5a01 Viewports, Backends: DX12: Make secondary viewport format match main viewport one () {@BeastLe9enD]
Pierre-Loup Pagniez a1597cff08 Backends: DX12: Fix D3D12 Debug Layer warning if scissor rect is 0 width or 0 height. (, )
In the event where the scissor rect is 0 width or 0 height, don't call Draw, as it generates warnings if the D3D12 Debug Layer is enabled, and nothing would have been drawn anyway.
omar a8f409a848 Examples: DX12: Enable breaking on any warning/error when debug interface is enabled. (, ) + misc comments & minor fixes.
omar 770c995365 Backends: Vulkan: Removed unused shader code. Fix leaks. Avoid unnecessary pipeline creation for main viewport. Amend 41e2aa2. () + Add ImGui_ImplVulkanH_CreateWindowSwapChain in ImGui_ImplVulkanH_CreateOrResizeWindow().
omar e8447dea45 Backends: Vulkan: Removed unused shader code. Fix leaks. Avoid unnecessary pipeline creation for main viewport. Amend 41e2aa2. ()
omar d8d58b038e Backends, Examples: DX12: Clarify support for 32-bit building in project files and comments. ()
omar 78f753ffff Merge branch 'master' into docking + incl add wd->Pipeline in ImGui_ImplVulkan_RenderDrawData platform code (, )
Michel Lesoinne 41e2aa2e7a Backends: Vulkan: Separate the pipeline of the dear imgui created windows from the one created with the user's render-pass. (, )
This is mostly for the benefit of multi-viewports.
xndcn 6a546a500f ImVector: fix max_size() for signed int value. Amend 444873404 (, )
HALX99 8a9ee9cded
Add const qualifier for parameter ImFontConfig of ImFont::AddGlyph ()
omar 206d78a524 InputText: Fixed minor glitch when erasing trailing lines in InputTextMultiline(). Fixed cursor being partially covered after using Ctrl+End key.
Removed unncessary one-empty-line-worth-of-scrolling.
omar 36af398056 Sliders: Fixed using ImGuiSliderFlags_ClampOnInput with reverse sliders. (, )
Rokas Kupstys b2039aac67 Slider: Fixed to reach maximum value with inverted integer min/max ranges, both with signed and unsigned types. Added reverse Sliders to Demo. (, )
omar 6461fd40ab Examples: Fixed SDL+OpenGL2 and SDL+Vulkan examples not processing SDL_WINDOWEVENT_CLOSE events which tends to be needed in multi-viewport setting.
Michel Lesoinne b25756be4a Examples: Vulkan: Switch validation layer. Fix CMakeLists to find Vulkan the standard way. ()
Doug Binks aa8e09d7f1 Backends: GLFW: workaround for cases where glfwGetMonitorWorkarea fails ()
ocornut 751d153ca9 InputText: Fixed callback's helper DeleteChars() function when cursor is inside the deleted block. ().
ocornut 70289ab42c Scrolling: Fixed edge snapping being applied prior to knowing ContentSize. ()
Fix 473a01adb.
ocornut 8db94cd992 Internals: Scroll related, comments & shallow tweaks.
ocornut 36c331ff74 Merge branch 'master' into docking
# Conflicts:
#	examples/example_glfw_vulkan/main.cpp
#	examples/example_sdl_vulkan/main.cpp
#	imgui.cpp
#	imgui_internal.h
ocornut b73305be11 Examples: Vulkan: Reworked buffer resize handling, amend df89a16d (, )
ocornut 8dacb4da20 Docking: Fixed DockNode tab bar initial order broken by 8c80d533d
Valentin Vanelslande 9a9ee7f813
NavInitWindow: Change IMGUI_DEBUG_LOG to IMGUI_DEBUG_LOG_NAV ()
ocornut f4d062fa11 Nav: Added debug logging, extract bits of code into NavUpdateInitResult().
ocornut fc625d249f Internals: Begin: update ->Hidden flags only on first begin of the frame. (ignore whitespace to see simple diff)
# Conflicts:
#	imgui.cpp
ocornut a456d17dfc Internals: Begin: update ->Hidden flags only on first begin of the frame. (ignore whitespace to see simple diff)
ocornut 34077c0140 Merge branch 'master' into docking
# Conflicts:
#	imgui.cpp
#	imgui_internal.h
ocornut ce230fc370 Internals: TabBar renaming and shuffling stuff around.
+ sneaking a readme change
ocornut 600b8f60b4 Docking: Fixed crash in metrics.
ocornut 13f718337a Internals: Added support for overriding locale decimal point, undocumented. () + Misc doc update.
Doc: Mention IMGUI_VERSION_NUM in recent api breaking changes + textwrap some demo code.
ocornut 901d432cb7 Nav: Fixed using Alt to toggle the Menu layer when inside a Modal window. () Tidying up todo items.
ocornut 302896d488 Basic optimization for ShadeVertsLinearColorGradientKeepAlpha() - especially for debug overhead - since it's used massively by some of our experiments.
ocornut 093afd4f7f Internals: Added Name to ImGuiDataTypeInfo + minor misc comments in BeginGroup().
ocornut 45499b8f2f Window: Fixed using non-zero pivot in SetNextWindowPos() when the window is collapsed. ()
Louis Schnellbach 8c80d533d9 Tab Bar: Fixed a small bug where toggling a tab bar from Reorderable to not Reorderable would leave tabs reordered in the tab list popup.
ocornut b30d33378d Nav: Activate InputSource as Gamepad when pressing any of the digital d-pad button.
ocornut 8d71bc2132 Internals: Nav: shallow refactor.