X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Fwidget.h;h=50e3279e3b5c3d753373246d88d13f7e3a0800e0;hp=b00849c1598873a6ae7ecdc0e76ff9a036539d76;hb=319cde3c06181ba1c3619567525002926d8b4889;hpb=768c65e13861f72929290ac2513df9975579e543 diff --git a/source/widget.h b/source/widget.h index b00849c..50e3279 100644 --- a/source/widget.h +++ b/source/widget.h @@ -50,7 +50,7 @@ protected: bool focusable; Container *parent; std::string tooltip; - std::list cached_parts; + PartCache part_cache; Widget(); public: @@ -99,7 +99,7 @@ protected: void set_state(State, State); void rebuild(); - virtual void rebuild_special(const Part &, CachedPart &) { } + virtual void rebuild_special(const Part &); public: void render(GL::Renderer &) const;