Implements ScrollBarLite control.
You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.
class CScrollBarLite :public virtual IScrollBarLite, public CControl
{
public:
void(*OnScroll)(IControl *sender); // Event called when scrolling
// IControl getters
IFont *getControlFont() override;
RectF getRenderRect() override;
// IControl setters
bool setFont(IFont *value, const bool copy = true) override;
bool setWantTabs(const bool value) override;
bool setTabStop(const bool value) override;
bool setDeactivateByTab(const bool value) override;
bool setUseParentFont(const bool value) override;
bool setDPI(const Point &value) override;
// IControl methods
void Refresh(const bool refresh_children) override;
// IScrollBarLite getters
float getMin() override;
float getMax() override;
float getPosition() override;
bool isVertical() override;
// IScrollBarLite setters
bool setMin(const float value) override;
bool setMax(const float value) override;
bool setPosition(const float value) override;
bool setVertical(const bool value) override;
CScrollBarLite();
CScrollBarLite(IControl *parent);
CScrollBarLite(IForm *parent);
~CScrollBarLite() override;
// Getters
IBuiltInScroll *getScroll();
// Setters
bool setScroll(IBuiltInScroll *scroll);
// Following getters works only if associated IScroll is instance of CScroll
float getScrollerSize(); // Return scroller size
float getDeltaMedium();
float getDeltaLarge();
float getScrollInterval();
int getShadowRadius(const CBuiltInScrollLite::State state);
Color getShadowColor(const CBuiltInScrollLite::State state);
PointF getShadowShift(const CBuiltInScrollLite::State state);
bool isBorderRound();
float getBorderWidth();
Color getBorderColor(const CBuiltInScrollLite::State state);
Color getBackgroundColor(const CBuiltInScrollLite::State state);
Gradient *getBackgroundGradient(const CBuiltInScrollLite::State state);
bool isScrollerRound();
float getScrollerBorderWidth();
Color getScrollerBorderColor(const CBuiltInScrollLite::State state);
Color getScrollerBackgroundColor(const CBuiltInScrollLite::State state);
Gradient *getScrollerBackgroundGradient(const CBuiltInScrollLite::State state);
// Following setters works only if associated IScroll is instance of CScroll
bool setScrollerSize(const float value); // Set scroller size
bool setDeltaMedium(const float value);
bool setDeltaLarge(const float value);
bool setScrollInterval(const float value);
bool setShadowRadius(const CBuiltInScrollLite::State state, const int value);
bool setShadowColor(const CBuiltInScrollLite::State state, const Color &value);
bool setShadowShift(const CBuiltInScrollLite::State state, const PointF &value);
bool setBorderRound(const bool value);
bool setBorderWidth(const float value);
bool setBorderColor(const CBuiltInScrollLite::State state, const Color &value);
bool setBackgroundColor(const CBuiltInScrollLite::State state, const Color &value);
bool setScrollerRound(const bool value);
bool setScrollerBorderWidth(const float value);
bool setScrollerBorderColor(const CBuiltInScrollLite::State state, const Color &value);
bool setScrollerBackgroundColor(const CBuiltInScrollLite::State state, const Color &value);
bool setShadowRadius(const int value);
bool setShadowShift(const PointF &value);
bool setShadowColor(const Color &value);
bool setBorderColor(const Color &value);
bool setBackgroundColor(const Color &value);
bool setScrollerBorderColor(const Color &value);
bool setScrollerBackgroundColor(const Color &value);
};
Namespace: | nitisa::standard |
Include: | Standard/Controls/ScrollBarLite/ScrollBarLite.h |