};
public:
- class Item: public Container
+ class Item: virtual public Widget, protected Container
{
+ protected:
+ Item() { }
+
public:
virtual const char *get_class() const { return "listitem"; }
class SimpleItem: public Item
{
- private:
+ protected:
+ SimpleItem() { }
+
virtual void on_style_change();
};
class MultiColumnItem: public Item
{
protected:
+ MultiColumnItem() { }
+
virtual void check_widths(std::vector<unsigned> &) const;
virtual void set_widths(const std::vector<unsigned> &);
- private:
virtual void on_style_change();
};