mirror of
https://github.com/labwc/labwc.git
synced 2026-04-10 08:21:07 -04:00
Add infrastructure to generatecustom highlight/lowlight
This commit is contained in:
parent
2591661005
commit
6dffb80d6a
9 changed files with 33 additions and 22 deletions
|
|
@ -18,6 +18,8 @@ struct borderset {
|
|||
enum border_type type;
|
||||
// So we can disambiguate multiple possible designs cached together
|
||||
int bevelSize;
|
||||
int highlight;
|
||||
int lowlight;
|
||||
struct lab_data_buffer *top;
|
||||
struct lab_data_buffer *left;
|
||||
struct lab_data_buffer *right;
|
||||
|
|
@ -45,9 +47,11 @@ struct bufferset {
|
|||
|
||||
extern struct borderset *border_cache;
|
||||
|
||||
struct borderset *get_borders(uint32_t id, int size, enum border_type, int bevelSize);
|
||||
struct borderset *get_borders(uint32_t id, int size, enum border_type, int bevelSize,
|
||||
int highlight, int lowlight);
|
||||
|
||||
struct borderset *create_buffer(uint32_t id, int size, enum border_type, int bevelSize);
|
||||
struct borderset *create_buffer(uint32_t id, int size, enum border_type, int bevelSize,
|
||||
int highlight, int lowlight);
|
||||
|
||||
struct bufferset *generate_bufferset(struct wlr_scene_tree *tree,
|
||||
struct borderset *borderset, int bw);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue