+ void set_enabled(bool);
+ bool is_enabled() const { return !(state&DISABLED); }
+
+ // Deprecated
+ void set_focusable(bool);
+
+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:
+ State get_state() const { return state; }
+
+protected:
+ void set_animation_interval(const Time::TimeDelta &);
+ void stop_animation();
+public:
+ const Time::TimeDelta &get_animation_interval() const { return anim_interval; }
+
+protected:
+ void rebuild();
+ virtual void rebuild_special(const Part &);