5 #ifndef __csplashscreen__ 6 #define __csplashscreen__ 9 #include "icontrollistener.h" 32 virtual void unSplash ();
68 virtual void setSplashBitmap (
CBitmap* bitmap);
69 CBitmap* getSplashBitmap ()
const;
71 virtual void setSplashRect (
const CRect& splashRect);
72 const CRect& getSplashRect ()
const;
74 virtual void setAnimationIndex (uint32_t index) { animationIndex = index; }
75 uint32_t getAnimationIndex ()
const {
return animationIndex; }
77 virtual void setAnimationTime (uint32_t time) { animationTime = time; }
78 uint32_t getAnimationTime ()
const {
return animationTime; }
81 virtual bool createAnimation (uint32_t animationIndex, uint32_t animationTime,
CView* splashView,
bool removeViewAnimation);
84 void unSplash ()
override;
93 uint32_t animationIndex;
94 uint32_t animationTime;
Rect structure.
Definition: crect.h:17
virtual void setDisplayArea(const CRect &rect)
set the area in which the splash will be displayed
Definition: csplashscreen.h:34
Definition: xmlparse.c:181
CMouseEventResult onMouseDown(CPoint &where, const CButtonState &buttons) override
called when a mouse down event occurs
Definition: csplashscreen.cpp:118
A drawing context encapsulates the drawing context of the underlying OS.
Definition: cdrawcontext.h:29
Base Object with reference counter.
Definition: vstguibase.h:276
void draw(CDrawContext *) override
called if the view should draw itself
Definition: csplashscreen.cpp:103
virtual CRect & getDisplayArea(CRect &rect) const
get the area in which the splash will be displayed
Definition: csplashscreen.h:35
bool hitTest(const CPoint &where, const CButtonState &buttons=-1) override
check if where hits this view
Definition: csplashscreen.cpp:109
Encapsulates various platform depended kinds of bitmaps.
Definition: cbitmap.h:21
Definition: customcontrols.cpp:8
base class of all VSTGUI controls
Definition: ccontrol.h:76
CSplashScreen(const CRect &size, IControlListener *listener, int32_t tag, CBitmap *background, const CRect &toDisplay, const CPoint &offset=CPoint(0, 0))
Definition: csplashscreen.cpp:61
Base Class of all view objects.
Definition: cview.h:44
Definition: csplashscreen.h:18
virtual bool sizeToFit()
resize view to optimal size
Definition: cview.h:138
Point structure.
Definition: cpoint.h:17
a splash screen which animates the opening and closing of the splash bitmap
Definition: csplashscreen.h:58
CMessageResult notify(CBaseObject *sender, IdStringPtr message) override
Definition: cview.cpp:616
virtual void valueChanged()
notifies listener and dependent objects
Definition: ccontrol.cpp:200
Definition: icontrollistener.h:14