X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpanel.cpp;h=f1eef110848abed72e114742ea2ff24b6e2ead11;hb=707b59d45ae50b69c94918f8f74313283b304597;hp=ab8f54fb0cc5471e6a1415ff17add966d51c02a5;hpb=d2d5b4c4dedf90a42dd2baff8334318b1d000f64;p=libs%2Fgltk.git diff --git a/source/panel.cpp b/source/panel.cpp index ab8f54f..f1eef11 100644 --- a/source/panel.cpp +++ b/source/panel.cpp @@ -3,10 +3,12 @@ #include #include "button.h" #include "column.h" +#include "draghandle.h" #include "dropdown.h" #include "entry.h" #include "grid.h" #include "hslider.h" +#include "image.h" #include "indicator.h" #include "label.h" #include "list.h" @@ -39,7 +41,7 @@ void Panel::set_layout(Layout *l) layout = l; } -void Panel::autosize_special(const Part &part, Geometry &ageom) +void Panel::autosize_special(const Part &part, Geometry &ageom) const { if(part.get_name()=="children" && layout) layout->autosize(ageom); @@ -88,6 +90,7 @@ Panel::Loader::Loader(Panel &p, map &m): add("button", &Loader::child