]> Dogcows Code - chaz/openbox/blobdiff - otk/focuslabel.cc
move render()
[chaz/openbox] / otk / focuslabel.cc
index e82fa1ed75c4b8fb05f18e34d02f284d33aa159c..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;
 
-    userstring 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.020476 seconds and 4 git commands to generate.