aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-12 00:17:56 (GMT)
committerfluxgen <fluxgen>2003-08-12 00:17:56 (GMT)
commit062da9647fa0b07094ffeb42f72be0333a2be773 (patch)
tree721f3cb05f2668eba09f802513498c4edc7d3f32
parent1da02c9f9d5211145271c8aa3dc91bebccdeb404 (diff)
downloadfluxbox-062da9647fa0b07094ffeb42f72be0333a2be773.zip
fluxbox-062da9647fa0b07094ffeb42f72be0333a2be773.tar.bz2
added empty texture item
-rw-r--r--src/IconbarTheme.cc1
-rw-r--r--src/IconbarTheme.hh4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/IconbarTheme.cc b/src/IconbarTheme.cc
index 0813128..cc17e67 100644
--- a/src/IconbarTheme.cc
+++ b/src/IconbarTheme.cc
@@ -7,6 +7,7 @@ IconbarTheme::IconbarTheme(int screen_num,
7 FbTk::Theme(screen_num), 7 FbTk::Theme(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_focused_text(*this, name + ".focused", altname + ".Focused"), 11 m_focused_text(*this, name + ".focused", altname + ".Focused"),
11 m_unfocused_text(*this, name + ".unfocused", altname + ".Unfocused") { 12 m_unfocused_text(*this, name + ".unfocused", altname + ".Unfocused") {
12 13
diff --git a/src/IconbarTheme.hh b/src/IconbarTheme.hh
index d75b3cd..cd6f857 100644
--- a/src/IconbarTheme.hh
+++ b/src/IconbarTheme.hh
@@ -16,8 +16,10 @@ public:
16 16
17 const FbTk::Texture &focusedTexture() const { return *m_focused_texture; } 17 const FbTk::Texture &focusedTexture() const { return *m_focused_texture; }
18 const FbTk::Texture &unfocusedTexture() const { return *m_unfocused_texture; } 18 const FbTk::Texture &unfocusedTexture() const { return *m_unfocused_texture; }
19 const FbTk::Texture &emptyTexture() const { return *m_empty_texture; }
20
19private: 21private:
20 FbTk::ThemeItem<FbTk::Texture> m_focused_texture, m_unfocused_texture; 22 FbTk::ThemeItem<FbTk::Texture> m_focused_texture, m_unfocused_texture, m_empty_texture;
21 TextTheme m_focused_text, m_unfocused_text; 23 TextTheme m_focused_text, m_unfocused_text;
22}; 24};
23 25