Implements ViewV1V2B widget.
You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.
class CViewV1V2B :public virtual IViewV1V2B, public CControl
{
public:
enum class State
{
Normal,
Active
};
enum class View
{
None,
Left,
RightTop,
LeftBottom,
RightBottom
};
public:
// IControl getters
CursorType getCursor() override;
// IViewControl methods
bool ActivateView(const int index) override;
// IViewV1V2B getters
bool isResizable() override;
float getSeparatorH() override;
float getSeparatorV() override;
float getSeparatorX() override;
// IViewV1V2B setters
bool setResizable(const bool value) override;
bool setSeparatorH(const float value) override;
bool setSeparatorV(const float value) override;
bool setSeparatorX(const float value) override;
CViewV1V2B();
CViewV1V2B(IForm *parent);
CViewV1V2B(IControl *parent);
// Getters
View getActiveView();
float getBorderWidth();
float getSeparatorWidth();
Color getBorderColor(const State state);
Color getSeparatorColor(const State state);
// Setters
bool setActiveView(const View value);
bool setBorderWidth(const float value);
bool setSeparatorWidth(const float value);
bool setBorderColor(const State state, const Color &value);
bool setSeparatorColor(const State state, const Color &value);
};
Namespace: | nitisa::ide |
Include: | Ide/Controls/ViewV1V2B/ViewV1V2B.h |