36 lines
1.1 KiB
C++
36 lines
1.1 KiB
C++
// This file is part of VSTGUI. It is subject to the license terms
|
|
// in the LICENSE file found in the top-level directory of this
|
|
// distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
|
|
|
|
#pragma once
|
|
|
|
#include "../../lib/vstguifwd.h"
|
|
#include "../../lib/optional.h"
|
|
#include "interface.h"
|
|
|
|
//------------------------------------------------------------------------
|
|
namespace VSTGUI {
|
|
namespace Standalone {
|
|
|
|
//------------------------------------------------------------------------
|
|
/** Shared UI resources interface
|
|
*
|
|
* @ingroup standalone
|
|
*/
|
|
class ISharedUIResources : public Interface
|
|
{
|
|
public:
|
|
/** get shared color. */
|
|
virtual Optional<CColor> getColor (const UTF8String& name) const = 0;
|
|
/** get shared bitmap. */
|
|
virtual Optional<CBitmap*> getBitmap (const UTF8String& name) const = 0;
|
|
/** get shared gradient. */
|
|
virtual Optional<CGradient*> getGradient (const UTF8String& name) const = 0;
|
|
/** get shared font. */
|
|
virtual Optional<CFontDesc*> getFont (const UTF8String& name) const = 0;
|
|
};
|
|
|
|
//------------------------------------------------------------------------
|
|
} // Standalone
|
|
} // VSTGUI
|