Commit Graph

231 Commits

Author SHA1 Message Date
K. Lange
52e395427e Change background color of fallback decoration theme 2018-06-09 16:40:11 +09:00
K. Lange
74e4ee5f56 Add basic numpad support 2018-06-08 15:11:41 +09:00
K. Lange
f710c872b8 make menu bar less picky about clicks 2018-05-22 18:42:05 +09:00
K. Lange
49850c0067 Try not to put menus off screen 2018-05-21 19:52:00 +09:00
K. Lange
d6afa06c80 Menu bar in a separate library 2018-05-20 16:47:35 +09:00
K. Lange
8442d4494c Expose more methods from menu library 2018-05-20 12:37:22 +09:00
K. Lange
eacdd97287 Handle nested menus extending past display width 2018-05-20 11:22:15 +09:00
K. Lange
50b21b080d Cleanup and fixes 2018-05-19 19:43:00 +09:00
K. Lange
910973bec7 *experimental* nested menus support 2018-05-19 19:05:27 +09:00
K. Lange
16200d76f1 Allow apps to opt out of a maximize button 2018-05-19 16:05:17 +09:00
K. Lange
4ff96e4bdf Store large clipboard selections in a file 2018-05-15 14:54:22 +09:00
K. Lange
ee1aeb89b2 Clipboard in compositor 2018-05-15 14:39:07 +09:00
K. Lange
d03c02e6ae Bound SDF text rendering properly 2018-05-11 22:59:12 +09:00
K. Lange
ffa4bd7360 Add login, sudo, user session, auth lib, etc. 2018-05-10 22:33:32 +09:00
K. Lange
b6d6d8900e include pthread in libc 2018-05-09 21:26:45 +09:00
K. Lange
da909e4f79 Add confreader library 2018-05-08 23:04:49 +09:00
K. Lange
8ccbcb001c Allow switching rendering mode in terminal on the fly 2018-05-08 17:16:58 +09:00
K. Lange
4c873f9fde Remove traces from sdf 2018-05-08 17:05:57 +09:00
K. Lange
d67021d7b8 Store SDF fonts in shared memory regions 2018-05-08 17:03:13 +09:00
K. Lange
4818a8cc43 Add more monospace font options and support 8-bit grayscale bitmaps 2018-05-08 15:41:12 +09:00
K. Lange
db4337f17b Improvements to SDF impl., and support in terminal 2018-05-08 11:27:44 +09:00
K. Lange
4beac973ef Store kerning overrides for SDF fonts in a config file 2018-05-07 17:49:06 +09:00
K. Lange
5cf95b4fc0 Fix alpha handling resulting in no images with 24-bit bmp 2018-05-04 13:16:22 +09:00
K. Lange
557f578574 Don't use my given name in copyright headers; update everything to 2018 because why not 2018-05-01 17:12:56 +09:00
K. Lange
037f055549 Send WINDOW_CLOSE instead of SESSION_END on Alt+F4 and handle that as a close signal 2018-04-27 22:38:36 +09:00
K. Lange
8516e44a20 Remove debug prints from decorations 2018-04-27 22:25:05 +09:00
K. Lange
f8d2b8d3a3 Experimental decorator menu stuff 2018-04-27 22:14:08 +09:00
K. Lange
5129394b07 Handle more stuff automatically in yutani 2018-04-27 22:13:42 +09:00
K. Lange
0e65e6559c Menu library improvements 2018-04-27 21:30:51 +09:00
K. Lange
b1c86b448d Automatically track window movement in the client 2018-04-27 21:30:21 +09:00
K. Lange
4ac2f3d4a2 Fix separators crashing on click because they had no activate method 2018-04-25 21:44:17 +09:00
K. Lange
5004ea8c5d Fix icon cache using wrong data for 48x48 icons 2018-04-25 19:51:50 +09:00
K. Lange
0037a2e84a Remove unused header 2018-04-25 17:42:14 +09:00
K. Lange
95542acded Remove the old API and don't make the new one static inline 2018-04-25 17:41:30 +09:00
K. Lange
0c4b4e3344 Have yutani messages built on the stack instead of malloc/free 2018-04-25 17:30:28 +09:00
K. Lange
8e07883088 Enable and resolve several warnings 2018-04-25 14:03:29 +09:00
K. Lange
2de4d9bae2 Menu windows shouldn't zoom in, only fade 2018-04-24 21:41:19 +09:00
K. Lange
216239f601 Adapt menu library into panel 2018-04-24 21:32:39 +09:00
K. Lange
86134cca5d At least attempt to handle focus loss 2018-04-24 21:19:06 +09:00
K. Lange
34d1a58be7 Menus as a library (WIP) 2018-04-24 20:58:41 +09:00
K. Lange
e1d67ec921 new graphics method interp_colors 2018-04-24 20:27:15 +09:00
K. Lange
a7cd9eb54b Icon cache library 2018-04-24 20:25:42 +09:00
K. Lange
5dd763780a Unify list, tree, hashmap implementations with userspace/kernel 2018-04-24 19:28:50 +09:00
K. Lange
3552b72cdc Remove guassian blur (third-party code) 2018-04-21 21:50:59 +09:00
K. Lange
0b2b0dc299 Kerning adjustments 2018-04-21 20:55:19 +09:00
K. Lange
07fd0519dd Add text back to the simple decoration theme using SDF 2018-04-21 20:15:30 +09:00
K. Lange
96e3db9089 Lock on creating caches so we work better across threads 2018-04-21 20:14:11 +09:00
K. Lange
556ff8e343 Add maximize as an action
- Remove the deprecated timer request API.
- Add a new "Special Request" API for things like "maximize" / "minimize"
  etc. that takes an optional window ID. Expects no response, useful for
  one-off triggers like this.
