X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Ffocuswidget.cc;h=ffbaeb7e09bd995b4596eec63b99500bd06f18e4;hb=7df3b620e21777dbefa24f381c1a95fafed1c16e;hp=6ad19c6e822f8ae3770362e3a42968d3011739a9;hpb=2efa2b32717af9583b17416623cbd6606f547676;p=chaz%2Fopenbox diff --git a/otk/focuswidget.cc b/otk/focuswidget.cc index 6ad19c6e..ffbaeb7e 100644 --- a/otk/focuswidget.cc +++ b/otk/focuswidget.cc @@ -8,6 +8,13 @@ OtkFocusWidget::OtkFocusWidget(OtkWidget *parent, Direction direction) _focus_texture = parent->getTexture(); } +OtkFocusWidget::OtkFocusWidget(OtkApplication *app, Direction direction, + Cursor cursor, int bevel_width) + : OtkWidget(app, direction, cursor, bevel_width), + _unfocus_texture(0), _focused(true) +{ +} + OtkFocusWidget::OtkFocusWidget(Style *style, Direction direction, Cursor cursor, int bevel_width) : OtkWidget(style, direction, cursor, bevel_width), @@ -15,6 +22,10 @@ OtkFocusWidget::OtkFocusWidget(Style *style, Direction direction, { } +OtkFocusWidget::~OtkFocusWidget() +{ +} + void OtkFocusWidget::focus(void) { if (_focused)