abstract scroll thumb for ZFUIScrollView
More...
#include <ZFUIScrollThumb.h>
|
|
static const ZFClass * | ClassData (void) |
| | get class info
|
| |
| static zfidentity | E_ScrollThumbOnUpdate (void) |
| | see ZFObject::observerNotify
|
| |
| static void | scrollThumbPosFromViewPos (zffloat &scrollThumbResultPos, zffloat &scrollThumbResultSize, zffloat scrollThumbRange, zffloat scrollViewSize, zffloat scrollContentOffset, zffloat scrollContentSize, zffloat scrollThumbMinSize, zffloat headMargin=0, zffloat tailMargin=0) |
| | util method to calculate scroll thumb's position according to view's position
|
| |
|
static void | scrollThumbPosToViewPos (zffloat &scrollContentOffset, zffloat scrollViewSize, zffloat scrollContentSize, zffloat scrollThumbPos, zffloat scrollThumbSize, zffloat scrollThumbRange, zffloat headMargin=0, zffloat tailMargin=0) |
| | util method to calculate view's position according to scroll thumb's position
|
| |
|
static const ZFClass * | ClassData (void) |
| | get class info
|
| |
abstract scroll thumb for ZFUIScrollView
◆ E_ScrollThumbOnUpdate()
| static zfidentity ZFUIScrollThumb::E_ScrollThumbOnUpdate |
( |
void | | ) |
|
|
static |
◆ scrollThumbPosFromViewPos()
util method to calculate scroll thumb's position according to view's position
0 result size means no need to show the scroll thumb
◆ scrollThumbInit()
| virtual void ZFUIScrollThumb::scrollThumbInit |
( |
void | | ) |
|
|
pure virtual |
◆ scrollThumbDealloc()
| virtual void ZFUIScrollThumb::scrollThumbDealloc |
( |
void | | ) |
|
|
pure virtual |
◆ scrollThumbUpdate()
| virtual void ZFUIScrollThumb::scrollThumbUpdate |
( |
void | | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: