iPlug2 - C++ Audio Plug-in Framework
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
IGraphicsIOS Class Referencefinal

IGraphics platform class for IOS. More...

#include <IGraphicsIOS.h>

Inheritance diagram for IGraphicsIOS:
[legend]

Public Member Functions

 IGraphicsIOS (IGEditorDelegate &dlg, int w, int h, int fps, float scale)
 
void SetBundleID (const char *bundleID)
 
void SetAppGroupID (const char *appGroupID)
 
void * OpenWindow (void *pWindow) override
 
void CloseWindow () override
 
bool WindowIsOpen () override
 
void PlatformResize (bool parentHasResized) override
 
void AttachPlatformView (const IRECT &r, void *pView) override
 
void RemovePlatformView (void *pView) override
 
void HidePlatformView (void *pView, bool hide) override
 
void GetMouseLocation (float &x, float &y) const override
 
EMsgBoxResult ShowMessageBox (const char *str, const char *title, EMsgBoxType type, IMsgBoxCompletionHandlerFunc completionHandler) override
 
void ForceEndUserEdit () override
 
const char * GetPlatformAPIStr () override
 
void UpdateTooltips () override
 
void PromptForFile (WDL_String &fileName, WDL_String &path, EFileAction action, const char *ext, IFileDialogCompletionHandlerFunc completionHandler) override
 
void PromptForDirectory (WDL_String &dir, IFileDialogCompletionHandlerFunc completionHandler) override
 
bool PromptForColor (IColor &color, const char *str, IColorPickerHandlerFunc func) override
 
void HideMouseCursor (bool hide, bool lock) override
 
void MoveMouseCursor (float x, float y) override
 
bool OpenURL (const char *url, const char *msgWindowTitle, const char *confirmMsg, const char *errMsgOnFailure) override
 
void * GetWindow () override
 
const char * GetBundleID () const override
 
const char * GetAppGroupID () const override
 
bool GetTextFromClipboard (WDL_String &str) override
 
bool SetTextInClipboard (const char *str) override
 
void LaunchBluetoothMidiDialog (float x, float y)
 
void AttachGestureRecognizer (EGestureType type) override
 
bool PlatformSupportsMultiTouch () const override
 
EUIAppearance GetUIAppearance () const override
 

Static Public Member Functions

static int GetUserOSVersion ()
 

Protected Member Functions

PlatformFontPtr LoadPlatformFont (const char *fontID, const char *fileNameOrResID) override
 
PlatformFontPtr LoadPlatformFont (const char *fontID, const char *fontName, ETextStyle style) override
 
PlatformFontPtr LoadPlatformFont (const char *fontID, void *pData, int dataSize) override
 
void CachePlatformFont (const char *fontID, const PlatformFontPtr &font) override
 
IPopupMenuCreatePlatformPopupMenu (IPopupMenu &menu, const IRECT bounds, bool &isAsync) override
 
void CreatePlatformTextEntry (int paramIdx, const IText &text, const IRECT &bounds, int length, const char *str) override
 

Detailed Description

IGraphics platform class for IOS.

Definition at line 24 of file IGraphicsIOS.h.

Constructor & Destructor Documentation

◆ IGraphicsIOS()

IGraphicsIOS::IGraphicsIOS ( IGEditorDelegate dlg,
int  w,
int  h,
int  fps,
float  scale 
)

Definition at line 56 of file IGraphicsIOS.mm.

◆ ~IGraphicsIOS()

IGraphicsIOS::~IGraphicsIOS ( )
virtual

Definition at line 93 of file IGraphicsIOS.mm.

Member Function Documentation

◆ AttachGestureRecognizer()

void IGraphicsIOS::AttachGestureRecognizer ( EGestureType  type)
override

Definition at line 176 of file IGraphicsIOS.mm.

◆ AttachPlatformView()

void IGraphicsIOS::AttachPlatformView ( const IRECT r,
void *  pView 
)
override

Definition at line 149 of file IGraphicsIOS.mm.

◆ CachePlatformFont()

void IGraphicsIOS::CachePlatformFont ( const char *  fontID,
const PlatformFontPtr &  font 
)
overrideprotected

Definition at line 343 of file IGraphicsIOS.mm.

◆ CloseWindow()

void IGraphicsIOS::CloseWindow ( )
override

Definition at line 122 of file IGraphicsIOS.mm.

◆ CreatePlatformPopupMenu()

IPopupMenu * IGraphicsIOS::CreatePlatformPopupMenu ( IPopupMenu menu,
const IRECT  bounds,
bool &  isAsync 
)
overrideprotected

Definition at line 258 of file IGraphicsIOS.mm.

◆ CreatePlatformTextEntry()

void IGraphicsIOS::CreatePlatformTextEntry ( int  paramIdx,
const IText text,
const IRECT bounds,
int  length,
const char *  str 
)
overrideprotected

Definition at line 275 of file IGraphicsIOS.mm.

◆ ForceEndUserEdit()

void IGraphicsIOS::ForceEndUserEdit ( )
override

Definition at line 182 of file IGraphicsIOS.mm.

◆ GetAppGroupID()

const char * IGraphicsIOS::GetAppGroupID ( ) const
inlineoverride

Definition at line 62 of file IGraphicsIOS.h.

◆ GetBundleID()

const char * IGraphicsIOS::GetBundleID ( ) const
inlineoverride

Definition at line 61 of file IGraphicsIOS.h.

◆ GetMouseLocation()

