SkPushButtonWidget Class Reference

#include <SkWidget.h>

Inherits SkButtonWidget.

Collaboration diagram for SkPushButtonWidget:
[legend]

List of all members.

Public Member Functions

 SkPushButtonWidget (uint32_t flags=0)

Protected Member Functions

virtual bool onEvent (const SkEvent &)
virtual void onDraw (SkCanvas *)
virtual ClickonFindClickHandler (SkScalar x, SkScalar y)
virtual bool onClick (Click *click)

Detailed Description

Definition at line 97 of file SkWidget.h.


Constructor & Destructor Documentation

SkPushButtonWidget::SkPushButtonWidget ( uint32_t  flags = 0  )  [inline]

Definition at line 99 of file SkWidget.h.


Member Function Documentation

virtual bool SkPushButtonWidget::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 SkPushButtonWidget::onDraw ( SkCanvas  )  [protected, virtual]
virtual bool SkPushButtonWidget::onEvent ( const SkEvent  )  [protected, virtual]

Override this to handle events in your subclass. Be sure to call the inherited version for events that you don't handle.

Reimplemented from SkEventSink.

virtual Click* SkPushButtonWidget::onFindClickHandler ( SkScalar  x,
SkScalar  y 
) [protected, virtual]

Override this if you might handle the click

Reimplemented from SkView.


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