ASPiK SDK
uidescriptionadapter.h
1 // This file is part of VSTGUI. It is subject to the license terms
2 // in the LICENSE file found in the top-level directory of this
3 // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
4 
5 #pragma once
6 
7 #include "../../../uidescription/iuidescription.h"
8 
9 namespace VSTGUI {
10 
12 {
13 public:
14  CView* createView (UTF8StringPtr name, IController* controller) const override { return nullptr; }
15  CBitmap* getBitmap (UTF8StringPtr name) const override { return nullptr; }
16  CFontRef getFont (UTF8StringPtr name) const override { return nullptr; }
17  bool getColor (UTF8StringPtr name, CColor& color) const override { return false; }
18  CGradient* getGradient (UTF8StringPtr name) const override { return nullptr; }
19  int32_t getTagForName (UTF8StringPtr name) const override { return -1; }
20  IControlListener* getControlListener (UTF8StringPtr name) const override { return nullptr; }
21  IController* getController () const override { return nullptr; }
22 
23  UTF8StringPtr lookupColorName (const CColor& color) const override { return nullptr; }
24  UTF8StringPtr lookupFontName (const CFontRef font) const override { return nullptr; }
25  UTF8StringPtr lookupBitmapName (const CBitmap* bitmap) const override { return nullptr; }
26  UTF8StringPtr lookupGradientName (const CGradient* gradient) const override { return nullptr; }
27  UTF8StringPtr lookupControlTagName (const int32_t tag) const override { return nullptr; }
28 
29  bool getVariable (UTF8StringPtr name, double& value) const override { return false; }
30  bool getVariable (UTF8StringPtr name, std::string& value) const override { return false; }
31 
32  void collectTemplateViewNames (std::list<const std::string*>& names) const override {}
33  void collectColorNames (std::list<const std::string*>& names) const override {}
34  void collectFontNames (std::list<const std::string*>& names) const override {}
35  void collectBitmapNames (std::list<const std::string*>& names) const override {}
36  void collectGradientNames (std::list<const std::string*>& names) const override {}
37  void collectControlTagNames (std::list<const std::string*>& names) const override {}
38 
39  const IViewFactory* getViewFactory () const override { return nullptr; }
40 };
41 
42 }
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
Definition: uidescriptionadapter.h:11
Base Class of all view objects.
Definition: cview.h:44
Definition: icontrollistener.h:14