CViewV2V2


Implements ViewV2V2 widget.

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

class CViewV2V2 :public virtual IViewV2V2, public CControl
{
public:
    enum class State
    {
        Normal,
        Active
    };

    enum class View
    {
        None,
        LeftTop,
        RightTop,
        LeftBottom,
        RightBottom
    };
public:
    // IControl getters 
    CursorType getCursor() override;

    // IViewControl methods 
    bool ActivateView(const int index) override;

    // IViewV2V2 getters 
    bool isResizable() override;
    float getSeparatorH() override;
    float getSeparatorV1() override;
    float getSeparatorV2() override;

    // IViewV2V2 setters 
    bool setResizable(const bool value) override;
    bool setSeparatorH(const float value) override;
    bool setSeparatorV1(const float value) override;
    bool setSeparatorV2(const float value) override;

    CViewV2V2();
    CViewV2V2(IForm *parent);
    CViewV2V2(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/ViewV2V2/ViewV2V2.h