Start on texture on the main title bar segment

This commit is contained in:
Jack Zeal 2026-04-03 23:17:28 -07:00
parent 1c79213470
commit 59c37bc91b
6 changed files with 92 additions and 12 deletions

View file

@ -48,6 +48,8 @@ struct bufferset * generateBufferset(struct wlr_scene_tree * tree, struct border
void renderBufferset(struct bufferset *, int width, int height, int y);
void renderBuffersetXY(struct bufferset *, int width, int height, int x, int y);
void clearBorderCache(struct borderset *borderset);
#endif /* LABWC_LAB_SCENE_RECT_H */

View file

@ -106,6 +106,7 @@ struct ssd {
struct scaled_font_buffer *title;
struct wl_list buttons_left; /* ssd_button.link */
struct wl_list buttons_right; /* ssd_button.link */
struct bufferset * texturedBorders;
} subtrees[2]; /* indexed by enum ssd_active_state */
} titlebar;

View file

@ -57,6 +57,11 @@ struct theme_background {
float color_split_to[4];
float color_to[4];
float color_to_split_to[4];
enum border_type border_type;
int border_width;
int bevel_width;
bool exclusive;
};
struct theme {