SavvyUI C++ UI Library
Loading...
Searching...
No Matches
Scrollbar Class Reference

#include <Scrollbar.h>

Public Member Functions

 Scrollbar ()
virtual ~Scrollbar ()
void setOrientation (const wstring &orientation=L"VERT")
long getVScrollbarWidth ()
long getHScrollbarHeight ()
void paint (Graphics *g, const Bounds &rect, __int64 totalItemCount, __int64 firstVisibleItem, long maxVisibleItems)
BOOL onMousePressed (WinHandle hWnd, int x, int y, int clickCount, BOOL shiftPressed, BOOL ctrlPressed)
BOOL onMouseReleased (WinHandle hWnd, int x, int y, BOOL shiftPressed, BOOL ctrlPressed)
BOOL onMouseMoved (WinHandle hWnd, int x, int y, BOOL shiftPressed, BOOL ctrlPressed)
void addListener (ScrollbarListener *l)

Constructor & Destructor Documentation

◆ Scrollbar()

Scrollbar::Scrollbar ( )

◆ ~Scrollbar()

virtual Scrollbar::~Scrollbar ( )
virtual

Member Function Documentation

◆ addListener()

void Scrollbar::addListener ( ScrollbarListener * l)

◆ getHScrollbarHeight()

long Scrollbar::getHScrollbarHeight ( )

◆ getVScrollbarWidth()

long Scrollbar::getVScrollbarWidth ( )

◆ onMouseMoved()

BOOL Scrollbar::onMouseMoved ( WinHandle hWnd,
int x,
int y,
BOOL shiftPressed,
BOOL ctrlPressed )

◆ onMousePressed()

BOOL Scrollbar::onMousePressed ( WinHandle hWnd,
int x,
int y,
int clickCount,
BOOL shiftPressed,
BOOL ctrlPressed )

◆ onMouseReleased()

BOOL Scrollbar::onMouseReleased ( WinHandle hWnd,
int x,
int y,
BOOL shiftPressed,
BOOL ctrlPressed )

◆ paint()

void Scrollbar::paint ( Graphics * g,
const Bounds & rect,
__int64 totalItemCount,
__int64 firstVisibleItem,
long maxVisibleItems )

◆ setOrientation()

void Scrollbar::setOrientation ( const wstring & orientation = L"VERT")

The documentation for this class was generated from the following file: