CViewH3H1


Implements ViewH3H1 widget.

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

class CViewH3H1 :public virtual IViewH3H1, public CControl
{
public:
    enum class State
    {
        Normal,
        Active
    };

    enum class View
    {
        None,
        Left,
        Middle,
        Right,
        Bottom
    };
public:
    // IControl getters 
    CursorType getCursor() override;

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

    // IViewH3H1 getters 
    bool isResizable() override;
    float getSeparatorV() override;
    float getSeparatorH1() override;
    float getSeparatorH2() override;

    // IViewH3H1 setters 
    bool setResizable(const bool value) override;
    bool setSeparatorV(const float value) override;
    bool setSeparatorH1(const float value) override;
    bool setSeparatorH2(const float value) override;

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