Commit Graph

210 Commits

Author SHA1 Message Date
NishiOwO
85df90ceaf what did i even change? 2026-01-06 00:54:00 +09:00
IoIxD
d3751c0bf9 submenu: just don't adjust if there's no global coordinates, there's not much of another way 2026-01-04 18:25:33 -07:00
IoIxD
54cdd85015 coords 2026-01-04 13:06:36 -07:00
IoIxD
d784770ca9 wayland: popup positioning 2026-01-04 13:01:50 -07:00
IoIxD
12f279e83a wayland: ensure every event callback uses the mutex 2026-01-04 11:40:34 -07:00
IoIxD
a148b3bedf wayland: use mutexes to ensure that MwLLDestroyImpl never conflicts with wayland events. 2026-01-03 18:27:34 -07:00
IoIxD
bed668b84a wayland: fix misc. crashes on the destruction of widgets 2026-01-02 14:19:48 -07:00
IoIxD
f32f6cefc0 wayland: accidentally removed event_loop call from MwLLNextEventImpl 2025-12-30 22:44:04 -07:00
IoIxD
f3683dece3 undo HAS_OPENGL stuff 2025-12-30 22:38:01 -07:00
IoIxD
6946c1eaf3 wayland: opengl support 2025-12-30 22:26:19 -07:00
IoIxD
324257c43f wayland: no pthreads needed 2025-12-30 19:15:33 -07:00
IoIxD
bed63dd245 clipboard: fix syntax 2025-12-30 17:14:39 -07:00
IoIxD
67bd6029af wayland: finish clipboard 2025-12-30 17:12:12 -07:00
NishiOwO
72820e87f1 rename clipboard_received to clipboard 2025-12-31 04:35:10 +09:00
NishiOwO
d3147ac087 format 2025-12-31 04:29:27 +09:00
NishiOwO
4bdda59693 better api for clipboard 2025-12-31 04:29:13 +09:00
NishiOwO
823c865791 handle WM_DELETE_WINDOW better 2025-12-31 00:48:44 +09:00
IoIxD
a384add9e9 wayland: properly do MwLLPending and MwLLNextEvent 2025-12-18 23:50:03 -07:00
IoIxD
6123fd1304 wayland: implement tool windows. add destructors for protocols 2025-12-18 23:32:51 -07:00
IoIxD
b7488b9440 wayland: seperate MwLLPending and MwLLNextEvent 2025-12-18 19:59:40 -07:00
IoIxD
18511dec2f wayland: remove a few unused fields 2025-12-18 18:27:44 -07:00
IoIxD
59ff6f1008 wayland: add icon support 2025-12-18 18:21:57 -07:00
IoIxD
a27a01ce41 wayland: MwLLGetClipboardImpl. 2025-12-18 17:46:23 -07:00
IoIxD
b0f4713ff1 wayland: remove unused cursor_shape 2025-12-18 13:46:22 -07:00
IoIxD
8d4e845e7c wayland: MwLLGetScreenSize 2025-12-18 13:43:45 -07:00
IoIxD
aeaf0a4547 wayland: MwLLGetCursorCoordImpl 2025-12-18 13:16:16 -07:00
IoIxD
d8c08f80d6 wayland: cursor support 2025-12-18 13:15:03 -07:00
IoIxD
c6e7421b31 wayland: key modifiers 2025-12-18 11:36:04 -07:00
IoIxD
a815998ace wayland: fix pointer 2025-12-18 11:26:51 -07:00
NishiOwO
72fbba1a74 force aliasing 2025-12-18 12:24:06 +09:00
IoIxD
b8a92f4ae0 wayland: buffer destroy/recreate in SetWHImpl too 2025-12-17 19:44:15 -07:00
IoIxD
724b008220 impl resizing in wayland 2025-12-17 19:41:05 -07:00
IoIxD
320de34ce8 remove opengl from wayland in favor of cairo 2025-12-17 19:14:54 -07:00
NishiOwO
cf4fdc531a update color things 2025-12-15 06:48:40 +09:00
NishiOwO
f9c0ec987e improvement 2025-12-12 17:51:26 +09:00
NishiOwO
0c8715ec9f bugfix 2025-12-12 17:26:57 +09:00
NishiOwO
bbc27d680a that is simply wrong 2025-12-10 12:57:40 +09:00
IoIxD
9a4c74ad93 Unfinished Wayland PR (#1)
moved from the github repo.

current progress:

<img width="389" alt="image.png" src="attachments/6a2cb365-7348-44b4-8fa7-9980df965a67">

Other notes:

- took the opportunity to remove MwLLSetBackground which I was told was deprecated
- Updated .gitignore to more accurately cover/remove example binaries
- Uses OpenGL as the backend.
- New LL function for swapping buffers, MwLLEndDraw
- [TODO] Uses weak linking for all libraries so that systems that don't support Wayland or even have it installed can launch without it.

Reviewed-on: https://gitea.nishi.boats/pyrite-dev/milsko/pulls/1
Co-authored-by: IoIxD <alphaproject217@gmail.com>
Co-committed-by: IoIxD <alphaproject217@gmail.com>
2025-12-09 20:11:01 -06:00
NishiOwO
6f331d613d make cursor related functions public 2025-12-08 14:42:16 +09:00
NishiOwO
b239dd3819 some useful function 2025-12-08 14:38:01 +09:00
NishiOwO
b9796e99d5 tiny fix 2025-12-08 00:32:56 +09:00
NishiOwO
218f8fa9cf remove MwLLSetBackground 2025-12-07 10:40:40 +09:00
NishiOwO
71cb96b06e make gdi rendering a little bit faster 2025-12-07 07:10:20 +09:00
NishiOwO
e397f40485 format 2025-12-07 03:43:14 +09:00
NishiOwO
cc05431879 fix display leak 2025-12-05 13:08:27 +09:00
NishiOwO
2a268c56f1 remove svn keywords 2025-12-05 07:43:04 +09:00
NishiOwO
30bdc7445a no more warning 2025-12-02 10:39:02 +09:00
NishiOwO
47f25a93e0 add get screen size
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@825 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-28 17:11:21 +00:00
NishiOwO
d12279501c fix
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@814 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-25 20:47:21 +00:00
NishiOwO
f2bbadf62b update
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@813 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-25 20:21:15 +00:00