IGraphics platform class for the web.
More...
#include <IGraphicsWeb.h>
|
| IGraphicsWeb (IGEditorDelegate &dlg, int w, int h, int fps, float scale) |
|
void | DrawResize () override |
|
const char * | GetPlatformAPIStr () 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 | ForceEndUserEdit () override |
|
void * | OpenWindow (void *pParent) override |
|
void | CloseWindow () override |
|
void * | GetWindow () override |
|
bool | WindowIsOpen () override |
|
bool | GetTextFromClipboard (WDL_String &str) override |
|
bool | SetTextInClipboard (const char *str) override |
|
void | UpdateTooltips () override |
|
EMsgBoxResult | ShowMessageBox (const char *str, const char *title, EMsgBoxType type, IMsgBoxCompletionHandlerFunc completionHandler) override |
|
void | PromptForFile (WDL_String &filename, WDL_String &path, EFileAction action, const char *ext, IFileDialogCompletionHandlerFunc completionHandler) override |
|
void | PromptForDirectory (WDL_String &path, IFileDialogCompletionHandlerFunc completionHandler) 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 |
|
bool | PlatformSupportsMultiTouch () const override |
|
IGraphics platform class for the web.
Definition at line 43 of file IGraphicsWeb.h.
◆ IGraphicsWeb()
IGraphicsWeb::IGraphicsWeb |
( |
IGEditorDelegate & |
dlg, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
fps, |
|
|
float |
scale |
|
) |
| |
◆ ~IGraphicsWeb()
IGraphicsWeb::~IGraphicsWeb |
( |
| ) |
|
◆ CloseWindow()
void IGraphicsWeb::CloseWindow |
( |
| ) |
|
|
inlineoverride |
◆ CreatePlatformPopupMenu()
◆ CreatePlatformTextEntry()
void IGraphicsWeb::CreatePlatformTextEntry |
( |
int |
paramIdx, |
|
|
const IText & |
text, |
|
|
const IRECT & |
bounds, |
|
|
int |
length, |
|
|
const char * |
str |
|
) |
| |
|
overrideprotected |
◆ DrawResize()
void IGraphicsWeb::DrawResize |
( |
| ) |
|
|
override |
◆ ForceEndUserEdit()
void IGraphicsWeb::ForceEndUserEdit |
( |
| ) |
|
|
inlineoverride |
◆ GetMouseLocation()
void IGraphicsWeb::GetMouseLocation |
( |
float & |
x, |
|
|
float & |
y |
|
) |
| const |
|
override |
◆ GetPlatformAPIStr()
const char * IGraphicsWeb::GetPlatformAPIStr |
( |
| ) |
|
|
inlineoverride |
◆ GetTextFromClipboard()
bool IGraphicsWeb::GetTextFromClipboard |
( |
WDL_String & |
str | ) |
|
|
inlineoverride |
◆ GetWindow()
void * IGraphicsWeb::GetWindow |
( |
| ) |
|
|
inlineoverride |
◆ HideMouseCursor()
void IGraphicsWeb::HideMouseCursor |
( |
bool |
hide, |
|
|
bool |
lock |
|
) |
| |
|
override |
◆ MoveMouseCursor()
void IGraphicsWeb::MoveMouseCursor |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inlineoverride |
◆ OnMainLoopTimer()
void IGraphicsWeb::OnMainLoopTimer |
( |
| ) |
|
|
static |
◆ OpenURL()
bool IGraphicsWeb::OpenURL |
( |
const char * |
url, |
|
|
const char * |
msgWindowTitle, |
|
|
const char * |
confirmMsg, |
|
|
const char * |
errMsgOnFailure |
|
) |
| |
|
override |
◆ OpenWindow()
void * IGraphicsWeb::OpenWindow |
( |
void * |
pParent | ) |
|
|
override |
◆ PlatformSupportsMultiTouch()
bool IGraphicsWeb::PlatformSupportsMultiTouch |
( |
| ) |
const |
|
inlineoverride |
◆ PromptForColor()
bool IGraphicsWeb::PromptForColor |
( |
IColor & |
color, |
|
|
const char * |
str, |
|
|
IColorPickerHandlerFunc |
func |
|
) |
| |
|
override |
◆ PromptForDirectory()
void IGraphicsWeb::PromptForDirectory |
( |
WDL_String & |
path, |
|
|
IFileDialogCompletionHandlerFunc |
completionHandler |
|
) |
| |
|
override |
◆ PromptForFile()
void IGraphicsWeb::PromptForFile |
( |
WDL_String & |
filename, |
|
|
WDL_String & |
path, |
|
|
EFileAction |
action, |
|
|
const char * |
ext, |
|
|
IFileDialogCompletionHandlerFunc |
completionHandler |
|
) |
| |
|
override |
◆ SetMouseCursor()
ECursor IGraphicsWeb::SetMouseCursor |
( |
ECursor |
cursorType | ) |
|
|
override |
◆ SetTextInClipboard()
bool IGraphicsWeb::SetTextInClipboard |
( |
const char * |
str | ) |
|
|
inlineoverride |
◆ ShowMessageBox()
EMsgBoxResult IGraphicsWeb::ShowMessageBox |
( |
const char * |
str, |
|
|
const char * |
title, |
|
|
EMsgBoxType |
type, |
|
|
IMsgBoxCompletionHandlerFunc |
completionHandler |
|
) |
| |
|
override |
◆ UpdateTooltips()
void IGraphicsWeb::UpdateTooltips |
( |
| ) |
|
|
inlineoverride |
◆ WindowIsOpen()
bool IGraphicsWeb::WindowIsOpen |
( |
| ) |
|
|
inlineoverride |
◆ mPrevX
double IGraphicsWeb::mPrevX = 0. |
◆ mPrevY
double IGraphicsWeb::mPrevY = 0. |
The documentation for this class was generated from the following files: