From 062da9647fa0b07094ffeb42f72be0333a2be773 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 12 Aug 2003 00:17:56 +0000 Subject: added empty texture item --- src/IconbarTheme.cc | 1 + src/IconbarTheme.hh | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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, FbTk::Theme(screen_num), m_focused_texture(*this, name + ".focused", altname + ".Focused"), m_unfocused_texture(*this, name + ".unfocused", altname + ".Unfocused"), + m_empty_texture(*this, name + ".empty", altname + ".Empty"), m_focused_text(*this, name + ".focused", altname + ".Focused"), m_unfocused_text(*this, name + ".unfocused", altname + ".Unfocused") { 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: const FbTk::Texture &focusedTexture() const { return *m_focused_texture; } const FbTk::Texture &unfocusedTexture() const { return *m_unfocused_texture; } + const FbTk::Texture &emptyTexture() const { return *m_empty_texture; } + private: - FbTk::ThemeItem m_focused_texture, m_unfocused_texture; + FbTk::ThemeItem m_focused_texture, m_unfocused_texture, m_empty_texture; TextTheme m_focused_text, m_unfocused_text; }; -- cgit v0.11.2