void IGraphicsIOS::GetMouseLocation ( float &  x,
float &  y 
) const
override

Definition at line 195 of file IGraphicsIOS.mm.

◆ GetPlatformAPIStr()

const char * IGraphicsIOS::GetPlatformAPIStr ( )
override

Definition at line 190 of file IGraphicsIOS.mm.

◆ GetTextFromClipboard()

bool IGraphicsIOS::GetTextFromClipboard ( WDL_String &  str)
override

Definition at line 318 of file IGraphicsIOS.mm.

◆ GetUIAppearance()

EUIAppearance IGraphicsIOS::GetUIAppearance ( ) const
override

Definition at line 355 of file IGraphicsIOS.mm.

◆ GetUserOSVersion()

int IGraphicsIOS::GetUserOSVersion ( )
static

Definition at line 313 of file IGraphicsIOS.mm.

◆ GetWindow()

void * IGraphicsIOS::GetWindow ( )
override

Definition at line 304 of file IGraphicsIOS.mm.

◆ HideMouseCursor()

void IGraphicsIOS::HideMouseCursor ( bool  hide,
bool  lock 
)
inlineoverride

Definition at line 54 of file IGraphicsIOS.h.

◆ HidePlatformView()

void IGraphicsIOS::HidePlatformView ( void *  pView,
bool  hide 
)
override

Definition at line 164 of file IGraphicsIOS.mm.

◆ LaunchBluetoothMidiDialog()

void IGraphicsIOS::LaunchBluetoothMidiDialog ( float  x,
float  y 
)

Definition at line 348 of file IGraphicsIOS.mm.

◆ LoadPlatformFont() [1/3]

PlatformFontPtr IGraphicsIOS::LoadPlatformFont ( const char *  fontID,
const char *  fileNameOrResID 
)
overrideprotected

Definition at line 328 of file IGraphicsIOS.mm.

◆ LoadPlatformFont() [2/3]

PlatformFontPtr IGraphicsIOS::LoadPlatformFont ( const char *  fontID,
const char *  fontName,
ETextStyle  style 
)
overrideprotected

Definition at line 333 of file IGraphicsIOS.mm.

◆ LoadPlatformFont() [3/3]

PlatformFontPtr IGraphicsIOS::LoadPlatformFont ( const char *  fontID,
void *  pData,
int  dataSize 
)
overrideprotected

Definition at line 338 of file IGraphicsIOS.mm.

◆ MoveMouseCursor()

void IGraphicsIOS::MoveMouseCursor ( float  x,
float  y 
)
inlineoverride

Definition at line 55 of file IGraphicsIOS.h.

◆ OpenURL()

bool IGraphicsIOS::OpenURL ( const char *  url,
const char *  msgWindowTitle,
const char *  confirmMsg,
const char *  errMsgOnFailure 
)
override

Definition at line 282 of file IGraphicsIOS.mm.

◆ OpenWindow()

void * IGraphicsIOS::OpenWindow ( void *  pWindow)
override

Definition at line 98 of file IGraphicsIOS.mm.

◆ PlatformResize()

void IGraphicsIOS::PlatformResize ( bool  parentHasResized)
override

Definition at line 140 of file IGraphicsIOS.mm.

◆ PlatformSupportsMultiTouch()

bool IGraphicsIOS::PlatformSupportsMultiTouch ( ) const
inlineoverride

Definition at line 73 of file IGraphicsIOS.h.

◆ PromptForColor()

bool IGraphicsIOS::PromptForColor ( IColor color,
const char *  str,
IColorPickerHandlerFunc  func 
)
override

Definition at line 252 of file IGraphicsIOS.mm.

◆ PromptForDirectory()

void IGraphicsIOS::PromptForDirectory ( WDL_String &  dir,
IFileDialogCompletionHandlerFunc  completionHandler 
)
override

Definition at line 234 of file IGraphicsIOS.mm.

◆ PromptForFile()

void IGraphicsIOS::PromptForFile ( WDL_String &  fileName,
WDL_String &  path,
EFileAction  action,
const char *  ext,
IFileDialogCompletionHandlerFunc  completionHandler 
)
override

Definition at line 200 of file IGraphicsIOS.mm.

◆ RemovePlatformView()

void IGraphicsIOS::RemovePlatformView ( void *  pView)
override

Definition at line 159 of file IGraphicsIOS.mm.

◆ SetAppGroupID()

void IGraphicsIOS::SetAppGroupID ( const char *  appGroupID)
inline

Definition at line 31 of file IGraphicsIOS.h.

◆ SetBundleID()

void IGraphicsIOS::SetBundleID ( const char *  bundleID)
inline

Definition at line 30 of file IGraphicsIOS.h.

◆ SetTextInClipboard()

bool IGraphicsIOS::SetTextInClipboard ( const char *  str)
override

Definition at line 323 of file IGraphicsIOS.mm.

◆ ShowMessageBox()

EMsgBoxResult IGraphicsIOS::ShowMessageBox ( const char *  str,
const char *  title,
EMsgBoxType  type,
IMsgBoxCompletionHandlerFunc  completionHandler 
)
override

Definition at line 169 of file IGraphicsIOS.mm.

◆ UpdateTooltips()

void IGraphicsIOS::UpdateTooltips ( )
inlineoverride

Definition at line 48 of file IGraphicsIOS.h.

◆ WindowIsOpen()

bool IGraphicsIOS::WindowIsOpen ( )
override

Definition at line 135 of file IGraphicsIOS.mm.


The documentation for this class was generated from the following files: