From a3d036f60ed2333622ee9b61dbddcdc8fbc497c3 Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Sat, 16 Nov 2002 02:15:49 +0000 Subject: added otkapplication and event stuff, changed other files to accomodate for this, changed the test. no idea if anything runs yet. it compiles =) --- otk/focuswidget.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'otk/focuswidget.cc') 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) -- cgit v1.2.3