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

IGraphics platform class for Windows. More...

#include <IGraphicsWin.h>

Inheritance diagram for IGraphicsWin:
[legend]

Classes

class  Font
 
struct  HFontHolder
 
class  InstalledFont
 

Public Member Functions

 IGraphicsWin (IGEditorDelegate &dlg, int w, int h, int fps, float scale)
 
void SetWinModuleHandle (void *pInstance) override
 
void * GetWinModuleHandle () override
 
void ForceEndUserEdit () override
 
float GetPlatformWindowScale () const override
 
void PlatformResize (bool parentHasResized) override
 
void CheckTabletInput (UINT msg)
 
void DestroyEditWindow ()
 
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
 
EMsgBoxResult ShowMessageBox (const char *str, const char *caption, EMsgBoxType type, IMsgBoxCompletionHanderFunc completionHandler) override
 
void * OpenWindow (void *pParent) override
 
void CloseWindow () override
 
bool WindowIsOpen () 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
 
IPopupMenuGetItemMenu (long idx, long &idxInMenu, long &offsetIdx, IPopupMenu &baseMenu)
 
HMENU CreateMenu (IPopupMenu &menu, long *pOffsetIdx)
 
bool OpenURL (const char *url, const char *msgWindowTitle, const char *confirmMsg, const char *errMsgOnFailure)
 
void * GetWindow () override
 
HWND GetParentWindow () const
 
HWND GetMainWnd ()
 
void SetMainWndClassName (const char *name)
 
IRECT GetWindowRECT ()
 
void SetWindowTitle (const char *str)
 
const char * GetPlatformAPIStr () override
 
bool GetTextFromClipboard (WDL_String &str) override
 
bool SetTextInClipboard (const char *str) override
 
bool PlatformSupportsMultiTouch () const override
 
DWORD OnVBlankRun ()
 

Static Public Member Functions

static LRESULT CALLBACK WndProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
 
static LRESULT CALLBACK ParamEditProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
 
static BOOL CALLBACK FindMainWindow (HWND hWnd, LPARAM lParam)
 

Protected Member Functions

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
 
void SetTooltip (const char *tooltip)
 
void ShowTooltip ()
 
void HideTooltip ()
 

Detailed Description

IGraphics platform class for Windows.

Definition at line 24 of file IGraphicsWin.h.


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