diff options
| author | Marius Nita <marius@cs.pdx.edu> | 2002-11-16 02:15:49 +0000 |
|---|---|---|
| committer | Marius Nita <marius@cs.pdx.edu> | 2002-11-16 02:15:49 +0000 |
| commit | a3d036f60ed2333622ee9b61dbddcdc8fbc497c3 (patch) | |
| tree | dae05770ec9c7aab9529e57361cb7b87f956de0f /otk/focuswidget.cc | |
| parent | e53fbcf092c40b22ccc4c5f23795e12c9862c338 (diff) | |
added otkapplication and event stuff, changed other files to accomodate for this, changed the test.
no idea if anything runs yet. it compiles =)
Diffstat (limited to 'otk/focuswidget.cc')
| -rw-r--r-- | otk/focuswidget.cc | 11 |
1 files changed, 11 insertions, 0 deletions
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) |
