Commit Graph

86 Commits

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