Commit Graph

50 Commits

Author SHA1 Message Date
Juhani Krekelä cb77e27fb2 Allow opening text files by clicking on them in the file window 2023-03-29 13:04:47 +03:00
Juhani Krekelä d762793c1c Fix bug where too short of a filename would not give launch error dialog 2023-03-27 20:40:01 +03:00
Juhani Krekelä f1ee23251e Allow shell to be launched for another file window 2023-03-27 14:45:39 +03:00
Juhani Krekelä ad4c9a2209 Complete shell refactor 2023-03-27 14:08:48 +03:00
shikhin 75a9a51191 Add error handling and popups in viewer 2023-03-27 16:04:52 +05:30
Juhani Krekelä 68570ff2ad Add a non-launchable-file error dialog to shell 2023-03-27 12:39:22 +03:00
Juhani Krekelä faf66bbdb8 Add an out-of-memory error dialog to shell 2023-03-27 12:23:07 +03:00
shikhin 86050094eb Fix mouse comparisons for shell 2023-03-27 14:35:41 +05:30
Juhani Krekelä f726a128ed Use WINDOW_ID_* when constructing window IDs in shell 2023-03-27 11:38:37 +03:00
Juhani Krekelä feffd0cb28 Divide shell.asm logically into sections 2023-03-27 11:34:21 +03:00
Juhani Krekelä 71444f5ce7 Name window IDs in shell 2023-03-27 11:23:59 +03:00
Juhani Krekelä 28423d0de3 Re-render file window in shell if directory has changed 2023-03-27 11:16:58 +03:00
shikhin ef119b1e1b Remove strlen from viewer 2023-03-26 20:13:04 +05:30
Juhani Krekelä bd9a62c1ce Properly access directory when launching files 2023-03-23 18:27:40 +02:00
Juhani Krekelä 572362f04f Properly read the file names from the directory in shell 2023-03-23 18:21:03 +02:00
Juhani Krekelä f73f122385 Add example program hello.asm 2023-03-23 13:54:06 +02:00
shikhin 68157372d6 Reduce flickering while resizing windows 2023-03-23 08:34:27 +05:30
Juhani Krekelä 0fb48bdfb0 Remove for-testing keyboard handler from shell 2023-03-23 12:36:58 +02:00
Juhani Krekelä 3b2cfd18c3 Add resize icon to file window 2023-03-23 12:35:43 +02:00
Juhani Krekelä db112ec4b3 Fix coming out of resize if mouse is not above the window 2023-03-23 12:33:12 +02:00
Juhani Krekelä f4df788d11 Reduce flickering while moving windows 2023-03-23 12:28:42 +02:00
Juhani Krekelä 1ef3695608 Allow moving windows off the left side of screen 2023-03-23 12:25:11 +02:00
shikhin b2697f2bff Limit size of windows and don't print outside screen region 2023-03-23 07:52:03 +05:30
shikhin 69e80e9ec5 Move file window buffer into bss 2023-03-23 07:30:30 +05:30
shikhin 89f2e15d0b Add window resizing 2023-03-23 07:20:41 +05:30
shikhin f4b0adc4da Add moving windows 2023-03-23 06:20:45 +05:30
Juhani Krekelä be727d8757 Allow changing wallpapers from shell 2023-03-23 00:54:35 +02:00
Juhani Krekelä 6ebb889fcf Allow launching programs from the shell 2023-03-23 00:41:12 +02:00
Juhani Krekelä 5df22c3912 Properly pass window size to print_ls 2023-03-22 21:17:02 +02:00
Juhani Krekelä ee52411954 Resize file window so that it can display full directory 2023-03-22 21:03:10 +02:00
Juhani Krekelä ad03a04979 Populate file window contents on open 2023-03-22 20:57:19 +02:00
Juhani Krekelä bffa0c06a2 Implement closing the file window 2023-03-22 20:54:57 +02:00
Juhani Krekelä 59535b12f9 Implement clickable icon on desktop 2023-03-22 20:41:02 +02:00
Juhani Krekelä b0cebaee4b Add CrazyEttin's pony wallpaper 2023-03-22 19:30:49 +02:00
Juhani Krekelä 787cc81798 Use the extension .wall for wallpapers 2023-03-22 19:28:58 +02:00
Juhani Krekelä 313453f5b3 Implement window unhooking 2023-03-20 21:42:59 +02:00
Juhani Krekelä cd98221d85 Add keyboard event handler to shell 2023-03-20 20:53:13 +02:00
Juhani Krekelä 13c69db33d Add keyboard events 2023-03-20 20:46:29 +02:00
Juhani Krekelä 744da780f3 Implement mouse events 2023-03-20 20:18:49 +02:00
Juhani Krekelä ae17e6380f Separate entry points for initialization and WM events for programs 2023-03-20 18:33:27 +02:00
Juhani Krekelä f51b9458da Fix redraw handling 2023-03-20 18:23:11 +02:00
shikhin 140b191c0a Add file sizes to ls. 2023-03-20 16:11:46 +05:30
shikhin 1bb62d1887 Add rudimentary ls 2023-03-20 14:30:57 +05:30
shikhin b38f9a663c Can now not create a file with open_file 2023-03-19 20:32:10 +05:30
shikhin b3df18bb04 Switch from read_sectors to modify_sectors; return dirent in open_file 2023-03-19 20:09:35 +05:30
Juhani Krekelä 4cd5c0632a Overlap the windows 2023-03-19 20:52:54 +02:00
Juhani Krekelä d725407c5b Add windows 2023-03-19 20:50:24 +02:00
Juhani Krekelä 651480c91e Implement SYS_DRAW_RECT 2023-03-19 16:23:30 +02:00
Juhani Krekelä 514cf5441f Move wallpaper loading to shell 2023-03-18 15:55:53 +02:00
Juhani Krekelä f39f25a4c1 Start work on shell 2023-03-18 01:05:32 +02:00