mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
menu separator
changes to make separators work with/without label, added text color, font selection and center justification for label headers
This commit is contained in:
parent
8ce564551d
commit
6ff0d0a675
14 changed files with 95 additions and 9 deletions
|
|
@ -6,7 +6,8 @@ struct lab_data_buffer;
|
|||
|
||||
enum font_slant {
|
||||
FONT_SLANT_NORMAL = 0,
|
||||
FONT_SLANT_ITALIC
|
||||
FONT_SLANT_ITALIC,
|
||||
FONT_SLANT_OBLIQUE
|
||||
};
|
||||
|
||||
enum font_weight {
|
||||
|
|
|
|||
|
|
@ -86,6 +86,7 @@ struct rcxml {
|
|||
bool shadows_enabled;
|
||||
struct font font_activewindow;
|
||||
struct font font_inactivewindow;
|
||||
struct font font_menuheader;
|
||||
struct font font_menuitem;
|
||||
struct font font_osd;
|
||||
|
||||
|
|
|
|||
|
|
@ -135,4 +135,7 @@ void menu_close_root(struct server *server);
|
|||
/* menu_reconfigure - reload theme and content */
|
||||
void menu_reconfigure(struct server *server);
|
||||
|
||||
void create_client_send_to_menu(struct server *server);
|
||||
void create_client_list_combined_menu(struct server *server);
|
||||
|
||||
#endif /* LABWC_MENU_H */
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ struct theme {
|
|||
float window_active_label_text_color[4];
|
||||
float window_inactive_label_text_color[4];
|
||||
enum lab_justification window_label_text_justify;
|
||||
enum lab_justification menu_title_text_justify;
|
||||
|
||||
/* button width */
|
||||
int window_button_width;
|
||||
|
|
@ -77,6 +78,7 @@ struct theme {
|
|||
float menu_separator_color[4];
|
||||
|
||||
float menu_title_bg_color[4];
|
||||
float menu_title_text_color[4];
|
||||
|
||||
int osd_border_width;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue