X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fwidget.h;h=270d2a3f67eb2e1d890dbfc1426a8adac65fe0db;hb=fdc7fecc65f5f517d66abe3546a949a46836c4a6;hp=ba49b09e44c90a5abd1644dbbd4f9f3ee276afdd;hpb=1aa6cd9b865e366737dcc9d2d36c4f8faed5bc4f;p=libs%2Fgltk.git diff --git a/source/widget.h b/source/widget.h index ba49b09..270d2a3 100644 --- a/source/widget.h +++ b/source/widget.h @@ -3,6 +3,7 @@ #include #include +#include #include "geometry.h" #include "partcache.h" #include "state.h" @@ -108,9 +109,9 @@ protected: virtual void rebuild_special(const Part &, CachedPart &) { } public: - void render() const; + void render(GL::Renderer &) const; protected: - virtual void render_special(const Part &) const { } + virtual void render_special(const Part &, GL::Renderer &) const { } public: // Events