ButtonTheme::name can be const.

This commit is contained in:
Mario J. Rugiero 2014-12-20 01:04:43 -03:00 committed by Mathias Gumz
parent 9667d538eb
commit 6aff2f7c28

View file

@ -41,7 +41,7 @@ public:
const FbTk::Texture &pressed() const { return *m_pressed_texture; }
GC gc() const { return m_gc.gc(); }
int scale() const { return *m_scale; } // scale factor for inside objects
const std::string &name() { return m_name; }
const std::string &name() const { return m_name; }
virtual FbTk::Signal<> &reconfigSig() { return FbTk::Theme::reconfigSig(); }