|
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 832 of file IGraphicsWin.cpp.
| IGraphicsWin::~IGraphicsWin | ( | ) |
Definition at line 845 of file IGraphicsWin.cpp.
| void IGraphicsWin::CheckTabletInput | ( | UINT | msg | ) |
Definition at line 144 of file IGraphicsWin.cpp.
|
override |
Definition at line 1266 of file IGraphicsWin.cpp.
| HMENU IGraphicsWin::CreateMenu | ( | IPopupMenu & | menu, |
| long * | pOffsetIdx | ||
| ) |
Definition at line 1341 of file IGraphicsWin.cpp.
|
overrideprotected |
Definition at line 1429 of file IGraphicsWin.cpp.
|
overrideprotected |
Definition at line 1483 of file IGraphicsWin.cpp.
| void IGraphicsWin::DestroyEditWindow | ( | ) |
Definition at line 160 of file IGraphicsWin.cpp.
|
static |
Definition at line 1211 of file IGraphicsWin.cpp.
|
override |
Definition at line 881 of file IGraphicsWin.cpp.
| IPopupMenu * IGraphicsWin::GetItemMenu | ( | long | idx, |
| long & | idxInMenu, | ||
| long & | offsetIdx, | ||
| IPopupMenu & | baseMenu | ||
| ) |
Definition at line 1313 of file IGraphicsWin.cpp.
|
protected |
Definition at line 1229 of file IGraphicsWin.cpp.
|
override |
Definition at line 1007 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 1827 of file IGraphicsWin.cpp.
|
inlineoverride |
Definition at line 69 of file IGraphicsWin.h.
|
protected |
Definition at line 1253 of file IGraphicsWin.cpp.
|
inlineoverride |
Definition at line 35 of file IGraphicsWin.h.
|
override |
Definition at line 926 of file IGraphicsWin.cpp.
|
protected |
Definition at line 1818 of file IGraphicsWin.cpp.
|
override |
Definition at line 1947 of file IGraphicsWin.cpp.
|
override |
Definition at line 951 of file IGraphicsWin.cpp.
| DWORD IGraphicsWin::OnVBlankRun | ( | ) |
Definition at line 2181 of file IGraphicsWin.cpp.
|
override |
Definition at line 1773 of file IGraphicsWin.cpp.
|
override |
Definition at line 1116 of file IGraphicsWin.cpp.
|
static |
Definition at line 732 of file IGraphicsWin.cpp.
|
override |
Definition at line 888 of file IGraphicsWin.cpp.
|
override |
Definition at line 1308 of file IGraphicsWin.cpp.
|
override |
Definition at line 1737 of file IGraphicsWin.cpp.
|
override |
Definition at line 1678 of file IGraphicsWin.cpp.
|
override |
Definition at line 1570 of file IGraphicsWin.cpp.
|
override |
Definition at line 1537 of file IGraphicsWin.cpp.
|
override |
Definition at line 1904 of file IGraphicsWin.cpp.
|
override |
Definition at line 974 of file IGraphicsWin.cpp.
|
override |
Definition at line 1859 of file IGraphicsWin.cpp.
|
protected |
Definition at line 1794 of file IGraphicsWin.cpp.
|
inlineoverride |
Definition at line 34 of file IGraphicsWin.h.
|
override |
Definition at line 1104 of file IGraphicsWin.cpp.
|
protected |
Definition at line 1802 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 277 of file IGraphicsWin.cpp.