Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

os::CheckBox Class Reference

2-state check box. More...

#include <checkbox.h>

Inheritance diagram for os::CheckBox:

os::Control os::View os::Invoker os::Handler List of all members.

Public Methods

 CheckBox (Rect cFrame, const char *pzName, const char *pzLabel, Message *pcMessage, uint32 nResizeMask=CF_FOLLOW_LEFT|CF_FOLLOW_TOP, uint32 nFlags=WID_WILL_DRAW|WID_CLEAR_BACKGROUND)
 ~CheckBox ()
Point GetPreferredSize (bool bLargest) const
virtual void MouseDown (const Point &cPosition, uint32 nButtons)
virtual void MouseUp (const Point &cPosition, uint32 nButtons, Message *pcData)
void Paint (const Rect &cUpdateRect)
 Called by the system update "damaged" areas of the view. More...


Detailed Description

2-state check box.

Description:
See also:
Author(s):
Kurt Skauen (kurt@atheos.cx)


Constructor & Destructor Documentation

CheckBox::CheckBox ( Rect cFrame,
const char * pzName,
const char * pzLabel,
Message * pcMessage,
uint32 nResizeMask = CF_FOLLOW_LEFT | CF_FOLLOW_TOP,
uint32 nFlags = WID_WILL_DRAW | WID_CLEAR_BACKGROUND )
 

CheckBox::~CheckBox ( )
 


Member Function Documentation

Point CheckBox::GetPreferredSize ( bool bLargest ) const [virtual]
 

Reimplemented from os::View.

void CheckBox::MouseDown ( const Point & cPosition,
uint32 nButtons ) [virtual]
 

Reimplemented from os::View.

void CheckBox::MouseUp ( const Point & cPosition,
uint32 nButtons,
Message * pcData ) [virtual]
 

Reimplemented from os::View.

void CheckBox::Paint ( const Rect & cUpdateRect ) [virtual]
 

Called by the system update "damaged" areas of the view.

Description:
Note:
Warning:
Parameters:
cUpdateRect   A rectangle enclosing all damaged areas. This is just a rough "worst-case", further fine-grained clipping will be performed by the Application Server to avoid updating non-damaged pixels and make the update as fast and flicker-free as possible.

See also:
Invalidate(), Flush()
Author(s):
Kurt Skauen (kurt@atheos.cx)

Reimplemented from os::View.


The documentation for this class was generated from the following files:
Generated at Sat Apr 7 16:11:33 2001 for AtheOS higlevel API by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001