iPlug2 - C++ Audio Plug-in Framework
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
IGraphicsMac Class Referencefinal

IGraphics platform class for macOS. More...

#include <IGraphicsMac.h>

Inheritance diagram for IGraphicsMac:
[legend]

Public Member Functions

 IGraphicsMac (IGEditorDelegate &dlg, int w, int h, int fps, float scale)
 
void SetBundleID (const char *bundleID)
 
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 HideMouseCursor (bool hide, bool lock) override
 
void MoveMouseCursor (float x, float y) override
 
ECursor SetMouseCursor (ECursor cursorType) override
 
void GetMouseLocation (float &x, float &y) const override
 
void DoCursorLock (float x, float y, float &prevX, float &prevY)
 
EMsgBoxResult ShowMessageBox (const char *str, const char *caption, EMsgBoxType type, IMsgBoxCompletionHanderFunc completionHandler) override
 
void ForceEndUserEdit () override
 
const char * GetPlatformAPIStr () override
 
void UpdateTooltips () override
 
bool RevealPathInExplorerOrFinder (WDL_String &path, bool select) override
 
void PromptForFile (WDL_String &fileName, WDL_String &path, EFileAction action, const char *ext) override
 
void PromptForDirectory (WDL_String &dir) override
 
bool PromptForColor (IColor &color, const char *str, IColorPickerHandlerFunc func) override
 
bool OpenURL (const char *url, const char *msgWindowTitle, const char *confirmMsg, const char *errMsgOnFailure) override
 
void * GetWindow () override
 
const char * GetBundleID () override
 
bool GetTextFromClipboard (WDL_String &str) override
 
bool SetTextInClipboard (const char *str) override
 
float MeasureText (const IText &text, const char *str, IRECT &bounds) const override
 

Static Public Member Functions

static int GetUserOSVersion ()
 

Protected Member Functions

void CreatePlatformImGui () 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
 

Friends

int GetMouseOver (IGraphicsMac *pGraphics)
 

Detailed Description

IGraphics platform class for macOS.

Definition at line 23 of file IGraphicsMac.h.


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