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.hh | |
parent | 50239e2f039ff05081134727ee24cbc6ad360d7c (diff) | |
download | fluxbox-4ae7cd5384f363f6f7f1358ac017218eadb700ab.zip fluxbox-4ae7cd5384f363f6f7f1358ac017218eadb700ab.tar.bz2 |
iconbar theme
Diffstat (limited to 'src/IconbarTheme.hh')
-rw-r--r-- | src/IconbarTheme.hh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/IconbarTheme.hh b/src/IconbarTheme.hh new file mode 100644 index 0000000..d75b3cd --- /dev/null +++ b/src/IconbarTheme.hh | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef ICONBARTHEME_HH | ||
2 | #define ICONBARTHEME_HH | ||
3 | |||
4 | #include "FbTk/Theme.hh" | ||
5 | #include "FbTk/Texture.hh" | ||
6 | #include "TextTheme.hh" | ||
7 | |||
8 | class IconbarTheme:public FbTk::Theme { | ||
9 | public: | ||
10 | IconbarTheme(int screen_num, const std::string &name, const std::string &altname); | ||
11 | virtual ~IconbarTheme(); | ||
12 | |||
13 | void reconfigTheme(); | ||
14 | const TextTheme &focusedText() const { return m_focused_text; } | ||
15 | const TextTheme &unfocusedText() const { return m_unfocused_text; } | ||
16 | |||
17 | const FbTk::Texture &focusedTexture() const { return *m_focused_texture; } | ||
18 | const FbTk::Texture &unfocusedTexture() const { return *m_unfocused_texture; } | ||
19 | private: | ||
20 | FbTk::ThemeItem<FbTk::Texture> m_focused_texture, m_unfocused_texture; | ||
21 | TextTheme m_focused_text, m_unfocused_text; | ||
22 | }; | ||
23 | |||
24 | #endif // ICONBARTHEME_HH | ||