aboutsummaryrefslogtreecommitdiff
path: root/src/Resources.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Resources.cc')
-rw-r--r--src/Resources.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Resources.cc b/src/Resources.cc
index 0364477..2e07725 100644
--- a/src/Resources.cc
+++ b/src/Resources.cc
@@ -192,17 +192,17 @@ setFromString(const char *strval) {
192 192
193 193
194template<> 194template<>
195string FbTk::Resource<Layer>:: 195string FbTk::Resource<ResourceLayer>::
196getString() const { 196getString() const {
197 return ::Layer::getString(m_value.getNum()); 197 return ::ResourceLayer::getString(m_value.getNum());
198} 198}
199 199
200template<> 200template<>
201void FbTk::Resource<Layer>:: 201void FbTk::Resource<ResourceLayer>::
202setFromString(const char *strval) { 202setFromString(const char *strval) {
203 string str(strval); 203 string str(strval);
204 int tempnum = ::Layer::getNumFromString(str); 204 int tempnum = ::ResourceLayer::getNumFromString(str);
205 if (tempnum >= 0 && tempnum < ::Layer::NUM_LAYERS) 205 if (tempnum >= 0 && tempnum < ::ResourceLayer::NUM_LAYERS)
206 m_value = tempnum; 206 m_value = tempnum;
207 else 207 else
208 setDefaultValue(); 208 setDefaultValue();