added empty texture item
fluxgen fluxgen
2 files changed,
4 insertions(+),
1 deletions(-)
M
src/IconbarTheme.cc
→
src/IconbarTheme.cc
@@ -7,6 +7,7 @@ const std::string &altname):
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") {
M
src/IconbarTheme.hh
→
src/IconbarTheme.hh
@@ -16,8 +16,10 @@ const TextTheme &unfocusedText() const { return m_unfocused_text; }
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<FbTk::Texture> m_focused_texture, m_unfocused_texture; + FbTk::ThemeItem<FbTk::Texture> m_focused_texture, m_unfocused_texture, m_empty_texture; TextTheme m_focused_text, m_unfocused_text; };