Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <scroll_view_indicator.h>
Public Types | |
enum | Direction { Direction::Horizontal, Direction::Vertical } |
Public Member Functions | |
ScrollViewIndicator (Direction direction) | |
void | drawRect (KDContext *ctx, KDRect rect) const override |
void | setIndicatorColor (KDColor c) |
KDColor | indicatorColor () const |
void | setBackgroundColor (KDColor c) |
KDColor | backgroundColor () const |
void | setMargin (KDCoordinate m) |
KDCoordinate | margin () const |
float | start () const |
void | setStart (float start) |
float | end () const |
void | setEnd (float end) |
KDRect | frame () |
Public Member Functions inherited from View | |
View () | |
virtual | ~View () |
View (const View &other)=delete | |
View (View &&other)=delete | |
View & | operator= (const View &other)=delete |
View & | operator= (View &&other)=delete |
void | resetSuperview () |
void | setSize (KDSize size) |
void | setFrame (KDRect frame) |
KDPoint | pointFromPointInView (View *view, KDPoint point) |
KDRect | bounds () const |
View * | subview (int index) |
virtual KDSize | minimalSizeForOptimalDisplay () const |
Additional Inherited Members | |
Protected Member Functions inherited from View | |
void | markRectAsDirty (KDRect rect) |
Protected Attributes inherited from View | |
KDRect | m_frame |
Definition at line 6 of file scroll_view_indicator.h.
|
strong |
Enumerator | |
---|---|
Horizontal | |
Vertical |
Definition at line 8 of file scroll_view_indicator.h.
ScrollViewIndicator::ScrollViewIndicator | ( | ScrollViewIndicator::Direction | direction | ) |
Definition at line 7 of file scroll_view_indicator.cpp.
|
inline |
Definition at line 18 of file scroll_view_indicator.h.
Reimplemented from View.
Definition at line 18 of file scroll_view_indicator.cpp.
float ScrollViewIndicator::end | ( | ) | const |
Definition at line 54 of file scroll_view_indicator.cpp.
KDRect ScrollViewIndicator::frame | ( | ) |
Definition at line 65 of file scroll_view_indicator.cpp.
|
inline |
Definition at line 16 of file scroll_view_indicator.h.
|
inline |
Definition at line 20 of file scroll_view_indicator.h.
|
inline |
Definition at line 17 of file scroll_view_indicator.h.
void ScrollViewIndicator::setEnd | ( | float | end | ) |
Definition at line 58 of file scroll_view_indicator.cpp.
|
inline |
Definition at line 15 of file scroll_view_indicator.h.
|
inline |
Definition at line 19 of file scroll_view_indicator.h.
void ScrollViewIndicator::setStart | ( | float | start | ) |
Definition at line 47 of file scroll_view_indicator.cpp.
float ScrollViewIndicator::start | ( | ) | const |
Definition at line 43 of file scroll_view_indicator.cpp.