mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
Start on texture on the main title bar segment
This commit is contained in:
parent
1c79213470
commit
59c37bc91b
6 changed files with 92 additions and 12 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue