summaryrefslogtreecommitdiff
path: root/src/FbTk/Theme.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/Theme.hh')
-rw-r--r--src/FbTk/Theme.hh8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/FbTk/Theme.hh b/src/FbTk/Theme.hh
index 105d860..ff84051 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.15 2004/01/02 22:55:15 fluxgen Exp $ 22// $Id: Theme.hh,v 1.16 2004/04/26 15:04:37 rathnor 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
@@ -50,7 +50,7 @@ public:
50 virtual ~ThemeItem_base() { } 50 virtual ~ThemeItem_base() { }
51 virtual void setFromString(const char *str) = 0; 51 virtual void setFromString(const char *str) = 0;
52 virtual void setDefaultValue() = 0; 52 virtual void setDefaultValue() = 0;
53 virtual void load() = 0; // if it needs to load additional stuff 53 virtual void load(const std::string *name = 0, const std::string *altname = 0) = 0; // if it needs to load additional stuff
54 const std::string &name() const { return m_name; } 54 const std::string &name() const { return m_name; }
55 const std::string &altName() const { return m_altname; } 55 const std::string &altName() const { return m_altname; }
56private: 56private:
@@ -70,7 +70,9 @@ public:
70 /// specialized 70 /// specialized
71 void setFromString(const char *strval); 71 void setFromString(const char *strval);
72 /// specialized 72 /// specialized
73 void load(); 73 // name and altname may be different to the primary ones (e.g. from fallback)
74 // if they are null, then the original name is used
75 void load(const std::string *name = 0, const std::string *altname = 0);
74 /** 76 /**
75 @name access operators 77 @name access operators
76 */ 78 */