128 Commits (03ea87ea287a7391603bcf85a441412d973f65f1)

Author SHA1 Message Date
Chris Savoie 03ea87ea28 Backends, Win32: Request monitor update when dpi awarness is enabled to make sure they have the correct dpi settings. ago%!(EXTRA string=5 years)
omar 11a3e75f47 Backends: Win32: Fix _WIN32_WINNT < 0x0600 (MinGW defaults to 0x502 == Windows 2003). (#3183) ago%!(EXTRA string=5 years)
omar 37f665b619 Backends: Win32: Support for #define NOGDI, won't try to call GetDeviceCaps(). (#3137, #2327) ago%!(EXTRA string=5 years)
ocornut 1abb02fb67 Viewports: Fix for UWP on IME code moved back-end side (#2895, #2892) + Docking: Comments. ago%!(EXTRA string=5 years)
ocornut fbaf65b8f6 Revert "Viewports: Renamed UpdatePlatformWindows > PlatformWindowsUpdate, RenderPlatformWindowsDefault -> PlatformWindowsRender, DestroyPlatformWindows > PlatformWindowsDestroy (#1542)" ago%!(EXTRA string=5 years)
ocornut f2c7f3b200 Viewports: Renamed UpdatePlatformWindows > PlatformWindowsUpdate, RenderPlatformWindowsDefault -> PlatformWindowsRender, DestroyPlatformWindows > PlatformWindowsDestroy (#1542) ago%!(EXTRA string=5 years)
ocornut a41332453e Unicode: Changelog, comments, minimum CI integration. (#2541, #2538, #2815) ago%!(EXTRA string=5 years)
Cloud Wu 6d59653e82 Unicode: full Unicode Support (6 squashed commits) (#2541, #2538) ago%!(EXTRA string=5 years)
Omar ceec3cd3fd Backends: Win32: Added ImGui_ImplWin32_EnableDpiAwareness(), ImGui_ImplWin32_GetDpiScaleForHwnd(), ImGui_ImplWin32_GetDpiScaleForMonitor() helpers functions. ago%!(EXTRA string=5 years)
Omar 8601187fee Backends: Win32: Clarify how the WndProc handler requires a forward declaration. ago%!(EXTRA string=5 years)
omar 7e2d172ae5 Backends: GLFW, SDL: Platform monitors declared properly even if multi-viewport is not enabled. ago%!(EXTRA string=5 years)
omar f1b5c742ff Viewports: Add various comments ago%!(EXTRA string=5 years)
omar 8bcac7d95c Backends: GLFW, SDL: report Windows key (io.KeySuper) as always released. ago%!(EXTRA string=5 years)
omar e499497ec5 Backends: Win32: Added support for io.KeySuper (Windows key) for consistency with other backends. (#2976) ago%!(EXTRA string=5 years)
omar 4f7bf7e96a Backends: Win32: Added support for #define IMGUI_IMPL_WIN32_DISABLE_GAMEPAD and IMGUI_IMPL_WIN32_DISABLE_LINKING_XINPUT. (#2716) ago%!(EXTRA string=5 years)
omar 8342e5b91a Amend previous commits (added ImGuiMouseCursor_NotAllowed enum + new cursors in GLFW 3.4) ago%!(EXTRA string=5 years)
Rokas Kupstys 945a509773 Implement ImGuiMouseCursor_NotAllowed mouse cursor. ago%!(EXTRA string=5 years)
omar f0348ddffc Amend 0f86116, renamed to ImGuiKey_KeyPadEnter Changelog.. (#2677, #2005) ago%!(EXTRA string=6 years)
Aaron Cooper 0f86116a69 Adding an ImGuiKey 'ImGuiKey_EnterSecondary' to support platforms that differentiate the enter (return key) and the numpad enter key. ago%!(EXTRA string=6 years)
omar adbbd17cb6 Addendum to #2635. Add support for multi-viewports in SDL+DX!! example. making all Win32-centric back-ends handle PlatformHandleRaw. Using the field to use/store the HWND for internal purpose in SDL/GLFW back-ends. (#1542) ago%!(EXTRA string=6 years)
omar ef13d95466 IO: changed AddInputCharacter(unsigned short c) signature to AddInputCharacter(unsigned int c). ago%!(EXTRA string=6 years)
omar 6789ea3482 Examples: SDL: Gamepad support minor amend. Fixes ImGuiBackendFlags_HasGamepad not being set. Enable in Emscripten demo. Tweaks. (#2509, #2484). ago%!(EXTRA string=6 years)
Bruce Mitchener b5d57a6615 Fix typos. (#2413) ago%!(EXTRA string=6 years)
omar 93d1179805 Examples: Extracted gamepad code into ImGui_ImplGlfw_UpdateGamepads(). Renamed matching Win32 function for consistency. ago%!(EXTRA string=6 years)
omar b46076458c Examples: Win32: Removed unused code left-over from merge e9c625a1dc ago%!(EXTRA string=6 years)
omar 03b0266b59 Examples: Made imgui_impl_win32 drag gdi32.lib for GetDeviceCaps(). (#2327) ago%!(EXTRA string=6 years)
omar e1143377c2 Viewport: Added ImGuiViewportFlags_NoFocusOnClick + support in imgui_impl_win32. Made windows with no decoration always set the _NoFocus flags. (#1542, #2117) ago%!(EXTRA string=6 years)
omar 2c38b32db1 Removed trailing spaces (#2038, #2299) ago%!(EXTRA string=6 years)
omar b8020032f9 Examples: Win32: Added support for mouse buttons 4 and 5 via WM_XBUTTON* messages. (#2264) ago%!(EXTRA string=6 years)
omar acdb4823dd Examples: Win32: Fix for older Windows SDK. ago%!(EXTRA string=6 years)
omar 872477548b Examples: Win32: Using IsChild() to be compatible with windows created within a parent. (#1951, #2087, #2156, #2232) ago%!(EXTRA string=6 years)
omar f435aa193b Examples: Win32: Added support for XInput games (if ImGuiConfigFlags_NavEnableGamepad is enabled). ago%!(EXTRA string=6 years)
omar 133f112af0 Examples: Win32: Using GetForegroundWindow() instead of GetActiveWindow() to be compatible with windows created in a different thread. (#1951, #2087, #2156, #2232) [many people] ago%!(EXTRA string=6 years)
omar 0cabe4dedf Viewport: Added ImGuiWindowClass / SetNextWindowClass() (concept imported from Docking ImGuiDockFamily), which currently allows to overwrite viewport flags on a per-window basis. Exposed FindViewportByID(). Win32: Support for ParentViewportId. (#1542) ago%!(EXTRA string=6 years)
omar cfcad42b89 Viewport: Win32: Workaround to the fact that ::WindowFromPoint() seems to return Windows using ImGuiViewportFlags_NoInputs / HTTRANSPARENT when dragging nearby the platform title bar. This is to allow using platform decoration. I don't understand this well atm. (#1542) ago%!(EXTRA string=6 years)
omar 4a6f95acc8 Viewport: Added Platform_UpdateWindow hook for general purpose: Rework Win32 code to reflect viewport flags changes into Win32 while the window is active. ago%!(EXTRA string=6 years)
omar a9a60a24c1 Tweaked asserts ago%!(EXTRA string=6 years)
omar 5d20da1b36 Viewport, DPI: Now using DpiScale from the ImGuiPlatformMonitor array instead of calling Platform_GetWindowDpiScale() before the platform window creation. Might even tentatively see if things work out without Platform_GetWindowDpiScale. (#1676) ago%!(EXTRA string=6 years)
omar f3a0b17bb8 Viewport: Win32, GLFW, SDL: Clarified back-ends by using global mouse position direction. GLFW: disabled io.MouseHoveredViewport setting under Mac/Linux. (#1542, #2117) + various comments. ago%!(EXTRA string=6 years)
omar 7658035e5a About, IO: Added io.BackendPlatformName, io.BackendRendererName for informational/QA purpose. ago%!(EXTRA string=7 years)
omar a423f032ee About, IO: Added io.BackendPlatformName, io.BackendRendererName for informational/QA purpose. ago%!(EXTRA string=7 years)
omar d8ab2c1ac9 Viewport: Added support for minimized window which caused problem when ImGuiBackendFlags_HasMouseHoveredViewport was not supported. (#1542) + todo ago%!(EXTRA string=7 years)
omar 9ee86f22b7 Examples: Win32: Handle UTf-8 in platform window title setting. (#2164) ago%!(EXTRA string=7 years)
omar 7c3b9172ad Examples: Referring to missing gamepad support in back-end that are missing it. ago%!(EXTRA string=7 years)
omar 1afd29d382 Examples: Using "dear imgui" terminology in all examples headers/comments + fix minor typo. ago%!(EXTRA string=7 years)
Ryan Crandall 34203d5008 imgui_impl_win32: Don't redefine WIN32_LEAN_AND_MEAN if already defined (#2014) ago%!(EXTRA string=7 years)
omar 7b4fbf4301 Viewport: Removed the need for the back-end to fill io.MousePosViewport, it seems unnecessary at this point. (#1542) ago%!(EXTRA string=7 years)
omar c4e34aaace Examples: Comments to clarify how the keyboard data is indexed. ago%!(EXTRA string=7 years)
omar 62b3d7c51e Fixed software Hand cursor from not actually working. Fixed demo from crashing. Fixed typo and extraneous trailing space. Added Changelogs. (#1913, #1914) ago%!(EXTRA string=7 years)
Aiekick ecd9a223e3 add hand cursor support (+11 squashed commit) ago%!(EXTRA string=7 years)