protected:
Geometry geom;
std::string style_name;
- const Style *style;
- State state;
- bool visible;
- InputType input_type;
- Container *parent;
+ const Style *style = 0;
+ State state = NORMAL;
+ bool visible = true;
+ InputType input_type = INPUT_NONE;
+ Container *parent = 0;
std::string tooltip;
PartCache part_cache;
- bool rebuild_needed;
+ bool rebuild_needed = false;
Time::TimeDelta anim_interval;
- Widget();
+ Widget() = default;
private:
Widget(const Widget &);
Widget &operator=(const Widget &);