mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Make label transparent by default.
Use nice darker blue for default background.
This commit is contained in:
parent
4725018886
commit
445a252644
@ -157,13 +157,13 @@ Desktop::Desktop() : DESKTOP_WINDOW(0, 0, 100, 100, "") {
|
|||||||
gisett->label_foreground = FL_WHITE;
|
gisett->label_foreground = FL_WHITE;
|
||||||
gisett->label_fontsize = 12;
|
gisett->label_fontsize = 12;
|
||||||
gisett->label_maxwidth = 75;
|
gisett->label_maxwidth = 75;
|
||||||
gisett->label_transparent = false;
|
gisett->label_transparent = true;
|
||||||
gisett->label_draw = true;
|
gisett->label_draw = true;
|
||||||
gisett->one_click_exec = false;
|
gisett->one_click_exec = false;
|
||||||
gisett->auto_arrange = true;
|
gisett->auto_arrange = true;
|
||||||
|
|
||||||
/* default background color */
|
/* default background color */
|
||||||
color(FL_GRAY);
|
color(fl_rgb_color(73, 64, 102));
|
||||||
}
|
}
|
||||||
|
|
||||||
Desktop::~Desktop() {
|
Desktop::~Desktop() {
|
||||||
@ -306,7 +306,9 @@ void Desktop::read_config(void) {
|
|||||||
char wpath[256];
|
char wpath[256];
|
||||||
int bcolor, wmode;
|
int bcolor, wmode;
|
||||||
|
|
||||||
conf.get("Desktop", "color", bcolor, FL_GRAY);
|
/* use nice darker blue color as default for background */
|
||||||
|
conf.get("Desktop", "color", bcolor, fl_rgb_color(73, 64, 102));
|
||||||
|
|
||||||
conf.get("Desktop", "wallpaper_use", wuse, false);
|
conf.get("Desktop", "wallpaper_use", wuse, false);
|
||||||
conf.get("Desktop", "wallpaper", wpath, sizeof(wpath));
|
conf.get("Desktop", "wallpaper", wpath, sizeof(wpath));
|
||||||
conf.get("Desktop", "wallpaper_mode", wmode, WALLPAPER_CENTER);
|
conf.get("Desktop", "wallpaper_mode", wmode, WALLPAPER_CENTER);
|
||||||
@ -316,7 +318,7 @@ void Desktop::read_config(void) {
|
|||||||
conf.get("Icons", "label_foreground", gisett->label_foreground, FL_WHITE);
|
conf.get("Icons", "label_foreground", gisett->label_foreground, FL_WHITE);
|
||||||
conf.get("Icons", "label_fontsize", gisett->label_fontsize, 12);
|
conf.get("Icons", "label_fontsize", gisett->label_fontsize, 12);
|
||||||
conf.get("Icons", "label_maxwidth", gisett->label_maxwidth, 75);
|
conf.get("Icons", "label_maxwidth", gisett->label_maxwidth, 75);
|
||||||
conf.get("Icons", "label_transparent",gisett->label_transparent, false);
|
conf.get("Icons", "label_transparent",gisett->label_transparent, true);
|
||||||
conf.get("Icons", "label_visible", gisett->label_draw, true);
|
conf.get("Icons", "label_visible", gisett->label_draw, true);
|
||||||
conf.get("Icons", "one_click_exec", gisett->one_click_exec, false);
|
conf.get("Icons", "one_click_exec", gisett->one_click_exec, false);
|
||||||
conf.get("Icons", "auto_arrange", gisett->auto_arrange, true);
|
conf.get("Icons", "auto_arrange", gisett->auto_arrange, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user