public:
Loader(Toggle &);
Toggle &get_object() const;
+ private:
+ virtual void finish();
};
private:
std::string text;
+ bool pressed;
bool value;
public:
Toggle(const Resources &);
+ void set_value(bool);
bool get_value() const { return value; }
+ virtual void button_press(int, int, unsigned);
virtual void button_release(int, int, unsigned);
virtual void pointer_enter();
virtual void pointer_leave();