diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-04 13:07:40 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-04 13:07:40 +0000 |
| commit | 301adc8bc20dff10093f3c0df44e30acbbddab67 (patch) | |
| tree | fa0055dd441de4cf66785ce2bfefbe57fc59c1ae /otk/focuswidget.cc | |
| parent | 4e0b5fdef451c605f563d137b024134a68c6d6de (diff) | |
split up widget and basewidget
Diffstat (limited to 'otk/focuswidget.cc')
| -rw-r--r-- | otk/focuswidget.cc | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/otk/focuswidget.cc b/otk/focuswidget.cc index 22a6100b..e956561e 100644 --- a/otk/focuswidget.cc +++ b/otk/focuswidget.cc @@ -29,11 +29,7 @@ void OtkFocusWidget::focus(void) OtkWidget::setTexture(_focus_texture); OtkWidget::update(); - OtkWidget::OtkWidgetList children = OtkWidget::getChildren(); - - OtkWidget::OtkWidgetList::iterator it = children.begin(), - end = children.end(); - + OtkBaseWidgetList::iterator it = _children.begin(), end = _children.end(); OtkFocusWidget *tmp = 0; for (; it != end; ++it) { tmp = dynamic_cast<OtkFocusWidget*>(*it); @@ -50,11 +46,7 @@ void OtkFocusWidget::unfocus(void) OtkWidget::setTexture(_unfocus_texture); OtkWidget::update(); - OtkWidget::OtkWidgetList children = OtkWidget::getChildren(); - - OtkWidget::OtkWidgetList::iterator it = children.begin(), - end = children.end(); - + OtkBaseWidgetList::iterator it = _children.begin(), end = _children.end(); OtkFocusWidget *tmp = 0; for (; it != end; ++it) { tmp = dynamic_cast<OtkFocusWidget*>(*it); |
