5 #ifndef __iuidescription__ 6 #define __iuidescription__ 8 #include "../lib/vstguifwd.h" 9 #include "../lib/cfont.h" 24 virtual CView* createView (UTF8StringPtr name,
IController* controller)
const = 0;
26 virtual CBitmap* getBitmap (UTF8StringPtr name)
const = 0;
27 virtual CFontRef getFont (UTF8StringPtr name)
const = 0;
28 virtual bool getColor (UTF8StringPtr name,
CColor& color)
const = 0;
29 virtual CGradient* getGradient (UTF8StringPtr name)
const = 0;
30 virtual int32_t getTagForName (UTF8StringPtr name)
const = 0;
34 virtual UTF8StringPtr lookupColorName (
const CColor& color)
const = 0;
35 virtual UTF8StringPtr lookupFontName (
const CFontRef font)
const = 0;
36 virtual UTF8StringPtr lookupBitmapName (
const CBitmap* bitmap)
const = 0;
37 virtual UTF8StringPtr lookupGradientName (
const CGradient* gradient)
const = 0;
38 virtual UTF8StringPtr lookupControlTagName (
const int32_t
tag)
const = 0;
40 virtual bool getVariable (UTF8StringPtr name,
double& value)
const = 0;
41 virtual bool getVariable (UTF8StringPtr name, std::string& value)
const = 0;
43 virtual void collectTemplateViewNames (std::list<const std::string*>& names)
const = 0;
44 virtual void collectColorNames (std::list<const std::string*>& names)
const = 0;
45 virtual void collectFontNames (std::list<const std::string*>& names)
const = 0;
46 virtual void collectBitmapNames (std::list<const std::string*>& names)
const = 0;
47 virtual void collectGradientNames (std::list<const std::string*>& names)
const = 0;
48 virtual void collectControlTagNames (std::list<const std::string*>& names)
const = 0;
52 static IdStringPtr kCustomViewName;
58 #endif // __iuidescription__ font class
Definition: cfont.h:31
Definition: iuidescription.h:19
Definition: xmlparse.c:181
Definition: iviewfactory.h:15
RGBA Color structure.
Definition: ccolor.h:15
Gradient Object [new in 4.0].
Definition: cgradient.h:19
Encapsulates various platform depended kinds of bitmaps.
Definition: cbitmap.h:21
Definition: customcontrols.cpp:8
extension to IControlListener used by UIDescription
Definition: icontroller.h:20
Base Class of all view objects.
Definition: cview.h:44
Definition: icontrollistener.h:14