mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
Move magnifier settings into theme
This commit is contained in:
parent
15f35ed2ba
commit
19a57c6ea4
5 changed files with 62 additions and 79 deletions
|
|
@ -41,12 +41,6 @@ struct usable_area_override {
|
|||
struct wl_list link; /* struct rcxml.usable_area_overrides */
|
||||
};
|
||||
|
||||
struct rgb_colour {
|
||||
int r;
|
||||
int g;
|
||||
int b;
|
||||
};
|
||||
|
||||
struct rcxml {
|
||||
/* from command line */
|
||||
char *config_dir;
|
||||
|
|
@ -146,14 +140,6 @@ struct rcxml {
|
|||
|
||||
/* Menu */
|
||||
unsigned int menu_ignore_button_release_period;
|
||||
|
||||
/* magnifier */
|
||||
int mag_scale;
|
||||
int mag_width;
|
||||
int mag_height;
|
||||
struct rgb_colour mag_border_col;
|
||||
int mag_border_width;
|
||||
bool mag_filter;
|
||||
};
|
||||
|
||||
extern struct rcxml rc;
|
||||
|
|
|
|||
|
|
@ -139,6 +139,14 @@ struct theme {
|
|||
|
||||
/* not set in rc.xml/themerc, but derived from font & padding_height */
|
||||
int osd_window_switcher_item_height;
|
||||
|
||||
/* magnifier */
|
||||
int mag_scale;
|
||||
int mag_width;
|
||||
int mag_height;
|
||||
float mag_border_color[4];
|
||||
int mag_border_width;
|
||||
int mag_filter;
|
||||
};
|
||||
|
||||
struct server;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue