diff options
author | fluxgen <fluxgen> | 2003-12-29 11:04:09 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-12-29 11:04:09 (GMT) |
commit | 0c4b5306cd4a36d6803fd3034b302aebda045b7f (patch) | |
tree | 952dd15b288e031ead873c8d1d32b2121d340b7c /src/FbTk/Theme.hh | |
parent | 33f69f1815a24486605ec4b745e73c2da214e627 (diff) | |
download | fluxbox_pavel-0c4b5306cd4a36d6803fd3034b302aebda045b7f.zip fluxbox_pavel-0c4b5306cd4a36d6803fd3034b302aebda045b7f.tar.bz2 |
screen based theme loading
Diffstat (limited to 'src/FbTk/Theme.hh')
-rw-r--r-- | src/FbTk/Theme.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbTk/Theme.hh b/src/FbTk/Theme.hh index b0f422a..c9262f5 100644 --- a/src/FbTk/Theme.hh +++ b/src/FbTk/Theme.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Theme.hh,v 1.13 2003/12/17 00:43:22 fluxgen Exp $ | 22 | // $Id: Theme.hh,v 1.14 2003/12/29 11:04:09 fluxgen Exp $ |
23 | 23 | ||
24 | /** | 24 | /** |
25 | @file holds ThemeItem<T>, Theme and ThemeManager which is the base for any theme | 25 | @file holds ThemeItem<T>, Theme and ThemeManager which is the base for any theme |
@@ -124,8 +124,8 @@ private: | |||
124 | class ThemeManager { | 124 | class ThemeManager { |
125 | public: | 125 | public: |
126 | static ThemeManager &instance(); | 126 | static ThemeManager &instance(); |
127 | 127 | /// load style file "filename" to screen | |
128 | bool load(const std::string &filename); | 128 | bool load(const std::string &filename, int screen_num = -1); |
129 | std::string resourceValue(const std::string &name, const std::string &altname); | 129 | std::string resourceValue(const std::string &name, const std::string &altname); |
130 | void loadTheme(Theme &tm); | 130 | void loadTheme(Theme &tm); |
131 | bool loadItem(ThemeItem_base &resource); | 131 | bool loadItem(ThemeItem_base &resource); |