Commit Graph

62 Commits

Author SHA1 Message Date
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