CHorizontalSwitch Class Reference

a horizontal switch control More...

#include <vstcontrols.h>

Inheritance diagram for CHorizontalSwitch:

CControl CView CReferenceCounter List of all members.

Public Member Functions

 CHorizontalSwitch (const CRect &size, CControlListener *listener, long tag, CBitmap *background, CPoint &offset)
 CHorizontalSwitch (const CRect &size, CControlListener *listener, long tag, long subPixmaps, CCoord heightOfOneImage, long iMaxPositions, CBitmap *background, CPoint &offset)
virtual ~CHorizontalSwitch ()
virtual void draw (CDrawContext *)
 called if the view should draw itself
virtual void mouse (CDrawContext *pContext, CPoint &where, long button=-1)
 called if a mouse click event occurs

Protected Attributes

CPoint offset
long subPixmaps
long iMaxPositions
CCoord heightOfOneImage

Detailed Description

a horizontal switch control

Same as the CVerticalSwitch but horizontal.


Constructor & Destructor Documentation

CHorizontalSwitch::CHorizontalSwitch const CRect size,
CControlListener listener,
long  tag,
CBitmap background,
CPoint offset
 

CHorizontalSwitch::CHorizontalSwitch const CRect size,
CControlListener listener,
long  tag,
long  subPixmaps,
CCoord  heightOfOneImage,
long  iMaxPositions,
CBitmap background,
CPoint offset
 

CHorizontalSwitch::~CHorizontalSwitch  )  [virtual]
 


Member Function Documentation

void CHorizontalSwitch::draw CDrawContext  )  [virtual]
 

called if the view should draw itself

Implements CControl.

void CHorizontalSwitch::mouse CDrawContext pContext,
CPoint where,
long  button = -1
[virtual]
 

called if a mouse click event occurs

Reimplemented from CView.


Member Data Documentation

CCoord CHorizontalSwitch::heightOfOneImage [protected]
 

long CHorizontalSwitch::iMaxPositions [protected]
 

CPoint CHorizontalSwitch::offset [protected]
 

long CHorizontalSwitch::subPixmaps [protected]
 


The documentation for this class was generated from the following files: Empty

Copyright ©2006 Steinberg Media Technologies. All Rights Reserved.