]> Dogcows Code - chaz/openbox/blobdiff - otk/focuswidget.hh
Brand spankin new widgets for otk (Label and Button).
[chaz/openbox] / otk / focuswidget.hh
diff --git a/otk/focuswidget.hh b/otk/focuswidget.hh
deleted file mode 100644 (file)
index 886a2e3..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
-#ifndef __focuswidget_hh
-#define __focuswidget_hh
-
-#include "widget.hh"
-#include "application.hh"
-
-namespace otk {
-
-class FocusWidget : public Widget {
-
-public:
-
-  FocusWidget(Widget *parent, Direction = Horizontal);
-  virtual ~FocusWidget();
-
-  virtual void focus(void);
-  virtual void unfocus(void);
-
-  virtual void setTexture(RenderTexture *texture);
-  virtual void setBorderColor(const RenderColor *color);
-
-  inline void setUnfocusTexture(RenderTexture *texture)
-  { _unfocus_texture = texture; }
-  inline RenderTexture *getUnfocusTexture(void) const
-  { return _unfocus_texture; }
-
-  inline void setUnfocusBorderColor(const RenderColor *color)
-  { _unfocus_bcolor = color; }
-  inline const RenderColor *getUnfocusBorderColor(void) const
-  { return _unfocus_bcolor; }
-
-  inline bool isFocused(void) const { return _focused; }
-  inline bool isUnfocused(void) const { return !_focused; }
-
-private:
-
-  RenderTexture *_unfocus_texture;
-  RenderTexture *_focus_texture;
-
-  const RenderColor *_unfocus_bcolor;
-  const RenderColor *_focus_bcolor;
-};
-
-}
-
-#endif // __focuswidget_hh
This page took 0.02496 seconds and 4 git commands to generate.