Commit graph

33 commits

Author SHA1 Message Date
Marcus Minhorst
65cfb976fa
Squashed 'libraries/ZWidget/' changes from 924b8e0e78..b5ae8c8ab0 (#3357)
b5ae8c8ab0 Fix sdl2 initial paint
a06bc7f8b4 Wayland Backend: Use unaccelerated dx and dy for OnMouseMoveRawEvent()
f1789718d1 Wayland Backend: Implement clipboard support
11f3fe0e21 Fix a typo
2f4e3603e0 Add timers
bcecfa9ee2 Fix filling with wrong window background sometimes
6681d2c2d8 Fix timer linked list
4564f7ea88 OnXInputEvent calls callbacks, which potentially could create/destroy windows
92f99a1abf Improve timer stability
4ccb1a03f8 Fix Cursor Shape protocol related crashes - If the protocol is available, avoid handling buffers directly
fdefb2945d Add timers for X11 backend
25a2a2c846 WaylandDisplayBackend: New protocols and improvements - Add xdg_toplevel_icon and cursor_shape protocols support - Implement WaylandDisplayWindow::SetWindowIcon() based on the xdg_toplevel_icon protocol.
d817b79b98 Fix compile error
af5a87dba5 Add missing include statement
43996b7864 setIcon for x11
49ae157f31 Implement setIcon for Windows Fix spaces that should be tabs in the wayland backend
a564526bb7 WaylandDisplayBackend: Combine LShift and RShift into Shift
46031df314 CMakeLists: Remove the unnecessary additional SDL2 check in the example section
5363f5354e Implement open folder dialog Improve support for paths with spaces in them
bec2844e11 Fix the CI label for macOS
e2c6af9e5d Seems CI was set to use a macOS version from 1865
991ca3377a Enable macOS in CI
1f5c95edef include SDL2 directory to fix mac compilation

git-subtree-dir: libraries/ZWidget
git-subtree-split: b5ae8c8ab038789298a8df1384322f0e69e57e5c
2025-09-19 23:49:56 -03:00
Marcus Minhorst
f532b04712 Maybe fix initial paint
Needs to be upstreamed after confirming this does in fact fix things
2025-08-26 23:22:53 -04:00
Marcus Minhorst
27a934ee70 Merge commit '87689ccb5f' into theme 2025-08-26 22:09:24 -04:00
Rachael Alexanderson
6356d87438 Squashed 'libraries/ZWidget/' changes from 02da8cdc0e..cecd34301d
cecd34301d Delay load DPI-related functions
bfc172f702 Added exception to some unimplemented functions
7c8d469bcb Added item modifications functions
847d0e6d9e Improved keyboard navigation
8c4270e0f8 Dropdown can now be closed by re-selecting it
91402c31ec Fix dropdown positioning in x11 and win32

git-subtree-dir: libraries/ZWidget
git-subtree-split: cecd34301d369400227eb0f27bad2ab41ad756d2
2025-08-13 17:17:30 -04:00
Rachael Alexanderson
b7d9ddb6a3
Merge commit '6356d87438' 2025-08-13 17:17:30 -04:00
Rachael Alexanderson
404123a22e Merge commit 'd9b2c00228' as 'libraries/ZWidget' 2025-07-30 00:09:28 -04:00
Rachael Alexanderson
3dbe3bd8e0
- remove zwidget local copy to be included later as a subtree 2025-07-30 00:05:20 -04:00
Boondorl
885c1d2920 Update to latest ZWidget version
This adds new features (such as themes) alongside fixing numerous bugs. This should be kept up-to-date with upstream more often and changes to it should be PR'd back to its main repo.
2025-06-18 14:47:03 -03:00
Christoph Oelckers
5fa220219e Reverted use of tchar.h which should be considered deprecated.
GZDoom is Unicode only - as should be the norm for any Windows application - and will not work when compiled as ANSI so there's no good reason to use this wrapper.
2024-08-16 12:41:29 +02:00
Ritchie Swann
0d5e35985d
Fix incorrect return type 2024-08-15 02:43:48 -04:00
Ritchie Swann
d17bde151f
Fix to use the correct definition of DwmDefWindowProc 2024-08-15 02:43:48 -04:00
Ritchie Swann
42c64e438f
fix faux pas 2024-08-15 02:43:48 -04:00
Ritchie Swann
699bef1316
Better solution for DwmDefWindowProc on mingw64
On mingw, create our own thunk for DwmDefWindowProc. It should exist in libdwmapi.a (and exists in MSVC), but doesn't.
2024-08-15 02:43:48 -04:00
Ritchie Swann
67d573cd41
Use TCHAR for Windows 2024-08-15 02:43:46 -04:00
Ritchie Swann
e3795c762a
Fix preprocessor symbol for Windows 2024-08-15 02:43:46 -04:00
Rachael Alexanderson
4625d4ac34
- mirror changes with ZWidget, remove SDL_Wait failure message 2024-04-28 04:07:21 -04:00
Rachael Alexanderson
eba9036164
- shorten sdl_waitevent error message 2024-04-24 07:17:09 -04:00
Rachael Alexanderson
83d751af72
- demote SDL_Wait errors to console printouts 2024-04-24 06:56:49 -04:00
Christoph Oelckers
4aee4fd187 optimized last commit to not retrieve the function repeatedly if it has already failed. 2024-04-21 14:30:26 +02:00
Rachael Alexanderson
744e67e02b - dynamically import GetDpiForWindow from USER32.dll, else return a default value 2024-04-21 14:25:48 +02:00
Christoph Oelckers
1fe6556e6e ZWidgets: disabled SetClientFrame.
On Win32 this function is unused, but it contains two API calls that only exist in Windows 10 or later.
2024-04-21 12:13:03 +02:00
Magnus Norddahl
9381813eb5 Implement mouse capture and cursor 2024-01-03 16:50:57 +01:00
Magnus Norddahl
9745942130 Add a scrollbar to the list view 2024-01-03 16:50:57 +01:00
Magnus Norddahl
532bef8243 Fix double clicks 2024-01-02 20:10:36 +01:00
Magnus Norddahl
74b45b7cba Fix compile error 2024-01-02 16:56:19 +01:00
Magnus Norddahl
2863c89af7 Hook up the zwidget launcher window on Linux 2024-01-02 16:56:19 +01:00
Magnus Norddahl
b0f1edf297 Add SDL2 backend 2024-01-02 16:56:19 +01:00
Magnus Norddahl
4613c0354b Fix some compile errors 2024-01-02 16:55:53 +01:00
Magnus Norddahl
426837e7d4 Implement the timer class
Support calling ShowNetStartPane multiple times
2024-01-02 16:55:52 +01:00
Magnus Norddahl
da83b546ad Finish the error window implementation 2024-01-02 16:55:27 +01:00
Magnus Norddahl
19c2ea171d Implement launcher window base functionality 2024-01-02 16:55:27 +01:00
Magnus Norddahl
3f50136c8d Create initial error and netstart windows 2024-01-02 16:55:17 +01:00
Magnus Norddahl
113fdc5fcc Add zwidget 2024-01-02 16:54:51 +01:00