diff options
author | fluxgen <fluxgen> | 2003-08-11 15:53:13 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-11 15:53:13 (GMT) |
commit | 4ae7cd5384f363f6f7f1358ac017218eadb700ab (patch) | |
tree | 807b72d12581c0c610b86de2b1fc0dd257b64c84 /src/IconbarTheme.cc | |
parent | 50239e2f039ff05081134727ee24cbc6ad360d7c (diff) | |
download | fluxbox-4ae7cd5384f363f6f7f1358ac017218eadb700ab.zip fluxbox-4ae7cd5384f363f6f7f1358ac017218eadb700ab.tar.bz2 |
iconbar theme
Diffstat (limited to 'src/IconbarTheme.cc')
-rw-r--r-- | src/IconbarTheme.cc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/IconbarTheme.cc b/src/IconbarTheme.cc new file mode 100644 index 0000000..0813128 --- /dev/null +++ b/src/IconbarTheme.cc | |||
@@ -0,0 +1,23 @@ | |||
1 | #include "IconbarTheme.hh" | ||
2 | #include "FbTk/App.hh" | ||
3 | |||
4 | IconbarTheme::IconbarTheme(int screen_num, | ||
5 | const std::string &name, | ||
6 | const std::string &altname): | ||
7 | FbTk::Theme(screen_num), | ||
8 | m_focused_texture(*this, name + ".focused", altname + ".Focused"), | ||
9 | m_unfocused_texture(*this, name + ".unfocused", altname + ".Unfocused"), | ||
10 | m_focused_text(*this, name + ".focused", altname + ".Focused"), | ||
11 | m_unfocused_text(*this, name + ".unfocused", altname + ".Unfocused") { | ||
12 | |||
13 | FbTk::ThemeManager::instance().loadTheme(*this); | ||
14 | |||
15 | } | ||
16 | IconbarTheme::~IconbarTheme() { | ||
17 | |||
18 | } | ||
19 | void IconbarTheme::reconfigTheme() { | ||
20 | m_focused_text.update(); | ||
21 | m_unfocused_text.update(); | ||
22 | } | ||
23 | |||