X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=inline;f=source%2Fpanel.cpp;h=11d90e40349b04d1c49534119be5f36f100998b4;hb=9fdbf99cdb3c5620e665c3ecb34e83d778cb311a;hp=91e30cdcbafadd63b98714c6cd1a8f3969fb1f07;hpb=e291dcf478052c771d85089409f9bc22a4c8ab93;p=libs%2Fgltk.git diff --git a/source/panel.cpp b/source/panel.cpp index 91e30cd..11d90e4 100644 --- a/source/panel.cpp +++ b/source/panel.cpp @@ -73,13 +73,13 @@ Widget *Panel::get_final_input_focus() const return input_focus; } -void Panel::render_special(const Part &part) const +void Panel::render_special(const Part &part, GL::Renderer &renderer) const { if(part.get_name()=="children") { for(list::const_iterator i=children.begin(); i!=children.end(); ++i) if((*i)->widget->is_visible()) - (*i)->widget->render(); + (*i)->widget->render(renderer); } } @@ -275,13 +275,6 @@ void Panel::Child::visibility_changed(bool v) } } -void Panel::Child::autosize_changed() -{ - Panel &panel = static_cast(container); - if(panel.layout) - panel.layout->update(); -} - void Panel::Child::request_focus() { Panel &panel = static_cast(container);