diff options
Diffstat (limited to 'src/Resources.cc')
-rw-r--r-- | src/Resources.cc | 10 |
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 | ||
194 | template<> | 194 | template<> |
195 | string FbTk::Resource<Layer>:: | 195 | string FbTk::Resource<ResourceLayer>:: |
196 | getString() const { | 196 | getString() const { |
197 | return ::Layer::getString(m_value.getNum()); | 197 | return ::ResourceLayer::getString(m_value.getNum()); |
198 | } | 198 | } |
199 | 199 | ||
200 | template<> | 200 | template<> |
201 | void FbTk::Resource<Layer>:: | 201 | void FbTk::Resource<ResourceLayer>:: |
202 | setFromString(const char *strval) { | 202 | setFromString(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(); |