4 #include <msp/gltk/widget.h>
5 #include "libr2c2/clock.h"
7 class ClockWidget: public Msp::GLtk::Widget
11 Msp::GL::Mesh hour_hand;
12 Msp::GL::Mesh minute_hand;
15 ClockWidget(R2C2::Clock &);
17 virtual const char *get_class() const { return "clock"; }
20 virtual void autosize_special(const Msp::GLtk::Part &, Msp::GLtk::Geometry &) const;
21 virtual void rebuild_special(const Msp::GLtk::Part &);
22 virtual void render_special(const Msp::GLtk::Part &, Msp::GL::Renderer &) const;