struct axl::gui::WidgetScrollBar

#include <axl_gui_Widget.h>

struct WidgetScrollBar
{
    // fields

    size_t m_end;
    size_t m_page;
    size_t m_pos;

    // construction

    WidgetScrollBar();

    WidgetScrollBar(
        size_t end,
        size_t page,
        size_t pos = 0
        );

    // methods

    bool
    isRelevant() const;

    bool
    isMaxed() const;

    size_t
    getMaxPos();
};