iPlug2 - C++ Audio Plug-in Framework
|
IGraphics platform class for Windows. More...
#include <IGraphicsWin.h>
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 *title, EMsgBoxType type, IMsgBoxCompletionHandlerFunc 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, IFileDialogCompletionHandlerFunc completionHandler) override |
void | PromptForDirectory (WDL_String &dir, IFileDialogCompletionHandlerFunc completionHandler) override |
bool | PromptForColor (IColor &color, const char *str, IColorPickerHandlerFunc func) override |
IPopupMenu * | GetItemMenu (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) override |
void * | GetWindow () override |
const char * | GetPlatformAPIStr () override |
bool | GetTextFromClipboard (WDL_String &str) override |
bool | SetTextInClipboard (const char *str) override |
bool | SetFilePathInClipboard (const char *path) override |
bool | InitiateExternalFileDragDrop (const char *path, const IRECT &iconBounds) 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 | |
IPopupMenu * | CreatePlatformPopupMenu (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 () |
HWND | GetMainWnd () |
IRECT | GetWindowRECT () |
IGraphics platform class for Windows.
Definition at line 25 of file IGraphicsWin.h.
IGraphicsWin::IGraphicsWin | ( | IGEditorDelegate & | dlg, |
int | w, | ||
int | h, | ||
int | fps, | ||
float | scale | ||
) |
Definition at line 751 of file IGraphicsWin.cpp.
IGraphicsWin::~IGraphicsWin | ( | ) |
Definition at line 764 of file IGraphicsWin.cpp.
void IGraphicsWin::CheckTabletInput | ( | UINT | msg | ) |
Definition at line 83 of file IGraphicsWin.cpp.
|
override |
Definition at line 1181 of file IGraphicsWin.cpp.
HMENU IGraphicsWin::CreateMenu | ( | IPopupMenu & | menu, |
long * | pOffsetIdx | ||
) |
Definition at line 1252 of file IGraphicsWin.cpp.
|
overrideprotected |
Definition at line 1340 of file IGraphicsWin.cpp.
|
overrideprotected |
Definition at line 1394 of file IGraphicsWin.cpp.
void IGraphicsWin::DestroyEditWindow | ( | ) |
Definition at line 99 of file IGraphicsWin.cpp.
|
static |
Definition at line 1126 of file IGraphicsWin.cpp.
|
override |
Definition at line 800 of file IGraphicsWin.cpp.
IPopupMenu * IGraphicsWin::GetItemMenu | ( | long | idx, |
long & | idxInMenu, | ||
long & | offsetIdx, | ||
IPopupMenu & | baseMenu | ||
) |
Definition at line 1224 of file IGraphicsWin.cpp.
|
protected |
Definition at line 1144 of file IGraphicsWin.cpp.
|
override |
Definition at line 926 of file IGraphicsWin.cpp.
|
inlineoverride |
Definition at line 71 of file IGraphicsWin.h.
|
inlineoverride |
Definition at line 38 of file IGraphicsWin.h.
|
override |
Definition at line 1738 of file IGraphicsWin.cpp.
|
inlineoverride |
Definition at line 69 of file IGraphicsWin.h.
|
protected |
Definition at line 1168 of file IGraphicsWin.cpp.
|
inlineoverride |
Definition at line 35 of file IGraphicsWin.h.
|
override |
Definition at line 845 of file IGraphicsWin.cpp.
|
protected |
Definition at line 1729 of file IGraphicsWin.cpp.
|
override |
Definition at line 1858 of file IGraphicsWin.cpp.
|
override |
Definition at line 870 of file IGraphicsWin.cpp.
DWORD IGraphicsWin::OnVBlankRun | ( | ) |
Definition at line 2092 of file IGraphicsWin.cpp.
|
override |
Definition at line 1684 of file IGraphicsWin.cpp.
|
override |
Definition at line 1035 of file IGraphicsWin.cpp.
|
static |
Definition at line 651 of file IGraphicsWin.cpp.
|
override |
Definition at line 807 of file IGraphicsWin.cpp.
|
override |
Definition at line 1219 of file IGraphicsWin.cpp.
|
override |
Definition at line 1648 of file IGraphicsWin.cpp.
|
override |
Definition at line 1589 of file IGraphicsWin.cpp.
|
override |
Definition at line 1481 of file IGraphicsWin.cpp.
|
override |
Definition at line 1448 of file IGraphicsWin.cpp.
|
override |
Definition at line 1815 of file IGraphicsWin.cpp.
|
override |
Definition at line 893 of file IGraphicsWin.cpp.
|
override |
Definition at line 1770 of file IGraphicsWin.cpp.
|
protected |
Definition at line 1705 of file IGraphicsWin.cpp.
|
inlineoverride |
Definition at line 34 of file IGraphicsWin.h.
|
override |
Definition at line 1023 of file IGraphicsWin.cpp.
|
protected |
Definition at line 1713 of file IGraphicsWin.cpp.
|
inlineoverride |
Definition at line 57 of file IGraphicsWin.h.
|
inlineoverride |
Definition at line 55 of file IGraphicsWin.h.
|
static |
Definition at line 216 of file IGraphicsWin.cpp.