aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.hh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-06-11 11:00:45 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-06-15 23:12:25 (GMT)
commitcd9df3b8144c4c41f7b57f0075fbb98ef7561296 (patch)
tree10ffc1692e4afbcb2c74b9db8c8a44b434ef62ca /src/Slit.hh
parent787c7a994d4328a9c90a037dd464f8007351b0c0 (diff)
downloadfluxbox_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.hh8
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