7989 Commits (377b864bb4a9ed9a25674b04f64f63baf221060d)
 

Author SHA1 Message Date
ocornut 377b864bb4 Merge branch 'master' into docking
# Conflicts:
#	backends/imgui_impl_dx12.cpp
#	backends/imgui_impl_glfw.cpp
#	backends/imgui_impl_sdl.cpp
#	imgui_internal.h
#	imgui_widgets.cpp
3 years ago
Rokas Kupstys 1ad8ad623e Backends: GLFW: Fixed keyboard modifiers events being reported incorrectly on Linux/X11. 3 years ago
cfillion 7d7bf993bb ImDrawList: Fix texture-based anti-aliasing with RGBA textures (#5132, #3245)
When using an Alpha8 font texture, GetTexDataAsRGBA32 converts 0x00 to transparent white.
When using a RGBA32 font texture, ImFontAtlasBuildRenderLinesTexData was writing transparent black.
3 years ago
thedmd 3c07879504 Backends: OSX: Inputs: Monitor NSKeyUp events to catch missing keyUp for key when user press Cmd + key (#5128) 3 years ago
ocornut 9b0c26b0b2 Backends: SDL: Fix more dragging issues. SDL_CaptureMouse() is essentially broken. (#5012, #5082)
master got c5f6721 which is combining f337378 and this commit.
3 years ago
Rokas Kupstys c5f67218bf Backends: SDL: Fix multi-viewport dragging issue with SDL on some systems. (v2 for master, using bd->MouseButtonsDown == 0) (#5012, #5082)
# Conflicts:
#	backends/imgui_impl_sdl.cpp
#	docs/CHANGELOG.txt
3 years ago
Wvader 7602277c86 Backends: Metal: Remove weak ref (#5122, #5123) 3 years ago
Sergiu Giurgiu 31e77eacdb Backends: SDL: Add extra mouse buttons handling (#5125) 3 years ago
ocornut 6fae29679a Examples: Emscripten: Fix build. (#3632) 3 years ago
ocornut 28ba54a32a Internals: add AddSettingsHandler(), RemoveSettingsHandler(). 3 years ago
ocornut fd06ed833b Misc: tweaks + fix warnings on backends withtout -wno-memaccess (#4995, #5104) 3 years ago
ocornut 0cff5ac5a1 Updated stb_textedit.h from 1.20 to 1.26 (many fixes). (#5075) 3 years ago
ocornut de451d4474 Updated stb_textedit.h from 1.13 to 1.14. (#5075)
(Our pageup/pagedown PR was merged, so this is essentially a no-op)
3 years ago
ocornut 279db55840 Updated stb_rect_pack.h from 1.00 to 1.01. (#5075)
(our STBRP__CDECL change was merged)
3 years ago
jakubtomsu 3deb92c2c5 Add IMGUI_STB_SPRINTF_FILENAME to support custom stb_printf.h include path (#5068, #2954) 3 years ago
ocornut 0f14933577 Tables: Fixed incorrect border height used for logic when resizing one of several synchronized instance of a same table ID, when instances have a different height. (#3955, #3565) 3 years ago
Rokas Kupstys 6315716f23 Backends: Glut: Fix comparison operator precedence. 3 years ago
ocornut 1e18da5c38 Backends, Examples: Add comments about using WndProc handler and WantCaptureXXX flags. (#5061)
+ update README.
3 years ago
ocornut 54fb051e52 ColorEdit: Fixed text baseline alignment after a SameLine() after a ColorEdit() with visible label. 3 years ago
Rokas Kupstys f337378066 Backends: SDL: Fix multi-viewport dragging issue with SDL on some systems. (#5012) 3 years ago
ocornut 8639a2f9f8 Viewports: Fixed translating a host viewport from briefly altering the size of AlwaysAutoResize windows. (#5057) 3 years ago
ocornut 64519c6875 Docking: Fixed floating docked nodes not being clamped into viewport workrect to stay reachable when g.ConfigWindowsMoveFromTitleBarOnly is set and multi-viewports are disabled. (#5044) 3 years ago
ocornut 7b0d58c5e5 Merge branch 'master' into docking 3 years ago
ocornut fa2b318dd6 IO: Fixed input queue trickling of interleaved keys/chars events when InputText() is not active. (#4921, #4858) 3 years ago
ocornut 5659db5529 IO: Fixed backward-compatibility accesses to io.KeysDown[]. (#4921, #4858)
+ Snuck in unrelated comments and removed the "fill once" comment (#5043)
3 years ago
Jan Sikorski a61ca097a7
Backends: OSX: Fix typo in scrolling event handler. (#5036) 3 years ago
ocornut dca527be1b Clipper: Assert on extraneous calls to Step(). (#4822) + Demo tweak. 3 years ago
ocornut 9948535118 Merge branch 'master' into docking
# Conflicts:
#	docs/CHANGELOG.txt
#	imgui.cpp
#	imgui.h
#	imgui_draw.cpp
3 years ago
ocornut 29d462ebce Set HoveredID even when g.NavDisableMouseHover is set by gamepad/keyboard navigation. This will facilitate the use of future InputOwner API based on HoveredID/ActiveID.
Note that this widen the small gap between polling g.HoveredID and using IsItemHovered() the later does various filtering.
Added IsItemHovered(ImGuiHoveredFlags_NoNavOverride) to disable that specific state redirect/filter.
Side-effect: fix EndGroup() use of combining HoveredId values when gamepad/keyboard nav is active. Unlikely to have user-visible side effect since IsItemHovered() would have filtered out anyway.
Side-effect: fix IsAnyItemHovered() when gamepad/keyboard is active (but this wasn't the primary intent of this change).
Side-effect: fix using SetItemUsingMouseWheel() while hovering an item and gamepad/keyboard is active. (#2891)
3 years ago
ocornut 421e73e6db Fix an assert in metrics. 3 years ago
ocornut d9e60d29e1 Clipper: Fixed a regresssion when not calling End() + calling End() twice as well. (#4822) 3 years ago
thedmd 5c8f8d0311 ImVector: Fixed erase() with empty range. (#5009) amend/fix b6b8f66
Actual change was missing in b6b8f66
3 years ago
ocornut 2dfa71fad5 Inputs: Fixed IsMouseClicked() repeat mode rate being half of keyboard repeat rate. Using KeyModAlt. Removed KeyModsPrev. 3 years ago
Konstantin Podsvirov 7ff41a78f9 Fonts: binary_to_compressed_c.cpp gained -nostatic option (#5021)
This allow to use added variables in other source files via extern declaration.
3 years ago
ocornut 8d3906365d CI: Fixes for OSX + explicitely request C++11. 3 years ago
thedmd b6b8f6634e ImVector: Fixed erase() with empty range. (#5009) 3 years ago
ocornut 5854da10e6 Declare other structures as constexpr (#4995) + rename ImGuiInputEventType_Char to ImGuiInputEventType_Text for consistency with event structure. 3 years ago
Jeff Mears 71f98dd056 Declare ImVec2 and ImVec4 constructors as constexpr (#4995) 3 years ago
ocornut 1e14cc5cae Viewports: Fixed main viewport size not matching ImDrawData::DisplaySize for one frame during resize when multi-viewports are disabled. (#4900) 3 years ago
Borislav Stanimirov 955aacfbc5
GCC: Disable deprecated-enum-enum-conversion for gcc as well (#4997) 3 years ago
thedmd 4691fa0ed5 ImDrawList: PthArcTo: Add small tolerance when comparing angles (#4993) 3 years ago
ocornut aa79d0cd2f Stack Tool: Added option to copy item path to clipboard. (#4631) 3 years ago
ocornut 88de982071 Version 1.88 WIP 3 years ago
ocornut aa86800092 Internals: rework RenderMouseCursor() signature so we can use it in docking branch more naturally. (Merged from master+ rework for docking)
# Conflicts:
#	imgui.cpp
#	imgui_draw.cpp
3 years ago
ocornut 97b1abd6dd Internals: rework RenderMouseCursor() signature so we can use it in docking branch more naturally. 3 years ago
ocornut 1ee252772a Merge branch 'master' into docking
# Conflicts:
#	docs/CHANGELOG.txt
3 years ago
ocornut c71a50deb5 Version 1.87 3 years ago
ocornut 033538731c Merge branch 'master' into docking
# Conflicts:
#	backends/imgui_impl_glfw.cpp
#	backends/imgui_impl_sdl.cpp
3 years ago
ocornut e52bb147a7 Backends: GLFW: Added ImGui_ImplGlfw_InstallCallbacks()/ImGui_ImplGlfw_RestoreCallbacks(). (#4981) 3 years ago
ocornut 732bc2058e Backends: GLFW: Handle spurious leave/enter sequences apparently submitted by X11/GLFW combo. (#4984) 3 years ago