mirror of
https://github.com/labwc/labwc.git
synced 2026-03-06 01:40:15 -05:00
common: add node-type.c/h (renaming ssd_part_type to lab_node_type)
ssd_part_type contains several node types that are not actually part of server-side decorations (ROOT, MENU, OSD, etc.) Rename it accordingly and move it to a common location, along with some related conversion/comparison functions.
This commit is contained in:
parent
502473f343
commit
1188534876
28 changed files with 345 additions and 315 deletions
|
|
@ -10,8 +10,8 @@
|
|||
#include "common/border.h"
|
||||
#include "common/buf.h"
|
||||
#include "common/font.h"
|
||||
#include "common/node-type.h"
|
||||
#include "config/types.h"
|
||||
#include "ssd.h"
|
||||
|
||||
#define BUTTON_MAP_MAX 16
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ struct button_map_entry {
|
|||
};
|
||||
|
||||
struct title_button {
|
||||
enum ssd_part_type type;
|
||||
enum lab_node_type type;
|
||||
struct wl_list link;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue