Commit Graph

20 Commits

Author SHA1 Message Date
mebibytedraco
1f025dd55e Swap top window when destroying a window 2023-07-14 20:02:07 -04:00
TalonFox
aa60133fe0
Improve window dragging and add fetcher animation
Signed-off-by: TalonFox <105325988+TalonFox@users.noreply.github.com>
2023-07-12 12:41:11 -05:00
Ry
df9e7eb311 Fetcher: Initial commit
This commit includes needed kernel changes and additions.
2023-07-12 00:00:08 -07:00
Ry
713e447d7d kernel/window: Use consts for the window title bar colors 2023-03-30 15:48:05 -07:00
Ry
a72dbae40b kernel/window/messagebox: Fix incorrect comment 2023-03-30 15:47:04 -07:00
Ry
b919faaeb4 kernel/window: Update outdated comment 2023-02-06 23:57:50 -08:00
jn
ffdda5eaca Make use of data.strz
The filesystem image is the same before and after this commit:

$ sha256sum fox32os-orig.img fox32os.img
abc77bd6310b8eb6bcde0a8a442ca8bab071307a6cf5155ea606578435f77d27  fox32os-orig.img
abc77bd6310b8eb6bcde0a8a442ca8bab071307a6cf5155ea606578435f77d27  fox32os.img


The conversion was performed with a few sed commands:

find -name '*.asm' | xargs sed -i -e 's/data.str \("[^"]*"\) data.8 0$/data.strz \1/g'
find -name '*.asm' | xargs sed -i -e 's/data.str \("[^"]*"\) data.8 0 /data.strz \1 /g'
find -name '*.asm' | xargs sed -i -e 's/data.str \("[^"]*"\) data.8 0x00 /data.strz \1 /g'
2023-02-02 03:03:07 +01:00
Ry
0c3a0afc5f kernel: Make get_active_window_struct return 0 if no active window 2023-01-24 17:18:12 -08:00
Ry
cba8b52677 kernel: Add get_active_window_struct 2023-01-24 17:10:48 -08:00
Ry
70cecc8667 kernel: Always show the menu bar, even if the active window has none 2023-01-24 17:09:34 -08:00
Ry
2a4b5bef9b kernel: Implement basic messageboxes 2023-01-22 13:47:55 -08:00
Ry
1e6e925d08 kernel: Don't crash when all windows are closed 2022-12-28 00:05:15 -08:00
Ry
8ac2d2c0d4 kernel: Add a very basic GUI widget system 2022-12-27 18:01:55 -08:00
Ry
455a909255 kernel: Fix clicking menu item when different window is directly under 2022-12-25 14:51:36 -08:00
Ry
3b813afa72 kernel: Window manager now manages the menu bar per-window 2022-12-24 22:51:43 -08:00
Ry
b71d10ab63 kernel: Ensure new_window doesn't clobber r0 2022-12-24 01:29:00 -08:00
Ry
a68e584c82 kernel: A more complete window manager implementation
It's currently pretty buggy, but at least it's better than what we
had before :P
2022-12-23 22:26:16 -08:00
Ry
453e7f0e65 Make window titles semi-transparent 2022-10-05 21:02:56 -07:00
Ry
9512c40747 Prevent windows from being moved off-screen 2022-10-05 17:18:14 -07:00
Ry
89ee1342fe Start working on a very basic window manager 2022-10-05 16:15:36 -07:00