]> Dogcows Code - chaz/openbox/blobdiff - otk/focuslabel.cc
fuc put it back
[chaz/openbox] / otk / focuslabel.cc
index 397a2cac8928b0e113b37fb2b159c8a47980e644..b1b8c76498a1d9d95bf532ea1afa31a1b218058b 100644 (file)
@@ -13,8 +13,8 @@ namespace otk {
 FocusLabel::FocusLabel(Widget *parent)
   : FocusWidget(parent), _text("")
 {
-  const ScreenInfo *info = Display::screenInfo(screen());
-  _xftdraw = XftDrawCreate(Display::display, window(), info->visual(),
+  const ScreenInfo *info = display->screenInfo(screen());
+  _xftdraw = XftDrawCreate(**display, window(), info->visual(),
                            info->colormap());
 }
 
@@ -41,7 +41,7 @@ void FocusLabel::update(void)
                           : style()->getTextUnfocus());
     unsigned int sidemargin = style()->getBevelWidth() * 2;
 
-    std::string t = _text; // the actual text to draw
+    ustring t = _text; // the actual text to draw
     int x = sidemargin;    // x coord for the text
 
     // find a string that will fit inside the area for text
This page took 0.02081 seconds and 4 git commands to generate.