diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-06-11 11:00:45 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-06-15 23:12:25 (GMT) |
commit | cd9df3b8144c4c41f7b57f0075fbb98ef7561296 (patch) | |
tree | 10ffc1692e4afbcb2c74b9db8c8a44b434ef62ca /src/Slit.hh | |
parent | 787c7a994d4328a9c90a037dd464f8007351b0c0 (diff) | |
download | fluxbox_pavel-cd9df3b8144c4c41f7b57f0075fbb98ef7561296.zip fluxbox_pavel-cd9df3b8144c4c41f7b57f0075fbb98ef7561296.tar.bz2 |
Simplify FbTk::Resource template class
by outsourcing the conversion from string/lua to the specific type (and back) to a separate
class. This change touches a lot of files because the interface of FbTk::Resource changed
slightly. However, the changes are minor.
Diffstat (limited to 'src/Slit.hh')
-rw-r--r-- | src/Slit.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Slit.hh b/src/Slit.hh index 5753565..5c69a8c 100644 --- a/src/Slit.hh +++ b/src/Slit.hh | |||
@@ -179,10 +179,10 @@ private: | |||
179 | static unsigned int s_eventmask; | 179 | static unsigned int s_eventmask; |
180 | Strut *m_strut; | 180 | Strut *m_strut; |
181 | 181 | ||
182 | FbTk::Resource<bool> m_rc_kde_dockapp, m_rc_auto_hide, m_rc_maximize_over; | 182 | FbTk::BoolResource m_rc_kde_dockapp, m_rc_auto_hide, m_rc_maximize_over; |
183 | FbTk::Resource<Slit::Placement> m_rc_placement; | 183 | FbTk::Resource<Slit::Placement, FbTk::EnumTraits<Slit::Placement> > m_rc_placement; |
184 | FbTk::Resource<int> m_rc_alpha, m_rc_on_head; | 184 | FbTk::IntResource m_rc_alpha, m_rc_on_head; |
185 | FbTk::Resource<class ResourceLayer> m_rc_layernum; | 185 | FbTk::Resource<ResourceLayer::Type, FbTk::EnumTraits<ResourceLayer::Type> > m_rc_layernum; |
186 | }; | 186 | }; |
187 | 187 | ||
188 | 188 | ||