aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTheme.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/IconbarTheme.cc')
-rw-r--r--src/IconbarTheme.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/IconbarTheme.cc b/src/IconbarTheme.cc
index cc17e67..73b46f5 100644
--- a/src/IconbarTheme.cc
+++ b/src/IconbarTheme.cc
@@ -8,6 +8,9 @@ IconbarTheme::IconbarTheme(int screen_num,
8 m_focused_texture(*this, name + ".focused", altname + ".Focused"), 8 m_focused_texture(*this, name + ".focused", altname + ".Focused"),
9 m_unfocused_texture(*this, name + ".unfocused", altname + ".Unfocused"), 9 m_unfocused_texture(*this, name + ".unfocused", altname + ".Unfocused"),
10 m_empty_texture(*this, name + ".empty", altname + ".Empty"), 10 m_empty_texture(*this, name + ".empty", altname + ".Empty"),
11 m_focused_border(*this, name + ".focused", altname + ".Focused"),
12 m_unfocused_border(*this, name + ".unfocused", altname + ".Unfocused"),
13 m_border(*this, name, altname),
11 m_focused_text(*this, name + ".focused", altname + ".Focused"), 14 m_focused_text(*this, name + ".focused", altname + ".Focused"),
12 m_unfocused_text(*this, name + ".unfocused", altname + ".Unfocused") { 15 m_unfocused_text(*this, name + ".unfocused", altname + ".Unfocused") {
13 16
@@ -17,8 +20,15 @@ IconbarTheme::IconbarTheme(int screen_num,
17IconbarTheme::~IconbarTheme() { 20IconbarTheme::~IconbarTheme() {
18 21
19} 22}
23
24
20void IconbarTheme::reconfigTheme() { 25void IconbarTheme::reconfigTheme() {
21 m_focused_text.update(); 26 m_focused_text.update();
22 m_unfocused_text.update(); 27 m_unfocused_text.update();
23} 28}
24 29
30void IconbarTheme::setAntialias(bool value) {
31 m_focused_text.setAntialias(value);
32 m_unfocused_text.setAntialias(value);
33}
34