- Add maximize button to fancy decoration theme and general support in
  decoration library.
2018-04-21 19:24:55 +09:00
K. Lange
f9196a3181 Cache scaled SDF mipmaps for faster rendering 2018-04-21 17:24:55 +09:00
K. Lange
629a4f373f text passed to sdf should be const 2018-04-21 16:28:57 +09:00
K. Lange
64f2fa083e Why are we not premultiplying our ARGB bitmaps... 2018-04-21 16:28:38 +09:00
K. Lange
58e0184bb2 I should stop individually comitting these 2018-04-18 18:35:56 +09:00
K. Lange
04901894ae better kerning on '.' 2018-04-18 18:17:28 +09:00
K. Lange
091f35f2e2 More text adjustment 2018-04-18 18:14:28 +09:00
K. Lange
2b4b4a771b More kerning adjustments 2018-04-18 18:09:44 +09:00
K. Lange
5aead12a89 Support multiple fonts 2018-04-18 18:05:19 +09:00
K. Lange
93b57bea2c More kerning adjustments 2018-04-18 15:19:34 +09:00
K. Lange
d362110648 Avoid awkward clipping by always overrunning a bit 2018-04-18 15:17:36 +09:00
K. Lange
636a3b1693 Fix up some kerning, use this in the panel 2018-04-18 15:15:11 +09:00
K. Lange
a8ddac6ff2 use SDF in decorations 2018-04-18 14:53:04 +09:00
K. Lange
2b3c21be22 lib improvements 2018-04-18 14:36:28 +09:00
K. Lange
4ebeee76db wip sdf font renderer 2018-04-18 13:27:37 +09:00
K. Lange
592541ef7f Decoration themes should be no different from other libraries 2018-04-17 22:39:39 +09:00
K. Lange
7561589610 Port old (C) panel 2018-04-17 20:03:19 +09:00
K. Lange
4458dede7f fix fencepost in clipping 2018-04-17 19:01:51 +09:00
K. Lange
6b4f25a38e Fixup graphics clipping with bad bounds 2018-04-17 18:52:57 +09:00
K. Lange
9335951644 super silly clip implementation 2018-03-29 22:43:38 +09:00
K. Lange
9f6c409d2d First SSE2-accelerated alpha blit 2018-03-29 21:34:08 +09:00
K. Lange
1355502e6c Reorganize headers 2018-03-19 11:38:11 +09:00
K. Lange
2405387ad9 Relocate dlfcn.h 2018-03-17 17:57:04 +09:00
K. Lange
d56c9801ab More efficient screen blitting 2018-03-17 13:04:02 +09:00
K. Lange
690a47836a Fix kernel-used includes and libraries 2018-03-16 18:27:01 +09:00
K. Lange
7c6cd9c531 Add VGA terminal 2018-03-04 22:50:53 +09:00
K. Lange
adb38a1a8a extern all the things 2018-03-01 23:15:37 +09:00
K. Lange
476fbb5ad1 Draw more text 2018-03-01 15:10:57 +09:00
K. Lange
6af9cff0ff fixup clips 2018-03-01 12:53:18 +09:00
K. Lange
0cbfde23da naïve row-based clipping 2018-03-01 12:34:58 +09:00
K. Lange
06997fe709 Fix incorrect color ordering on 32-bit argb bitmap 2018-02-25 21:51:52 +09:00
K. Lange
877a123088 add tree, not used yet 2018-02-25 18:25:05 +09:00
K. Lange
8cd1bd4b8a just gobs of stuff 2018-02-25 17:14:43 +09:00
K. Lange
a1f60853ed init 2018-02-25 14:13:54 +09:00