]> Dogcows Code - chaz/openbox/blobdiff - otk/focuswidget.cc
better xft checks. require xft version 2
[chaz/openbox] / otk / focuswidget.cc
index 22dd8757d5b6927e0b3f3bc7d04d97bed61e3585..22a6100ba4d4db3d4717841bbcff72e9586e358d 100644 (file)
@@ -1,3 +1,9 @@
+// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
+
+#ifdef HAVE_CONFIG_H
+# include "../config.h"
+#endif
+
 #include "focuswidget.hh"
 
 namespace otk {
@@ -8,10 +14,7 @@ OtkFocusWidget::OtkFocusWidget(OtkWidget *parent, Direction direction)
   _focus_texture = parent->getTexture();
 }
 
-OtkFocusWidget::OtkFocusWidget(Style *style, Direction direction,
-                               Cursor cursor, int bevel_width)
-  : OtkWidget(style, direction, cursor, bevel_width),
-    _unfocus_texture(0), _focused(true)
+OtkFocusWidget::~OtkFocusWidget()
 {
 }
 
@@ -20,6 +23,8 @@ void OtkFocusWidget::focus(void)
   if (_focused)
     return;
 
+  // XXX: what about OtkWidget::focus()
+
   assert(_focus_texture);
   OtkWidget::setTexture(_focus_texture);
   OtkWidget::update();
This page took 0.023519 seconds and 4 git commands to generate.