mirror of
https://github.com/labwc/labwc.git
synced 2025-11-07 13:30:06 -05:00
include/ssd.h remove unnecessary struct definition
Instead, just tag the struct so we can reference it.
This commit is contained in:
parent
5f62f2ba99
commit
4c981b845f
1 changed files with 5 additions and 7 deletions
|
|
@ -65,12 +65,6 @@ struct ssd_state_title_width {
|
||||||
bool truncated;
|
bool truncated;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ssd_state_title {
|
|
||||||
char *text;
|
|
||||||
struct ssd_state_title_width active;
|
|
||||||
struct ssd_state_title_width inactive;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ssd {
|
struct ssd {
|
||||||
bool enabled;
|
bool enabled;
|
||||||
struct wlr_scene_tree *tree;
|
struct wlr_scene_tree *tree;
|
||||||
|
|
@ -83,7 +77,11 @@ struct ssd {
|
||||||
struct {
|
struct {
|
||||||
int width;
|
int width;
|
||||||
int height;
|
int height;
|
||||||
struct ssd_state_title title;
|
struct ssd_state_title {
|
||||||
|
char *text;
|
||||||
|
struct ssd_state_title_width active;
|
||||||
|
struct ssd_state_title_width inactive;
|
||||||
|
} title;
|
||||||
} state;
|
} state;
|
||||||
|
|
||||||
/* An invisble area around the view which allows resizing */
|
/* An invisble area around the view which allows resizing */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue