Commit graph

66 commits

Author SHA1 Message Date
9309b5fe83 remove old hacks from wayland code, including MwLLBeginDraw and MwLLEndDraw which was really only ever needed for wayland and not anymore 2026-03-18 19:24:51 -07:00
0fde05fa03 fix some parts 2026-03-08 07:06:12 +09:00
e09eccbf5f refactor font.c into an MwFL section (#9)
Reviewed-on: https://gitea.nishi.boats/pyrite-dev/milsko/pulls/9
Co-authored-by: IoIxD <alphaproject217@gmail.com>
Co-committed-by: IoIxD <alphaproject217@gmail.com>
2026-03-04 13:59:28 -06:00
8b28b3e1b0 might be functional 2026-01-27 17:34:25 +09:00
04f1a94cb5 cocoa: attempted drawing 2026-01-14 17:13:12 -07:00
e73964882e renamed appkit backend to cocoa and got something that compiles 2026-01-09 21:35:23 -07:00
2d3bd9213e appkit 2026-01-09 14:43:44 -07:00
54cdd85015 coords 2026-01-04 13:06:36 -07:00
72820e87f1
rename clipboard_received to clipboard 2025-12-31 04:35:10 +09:00
4bdda59693 better api for clipboard 2025-12-31 04:29:13 +09:00
1e74356db7
method name consistency 2025-12-15 07:05:42 +09:00
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
218f8fa9cf
remove MwLLSetBackground 2025-12-07 10:40:40 +09:00
2a268c56f1
remove svn keywords 2025-12-05 07:43:04 +09:00
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
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
d722d9da58 move
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@754 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-18 16:19:05 +00:00
b7fee743dc add doc
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@706 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-14 12:13:31 +00:00
c0cb14ad4a move
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@704 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-14 10:52:44 +00:00
2b7e1986a2 check for backend
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@688 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-13 05:46:06 +00:00
3ee0a02cf2 typedef
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@684 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-13 02:29:28 +00:00
295e685f54 backend refactor
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@683 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-13 02:27:31 +00:00
b0ea597d62 add MwLibraryInit
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@680 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-13 01:30:10 +00:00
b617d147c3 move some to lowlevel
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@675 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-12 18:37:07 +00:00
b34054e916 abstract
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@604 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-05 04:29:01 +00:00
1640c834b5 wip. work on clipboard
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@581 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-03 19:05:33 +00:00
263e26ceb9 some redesign
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@572 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-02 20:42:06 +00:00
95771fddd9 probably better
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@571 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-02 20:08:42 +00:00
971ef1b827 closes #10
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@570 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-02 19:15:38 +00:00
603997c082 remove old document
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@499 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-28 20:40:26 +00:00
f9b061aac8 j
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@402 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-17 19:20:03 +00:00
15e604f711 j
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@401 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-17 19:18:44 +00:00
599b1ee0c8 stuff
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@400 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-17 19:11:32 +00:00
f71ab6184b add dirent wrapper
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@344 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-15 16:17:47 +00:00
27bf409a88 less flickering for x11
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@322 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-14 10:34:05 +00:00
6fe9770bf8 new function
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@317 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-14 06:56:03 +00:00
116b57cff0 fix tick things
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@307 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-13 12:39:37 +00:00
28250bbaab borderless
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@303 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-13 06:30:36 +00:00
3f97e021b2 works on gdi too
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@279 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-11 16:22:20 +00:00
f04ce54392 update
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@272 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-11 13:59:36 +00:00
d03ccea517 better api for mouse
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@269 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-11 13:01:41 +00:00
a5dae3ffd9 more handler
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@268 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-11 11:46:28 +00:00
927f9577ca more keys
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@267 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-11 11:39:41 +00:00
22b6c60f45 messagebox
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@257 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-11 06:21:43 +00:00
69517263b0 text seems functional
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@235 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-09 03:21:19 +00:00
662f5796c5 wip
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@233 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-08 18:42:01 +00:00
7b0173e7c4 fix sloppy focus
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@231 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-08 18:03:46 +00:00
cc0b61f0ab add new function
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@188 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-07 02:26:40 +00:00
IoIxD
26a522d035 mac: get it compiling. remove preQuartz.h (will add something better later) and rename the 'quickdraw' target to carbon
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@184 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-06 21:01:50 +00:00
8dac5bd0f0 add detach
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@183 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-06 12:41:27 +00:00