diff options
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index 8ad83dd..ef1564a 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -224,10 +224,10 @@ Slit::Slit(BScreen &scr, FbTk::Layer &layer, const char *filename) | |||
224 | m_screen(scr), | 224 | m_screen(scr), |
225 | m_clientlist_menu(scr.menuTheme(), | 225 | m_clientlist_menu(scr.menuTheme(), |
226 | scr.imageControl(), | 226 | scr.imageControl(), |
227 | *scr.layerManager().getLayer(Layer::MENU)), | 227 | *scr.layerManager().getLayer(ResourceLayer::MENU)), |
228 | m_slitmenu(scr.menuTheme(), | 228 | m_slitmenu(scr.menuTheme(), |
229 | scr.imageControl(), | 229 | scr.imageControl(), |
230 | *scr.layerManager().getLayer(Layer::MENU)), | 230 | *scr.layerManager().getLayer(ResourceLayer::MENU)), |
231 | #ifdef XINERAMA | 231 | #ifdef XINERAMA |
232 | m_xineramaheadmenu(0), | 232 | m_xineramaheadmenu(0), |
233 | #endif // XINERAMA | 233 | #endif // XINERAMA |
@@ -257,7 +257,7 @@ Slit::Slit(BScreen &scr, FbTk::Layer &layer, const char *filename) | |||
257 | scr.name() + ".slit.alpha", scr.altName() + ".Slit.Alpha"), | 257 | scr.name() + ".slit.alpha", scr.altName() + ".Slit.Alpha"), |
258 | m_rc_on_head(scr.resourceManager(), 0, | 258 | m_rc_on_head(scr.resourceManager(), 0, |
259 | scr.name() + ".slit.onhead", scr.altName() + ".Slit.onHead"), | 259 | scr.name() + ".slit.onhead", scr.altName() + ".Slit.onHead"), |
260 | m_rc_layernum(scr.resourceManager(), Layer(Layer::DOCK), | 260 | m_rc_layernum(scr.resourceManager(), ResourceLayer(ResourceLayer::DOCK), |
261 | scr.name() + ".slit.layer", scr.altName() + ".Slit.Layer") { | 261 | scr.name() + ".slit.layer", scr.altName() + ".Slit.Layer") { |
262 | 262 | ||
263 | _FB_USES_NLS; | 263 | _FB_USES_NLS; |
@@ -298,7 +298,7 @@ Slit::Slit(BScreen &scr, FbTk::Layer &layer, const char *filename) | |||
298 | m_layermenu.reset(new LayerMenu(scr.menuTheme(), | 298 | m_layermenu.reset(new LayerMenu(scr.menuTheme(), |
299 | scr.imageControl(), | 299 | scr.imageControl(), |
300 | *scr.layerManager(). | 300 | *scr.layerManager(). |
301 | getLayer(Layer::MENU), | 301 | getLayer(ResourceLayer::MENU), |
302 | this, | 302 | this, |
303 | true)); | 303 | true)); |
304 | m_layermenu->setLabel(_FB_XTEXT(Slit, Layer, "Slit Layer", "Title of Slit Layer Menu")); | 304 | m_layermenu->setLabel(_FB_XTEXT(Slit, Layer, "Slit Layer", "Title of Slit Layer Menu")); |
@@ -1176,7 +1176,7 @@ void Slit::setupMenu() { | |||
1176 | // it'll be freed by the slitmenu (since not marked internal) | 1176 | // it'll be freed by the slitmenu (since not marked internal) |
1177 | FbMenu *placement_menu = new FbMenu(m_screen.menuTheme(), | 1177 | FbMenu *placement_menu = new FbMenu(m_screen.menuTheme(), |
1178 | m_screen.imageControl(), | 1178 | m_screen.imageControl(), |
1179 | *m_screen.layerManager().getLayer(::Layer::MENU)); | 1179 | *m_screen.layerManager().getLayer(::ResourceLayer::MENU)); |
1180 | 1180 | ||
1181 | 1181 | ||
1182 | // setup base menu | 1182 | // setup base menu |
@@ -1194,7 +1194,7 @@ void Slit::setupMenu() { | |||
1194 | screen().menuTheme(), | 1194 | screen().menuTheme(), |
1195 | screen(), | 1195 | screen(), |
1196 | screen().imageControl(), | 1196 | screen().imageControl(), |
1197 | *screen().layerManager().getLayer(::Layer::MENU), | 1197 | *screen().layerManager().getLayer(::ResourceLayer::MENU), |
1198 | *this, | 1198 | *this, |
1199 | _FB_XTEXT(Slit, OnHead, "Slit on Head", "Title of Slits On Head menu") | 1199 | _FB_XTEXT(Slit, OnHead, "Slit on Head", "Title of Slits On Head menu") |
1200 | )); | 1200 | )); |