bool is_focusable() const { return focusable; }
void set_focus();
+protected:
+ void set_state(State s) { set_state(s, s); }
+ void clear_state(State s) { set_state(s, NORMAL); }
+ void set_state(State, State);
+
+public:
void render() const;
protected:
virtual void render_special(const Part &) const { }