iPlug2 - C++ Audio Plug-in Framework
|
IGraphics platform class for Windows. More...
#include <IGraphicsWin.h>
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 *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 24 of file IGraphicsWin.h.
IGraphicsWin::IGraphicsWin | ( | IGEditorDelegate & | dlg, |
int | w, | ||
int | h, | ||
int | fps, | ||
float | scale | ||
) |
Definition at line 846 of file IGraphicsWin.cpp.
IGraphicsWin::~IGraphicsWin | ( | ) |
Definition at line 859 of file IGraphicsWin.cpp.
void IGraphicsWin::CheckTabletInput | ( | UINT | msg | ) |
Definition at line 173 of file IGraphicsWin.cpp.
|
override |
Definition at line 1281 of file IGraphicsWin.cpp.
HMENU IGraphicsWin::CreateMenu | ( | IPopupMenu & | menu, |
long * | pOffsetIdx | ||
) |
Definition at line 1354 of file IGraphicsWin.cpp.
|
overrideprotected |
Definition at line 1442 of file IGraphicsWin.cpp.
|
overrideprotected |
Definition at line 1496 of file IGraphicsWin.cpp.
void IGraphicsWin::DestroyEditWindow | ( | ) |
Definition at line 189 of file IGraphicsWin.cpp.
|
static |
Definition at line 1226 of file IGraphicsWin.cpp.
|
override |
Definition at line 895 of file IGraphicsWin.cpp.
IPopupMenu * IGraphicsWin::GetItemMenu | ( | long | idx, |
long & | idxInMenu, | ||
long & | offsetIdx, | ||
IPopupMenu & | baseMenu | ||
) |
Definition at line 1326 of file IGraphicsWin.cpp.
|
protected |
Definition at line 1244 of file IGraphicsWin.cpp.
|
override |
Definition at line 1030 of file IGraphicsWin.cpp.
|
inlineoverride |
Definition at line 74 of file IGraphicsWin.h.
|
inlineoverride |
Definition at line 37 of file IGraphicsWin.h.
|
override |
Definition at line 1840 of file IGraphicsWin.cpp.
|
inlineoverride |
Definition at line 72 of file IGraphicsWin.h.
|
protected |
Definition at line 1268 of file IGraphicsWin.cpp.
|
inlineoverride |
Definition at line 34 of file IGraphicsWin.h.
|
override |
Definition at line 949 of file IGraphicsWin.cpp.
|
protected |
Definition at line 1831 of file IGraphicsWin.cpp.
|
override |
Definition at line 1960 of file IGraphicsWin.cpp.
|
override |
Definition at line 974 of file IGraphicsWin.cpp.
DWORD IGraphicsWin::OnVBlankRun | ( | ) |
Definition at line 2194 of file IGraphicsWin.cpp.
|
override |
Definition at line 1786 of file IGraphicsWin.cpp.
|
override |
Definition at line 1135 of file IGraphicsWin.cpp.
|
static |
Definition at line 746 of file IGraphicsWin.cpp.
|
override |
Definition at line 902 of file IGraphicsWin.cpp.
|
override |
Definition at line 1321 of file IGraphicsWin.cpp.
|
override |
Definition at line 1750 of file IGraphicsWin.cpp.
|
override |
Definition at line 1691 of file IGraphicsWin.cpp.
|
override |
Definition at line 1583 of file IGraphicsWin.cpp.
|
override |
Definition at line 1550 of file IGraphicsWin.cpp.
|
override |
Definition at line 1917 of file IGraphicsWin.cpp.
|
override |
Definition at line 997 of file IGraphicsWin.cpp.
|
override |
Definition at line 1872 of file IGraphicsWin.cpp.
|
protected |
Definition at line 1807 of file IGraphicsWin.cpp.
|
inlineoverride |
Definition at line 33 of file IGraphicsWin.h.
|
override |
Definition at line 1123 of file IGraphicsWin.cpp.
|
protected |
Definition at line 1815 of file IGraphicsWin.cpp.
|
inlineoverride |
Definition at line 60 of file IGraphicsWin.h.
|
inlineoverride |
Definition at line 58 of file IGraphicsWin.h.
|
static |
Definition at line 306 of file IGraphicsWin.cpp.