iPlug 2: IPlugPlatformView.h Source File
18 #define PLATFORM_VIEW NSView
19 #define PLATFORM_RECT NSRect
20 #define MAKERECT NSMakeRect
22 #define PLATFORM_VIEW UIView
23 #define PLATFORM_RECT CGRect
24 #define MAKERECT CGRectMake
38 void* CreatePlatformView(void* pParent, float x, float y, float w, float h, float scale = 1.);
41 void SetChildViewBounds(float x, float y, float w, float h, float scale = 1.);
45 void* mPlatformView = nullptr;
Include to get consistently named preprocessor macros for different platforms and logging functionali...
IPlatformView is a base interface for hosting a platform view inside an IPlug plug-in's UI.