SkSliderView Class Reference

#include <SkWidget.h>

Inherits SkWidgetView.

Collaboration diagram for SkSliderView:
[legend]

List of all members.

Public Member Functions

 SkSliderView (uint32_t flags=0)
uint16_t getValue () const
uint16_t getMax () const
void setMax (U16CPU max)
void setValue (U16CPU value)

Protected Member Functions

virtual void onDraw (SkCanvas *)
virtual ClickonFindClickHandler (SkScalar x, SkScalar y)
virtual bool onClick (Click *)

Detailed Description

Definition at line 204 of file SkWidget.h.


Constructor & Destructor Documentation

SkSliderView::SkSliderView ( uint32_t  flags = 0  ) 

Member Function Documentation

uint16_t SkSliderView::getMax (  )  const [inline]

Definition at line 209 of file SkWidget.h.

uint16_t SkSliderView::getValue (  )  const [inline]

Definition at line 208 of file SkWidget.h.

virtual bool SkSliderView::onClick ( Click  )  [protected, virtual]

Override this to track clicks, returning true as long as you want to track the pen/mouse.

Reimplemented from SkView.

virtual void SkSliderView::onDraw ( SkCanvas  )  [protected, virtual]
virtual Click* SkSliderView::onFindClickHandler ( SkScalar  x,
SkScalar  y 
) [protected, virtual]

Override this if you might handle the click

Reimplemented from SkView.

void SkSliderView::setMax ( U16CPU  max  ) 
void SkSliderView::setValue ( U16CPU  value  ) 

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

Generated on Tue Oct 20 10:33:05 2009 for Skia by  doxygen 1.6.1