mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-15 17:47:09 +00:00
gui: remove background_color from gui.cc and window_type/window_hints from gui.h
This commit is contained in:
parent
2a4f5216c1
commit
8973b58299
@ -235,8 +235,6 @@ conky::simple_config_setting<window_type> own_window_type("own_window_type",
|
||||
conky::simple_config_setting<uint16_t, window_hints_traits> own_window_hints(
|
||||
"own_window_hints", 0, false);
|
||||
|
||||
priv::colour_setting background_colour("own_window_colour", 0);
|
||||
|
||||
#ifdef BUILD_ARGB
|
||||
conky::range_config_setting<int> own_window_argb_value("own_window_argb_value",
|
||||
0, 255, 255, false);
|
||||
|
24
src/gui.h
24
src/gui.h
@ -26,28 +26,13 @@
|
||||
#ifndef GUI_H_
|
||||
#define GUI_H_
|
||||
|
||||
#ifdef BUILD_X11
|
||||
#include "x11.h"
|
||||
#endif /*BUILD_X11*/
|
||||
|
||||
#include "colours.h"
|
||||
#include "setting.hh"
|
||||
|
||||
#ifdef OWN_WINDOW
|
||||
enum window_type {
|
||||
TYPE_NORMAL = 0,
|
||||
TYPE_DOCK,
|
||||
TYPE_PANEL,
|
||||
TYPE_DESKTOP,
|
||||
TYPE_OVERRIDE
|
||||
};
|
||||
|
||||
enum window_hints {
|
||||
HINT_UNDECORATED = 0,
|
||||
HINT_BELOW,
|
||||
HINT_ABOVE,
|
||||
HINT_STICKY,
|
||||
HINT_SKIP_TASKBAR,
|
||||
HINT_SKIP_PAGER
|
||||
};
|
||||
#endif /*OWN_WINDOW*/
|
||||
|
||||
#if defined(BUILD_ARGB) && defined(OWN_WINDOW)
|
||||
/* true if use_argb_visual=true and argb visual was found*/
|
||||
extern bool have_argb_visual;
|
||||
@ -169,6 +154,7 @@ extern conky::simple_config_setting<uint16_t, window_hints_traits>
|
||||
own_window_hints;
|
||||
|
||||
#ifdef BUILD_ARGB
|
||||
extern priv::colour_setting background_colour;
|
||||
extern conky::simple_config_setting<bool> use_argb_visual;
|
||||
|
||||
/* range of 0-255 for alpha */
|
||||
|
Loading…
Reference in New Issue
Block a user