diff options
author | fluxgen <fluxgen> | 2003-08-11 14:28:38 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-11 14:28:38 (GMT) |
commit | 4f51fab7afc2b7fa48e28d182336df84ffe284d2 (patch) | |
tree | 218386f669671bedc1293c7eca06038618494c96 /src/ToolTheme.cc | |
parent | 48de057b486f33013917593a389027600b592de4 (diff) | |
download | fluxbox_pavel-4f51fab7afc2b7fa48e28d182336df84ffe284d2.zip fluxbox_pavel-4f51fab7afc2b7fa48e28d182336df84ffe284d2.tar.bz2 |
first import
Diffstat (limited to 'src/ToolTheme.cc')
-rw-r--r-- | src/ToolTheme.cc | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/ToolTheme.cc b/src/ToolTheme.cc new file mode 100644 index 0000000..c52efed --- /dev/null +++ b/src/ToolTheme.cc | |||
@@ -0,0 +1,41 @@ | |||
1 | // ToolTheme.cc | ||
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: ToolTheme.cc,v 1.1 2003/08/11 14:28:38 fluxgen Exp $ | ||
24 | |||
25 | #include "ToolTheme.hh" | ||
26 | |||
27 | ToolTheme::ToolTheme(int screen_num, const std::string &name, const std::string &altname): | ||
28 | FbTk::Theme(screen_num), | ||
29 | TextTheme(*this, name, altname), | ||
30 | m_texture(*this, name, altname) { | ||
31 | |||
32 | } | ||
33 | |||
34 | ToolTheme::~ToolTheme() { | ||
35 | |||
36 | } | ||
37 | |||
38 | void ToolTheme::reconfigTheme() { | ||
39 | update(); | ||
40 | } | ||
41 | |||