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-11-01 09:52:46 (GMT)
commit8c208459910f1dddcfdeb00567b990eebfc218b8 (patch)
tree47c442f906124306a52e13641d28fc6cd1ac513e /src/Slit.hh
parent60cd98604ae0ee62d64e3bc852898f69dae221d4 (diff)
downloadfluxbox_pavel-8c208459910f1dddcfdeb00567b990eebfc218b8.zip
fluxbox_pavel-8c208459910f1dddcfdeb00567b990eebfc218b8.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