]> Dogcows Code - chaz/openbox/blobdiff - otk/focuswidget.cc
dont make wrap a subdir of otk
[chaz/openbox] / otk / focuswidget.cc
index 9af8b37d48ce9c520b9c348f37a753a585678bbe..b8e18d7875596580749836939224880293765bd4 100644 (file)
@@ -20,7 +20,7 @@ FocusWidget::~FocusWidget()
 {
 }
 
-#include <stdio.h>
+
 void FocusWidget::focus(void)
 {
   if (_focused)
@@ -53,9 +53,11 @@ void FocusWidget::setTexture(RenderTexture *texture)
 {
   Widget::setTexture(texture);
   _focus_texture = texture;
+  if (!_focused)
+    Widget::setTexture(_unfocus_texture);
 }
 
-void FocusWidget::setBorderColor(const Color *color)
+void FocusWidget::setBorderColor(const RenderColor *color)
 {
   Widget::setBorderColor(color);
   _focus_bcolor = color;
This page took 0.022496 seconds and 4 git commands to generate.