From 301adc8bc20dff10093f3c0df44e30acbbddab67 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 4 Dec 2002 13:07:40 +0000 Subject: split up widget and basewidget --- otk/focuswidget.cc | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'otk/focuswidget.cc') 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(*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(*it); -- cgit v1.2.3