CSplashScreen

#include <vstcontrols.h>

class CSplashScreen : public CControl;

One click on its activated region and its pixmap is displayed, in this state the other control can not be used, an another click on the displayed area reinstalls the normal frame. This can be used to display a help view over the other views.


CSplashScreen

1.0

CSplashScreen (CRect &size, CControlListener *listener, long tag, CBitmap*handle,CRect &toDisplay, CPoint& offset);

Creates a splashScreen object.

size The rectangle enclosing the activate region, where a click will display the pixmap, relative to the parent frame.
listener The object responsible for handling events triggered by this splash screen.
tag The index of this control.
handle The pixmap to display.
toDisplay The rectangle where the pixmap is displayed and where a click erases this display, in the parent frame's local coordinates.
offset

 

[source] source

[CSplashScreen]


~CSplashScreen

1.0

~CSplashScreen ();

Destroys a splashScreen object. The pixmap is destroyed if there is no more reference on it.

[source] source


draw

1.0

void draw (CDrawContext*);

Called when this control object needs to be drawed.

[source] source


hitTest

2.2

void hitTest (CPoint& where, long buttons);

Check whether the mouse click occured inside the splash screen..


mouse

1.0

void mouse (CDrawContext *context, CPoint&where);

Called when there is a mouse-click inside this control object.

[source] source

See also :


unSplash

2.2

void unSplash ();

Called to make the splash screen disappear.


Copyright ©2003 Steinberg Media Technologies GmbH. All Rights Reserved.