Implements Splitter control.
You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.
class CSplitter :public virtual ISplitter, public CControl
{
public:
enum STATE // Possible states
{
stNormal,
stHovered,
stActive,
stDisabled
};
public:
bool setAlign(const ALIGN value) override;
bool setDPI(const Point &value) override;
// IControl methods
void Refresh(const bool refresh_children) override;
CSplitter();
CSplitter(IControl *parent);
CSplitter(IForm *parent);
STATE getState(); // Return current state
// Return layout properties
float getDotWidth() const;
int getDotCount() const;
Color getBackgroundColor(const STATE state) const;
Gradient *getBackgroundGradient(const STATE state);
Color getDotColor(const STATE state) const;
// Set layout properties
bool setDotWidth(const float value);
bool setDotCount(const int value);
bool setBackgroundColor(const STATE state, const Color &value);
bool setDotColor(const STATE state, const Color &value);
};
Namespace: | nitisa::standard |
Include: | Standard/Controls/Splitter/Splitter.h |