CListItemMenuSeparator



Implements MenuSeparator list item.

You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.

class CListItemMenuSeparator :public CListItemMenu
{
public:
    CListItemMenuSeparator();
    ~CListItemMenuSeparator() override;

    bool setEnabled(const bool value) override;
    bool setSelected(const bool value) override;
    bool setActive(const bool value) override;

    bool AddItem(IListItem *item) override;
    bool InsertItem(IListItem *item, const int before) override;
    bool AddHotkey(const Key key, const bool ctrl, const bool alt, const bool shift, const bool down) override;

    IListItemService *QueryService() override;

    float getHeight() const; // Return height 
    Color getColor() const; // Return color 

    bool setHeight(const float value); // Set height 
    bool setColor(const Color &value); // Set color 

    IListItem *Clone() override;
    bool Copy(IListItem *dest) override;
};
Namespace: nitisa::standard
Include: Standard/ListItems/MenuSeparator/ListItemMenuSeparator.h