deco: new decoration, ‘border’

Kind of like “underline”, but draws a border around the entire
particle.
This commit is contained in:
Daniel Eklöf 2021-10-22 18:08:39 +02:00
parent c9abb6b98f
commit f0782d5124
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 97 additions and 1 deletions

View file

@ -1,7 +1,7 @@
deco_sdk = declare_dependency(dependencies: [pixman, tllist, fcft])
decorations = []
foreach deco : ['background', 'stack', 'underline']
foreach deco : ['background', 'border', 'stack', 'underline']
if plugs_as_libs
shared_module('@0@'.format(deco), '@0@.c'.format(deco),
dependencies: deco_sdk,