Commit Graph

25 Commits

Author SHA1 Message Date
K. Lange
aae9596888 text: Unify 'ellipsify' implementation in text library 2023-06-07 10:15:31 +09:00
K. Lange
85e7a13607 decor: Use a different button icon for unmaximize 2023-05-05 08:18:26 +09:00
K. Lange
d2cff8331c decor: Improve buttons with hover states using focus hack 2023-04-26 18:32:33 +09:00
K. Lange
27d944c5cf decor: consider minimize button when collapsing titles 2023-04-15 08:44:41 +09:00
K. Lange
2a18c192e4 yutani: window minimization, first pass 2023-04-14 20:52:01 +09:00
K. Lange
f676ff4295 decorations: try to be a bit smarter about drawing titlebar elements 2021-09-13 19:39:04 +09:00
K. Lange
9d609d15df decorations: Use a single spritesheet for window borders 2021-09-13 18:34:56 +09:00
K. Lange
4d68b0bc4a text: bring back shm-stored fonts provided by compositor 2021-08-28 14:50:52 +09:00
K. Lange
f67b5425dd text: Switch several apps/libs to new text library 2021-07-06 09:39:52 +09:00
K. Lange
18f46976f8 text: Introduce new TrueType implementation 2021-07-06 00:36:46 +09:00
K. Lange
7dfb9c34ce png: replace several BMP assets with PNGs 2020-04-24 14:30:12 +09:00
K. Lange
e5996aa4b4 graphics: remove unneeded ALPHA_EMBEDDED's in libs 2020-04-23 20:55:27 +09:00
K. Lange
c6dfe69bba decorations: restore the original font size for decorations 2018-11-30 21:50:42 +09:00
K. Lange
f7eb386d81 decorations: single pixel exposed edges on tiled windows 2018-10-11 09:53:55 +09:00
K. Lange
9703594bf3 decor-fancy: remove the 1-px border around tiled decorations
I want to add some additional hints to the decorator so that
tiled windows can have a border on their exposed side, eg.
a left-tiled window will have a border on the right. Then
the compositor will size them to account for adding that one
pixel border - which is kinda specific to this design, but
I think it'll work out okay. Other decoration themes will
either have to follow suit, or I can have the decorator
advertise how it wants it decoration bounds to work in regards
to a tiled window.
2018-10-11 08:31:28 +09:00
K. Lange
aaa8b4f81e Freetype in decorations 2018-09-24 15:06:42 +09:00
K. Lange
c161bce0ac Render fullscreen windows without shadow gap 2018-09-12 13:22:34 +09:00
K. Lange
6e6675dd0a Restructure decorations so bounds can be window-specific (for fullscreen) 2018-09-12 12:53:08 +09:00
K. Lange
5b5462fb72 Library cleanup 2018-08-14 17:24:25 +09:00
K. Lange
16200d76f1 Allow apps to opt out of a maximize button 2018-05-19 16:05:17 +09:00
K. Lange
8e07883088 Enable and resolve several warnings 2018-04-25 14:03:29 +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
5aead12a89 Support multiple fonts 2018-04-18 18:05:19 +09:00
K. Lange
a8ddac6ff2 use SDF in decorations 2018-04-18 14:53:04 +09:00
K. Lange
592541ef7f Decoration themes should be no different from other libraries 2018-04-17 22:39:39 +09:00