aboutsummaryrefslogtreecommitdiff
path: root/src/IconButtonTheme.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-16 13:38:06 (GMT)
committerfluxgen <fluxgen>2003-08-16 13:38:06 (GMT)
commit3cc8fa8bbc086b3ceb99823136d699f69dc98f01 (patch)
tree5b1aab01e30a42cf675f766d5c18d12f6fc8ff15 /src/IconButtonTheme.hh
parentfff0fbae229e7280ad845782ddd888a0ac7bdf52 (diff)
downloadfluxbox-3cc8fa8bbc086b3ceb99823136d699f69dc98f01.zip
fluxbox-3cc8fa8bbc086b3ceb99823136d699f69dc98f01.tar.bz2
not used
Diffstat (limited to 'src/IconButtonTheme.hh')
-rw-r--r--src/IconButtonTheme.hh63
1 files changed, 0 insertions, 63 deletions
diff --git a/src/IconButtonTheme.hh b/src/IconButtonTheme.hh
deleted file mode 100644
index ba78212..0000000
--- a/src/IconButtonTheme.hh
+++ /dev/null
@@ -1,63 +0,0 @@
1// IconButtonTheme.hh
2// Copyright (c) 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net)
3// and Simon Bowden (rathnor at users.sourceforge.net)
4//
5// Permission is hereby granted, free of charge, to any person obtaining a
6// copy of this software and associated documentation files (the "Software"),
7// to deal in the Software without restriction, including without limitation
8// the rights to use, copy, modify, merge, publish, distribute, sublicense,
9// and/or sell copies of the Software, and to permit persons to whom the
10// Software is furnished to do so, subject to the following conditions:
11//
12// The above copyright notice and this permission notice shall be included in
13// all copies or substantial portions of the Software.
14//
15// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE.
22
23// $Id: IconButtonTheme.hh,v 1.1 2003/08/11 15:49:56 fluxgen Exp $
24
25#ifndef ICONBUTTONTHEME_HH
26#define ICONBUTTONTHEME_HH
27
28#include "FbTk/Theme.hh"
29#include "FbTk/Font.hh"
30#include "FbTk/Color.hh"
31#include "FbTk/Texture.hh"
32#include "FbTk/Subject.hh"
33
34class IconButtonTheme: public FbTk::Theme {
35public:
36 explicit IconButtonTheme(int screen_num);
37 virtual ~IconButtonTheme();
38
39 void reconfigTheme();
40
41 const FbTk::Texture &selectedTexture() const { return *m_selected_texture; }
42 const FbTk::Texture &unselectedTexture() const { return *m_unselected_texture; }
43
44 FbTk::Font &selectedFont() { return *m_selected_font; }
45 const FbTk::Font &selectedFont() const { return *m_selected_font; }
46 FbTk::Font &unselectedFont() { return *m_unselected_font; }
47 const FbTk::Font &unselectedFont() const { return *m_unselected_font; }
48
49 GC selectedGC() const { return m_selected_gc; }
50 GC unselectedGC() const { return m_unselected_gc; }
51
52 FbTk::Subject &themeChangeSig() { return m_theme_change; }
53
54private:
55 FbTk::ThemeItem<FbTk::Texture> m_selected_texture, m_unselected_texture;
56 FbTk::ThemeItem<FbTk::Font> m_selected_font, m_unselected_font;
57 FbTk::ThemeItem<FbTk::Color> m_selected_color, m_unselected_color;
58 GC m_selected_gc, m_unselected_gc;
59
60 FbTk::Subject m_theme_change;
61};
62
63#endif // ICONBUTTONTHEME_HH