|
| LRESULT CALLBACK | wndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
| static wchar_t * | puglUtf8ToWideChar (const char *const utf8) |
| static char * | puglWideCharToUtf8 (const wchar_t *const wstr, size_t *len) |
| static bool | puglRegisterWindowClass (const char *name) |
| static unsigned | puglWinGetWindowFlags (const PuglView *const view) |
| static unsigned | puglWinGetWindowExFlags (const PuglView *const view) |
| static double | puglWinGetViewScaleFactor (HWND hwnd) |
| PuglWorldInternals * | puglInitWorldInternals (PuglWorldType type, PuglWorldFlags PUGL_UNUSED(flags)) |
| void * | puglGetNativeWorld (PuglWorld *PUGL_UNUSED(world)) |
| PuglInternals * | puglInitViewInternals (PuglWorld *PUGL_UNUSED(world)) |
| static PuglStatus | puglPollWinEvents (PuglWorld *world, const double timeout) |
| PuglStatus | puglRealize (PuglView *view) |
| PuglStatus | puglShow (PuglView *view) |
| PuglStatus | puglHide (PuglView *view) |
| | Hide the current window.
|
| void | puglFreeViewInternals (PuglView *view) |
| | Destroy and free view internals (implemented once per platform).
|
| void | puglFreeWorldInternals (PuglWorld *world) |
| | Destroy and free world internals (implemented once per platform).
|
| static PuglKey | keySymToSpecial (WPARAM sym) |
| static uint32_t | getModifiers (void) |
| static void | initMouseEvent (PuglEvent *event, PuglView *view, int button, bool press, LPARAM lParam) |
| static void | initScrollEvent (PuglEvent *event, PuglView *view, LPARAM lParam) |
| static uint32_t | puglDecodeUTF16 (const wchar_t *buf, const int len) |
| | Return the code point for buf, or the replacement character on error.
|
| static void | initKeyEvent (PuglKeyEvent *event, PuglView *view, bool press, WPARAM wParam, LPARAM lParam) |
| static void | initCharEvent (PuglEvent *event, PuglView *view, WPARAM wParam, LPARAM lParam) |
| static bool | ignoreKeyEvent (PuglView *view, LPARAM lParam) |
| static RECT | handleConfigure (PuglView *view, PuglEvent *event) |
| static void | handleCrossing (PuglView *view, const PuglEventType type, POINT pos) |
| static void | constrainAspect (const PuglView *const view, RECT *const size, const WPARAM wParam) |
| static LRESULT | handleMessage (PuglView *view, UINT message, WPARAM wParam, LPARAM lParam) |
| PuglStatus | puglGrabFocus (PuglView *view) |
| bool | puglHasFocus (const PuglView *view) |
| | Return whether View has the keyboard input focus.
|
| PuglStatus | puglRequestAttention (PuglView *view) |
| PuglStatus | puglStartTimer (PuglView *view, uintptr_t id, double timeout) |
| PuglStatus | puglStopTimer (PuglView *view, uintptr_t id) |
| PuglStatus | puglSendEvent (PuglView *view, const PuglEvent *event) |
| PuglStatus | puglWaitForEvent (PuglView *PUGL_UNUSED(view)) |
| static PuglStatus | puglDispatchViewEvents (PuglView *view) |
| static PuglStatus | puglDispatchWinEvents (PuglWorld *world) |
| PuglStatus | puglUpdate (PuglWorld *world, double timeout) |
| PuglStatus | puglProcessEvents (PuglView *view) |
| double | puglGetTime (const PuglWorld *world) |
| PuglStatus | puglPostRedisplay (PuglView *view) |
| PuglStatus | puglPostRedisplayRect (PuglView *view, const PuglRect rect) |
| PuglNativeView | puglGetNativeView (PuglView *view) |
| | Return the native window handle.
|
| PuglStatus | puglSetWindowTitle (PuglView *view, const char *title) |
| static RECT | adjustedWindowRect (PuglView *const view, const long x, const long y, const long width, const long height) |
| double | puglGetScaleFactor (const PuglView *const view) |
| PuglStatus | puglSetFrame (PuglView *view, const PuglRect frame) |
| PuglStatus | puglSetPosition (PuglView *const view, const int x, const int y) |
| PuglStatus | puglSetSize (PuglView *const view, const unsigned width, const unsigned height) |
| PuglStatus | puglSetSizeHint (PuglView *const view, const PuglSizeHint hint, const PuglSpan width, const PuglSpan height) |
| PuglStatus | puglSetTransientParent (PuglView *view, PuglNativeView parent) |
| uint32_t | puglGetNumClipboardTypes (const PuglView *const PUGL_UNUSED(view)) |
| const char * | puglGetClipboardType (const PuglView *const PUGL_UNUSED(view), const uint32_t typeIndex) |
| PuglStatus | puglAcceptOffer (PuglView *const view, const PuglDataOfferEvent *const PUGL_UNUSED(offer), const uint32_t typeIndex) |
| const void * | puglGetClipboard (PuglView *const view, const uint32_t typeIndex, size_t *const len) |
| PuglStatus | puglSetClipboard (PuglView *const view, const char *const type, const void *const data, const size_t len) |
| PuglStatus | puglPaste (PuglView *const view) |
| PuglStatus | puglSetCursor (PuglView *view, PuglCursor cursor) |
| PuglWinPFD | puglWinGetPixelFormatDescriptor (const PuglHints hints) |
| PuglStatus | puglWinCreateWindow (PuglView *const view, const char *const title, HWND *const hwnd, HDC *const hdc) |
| PuglStatus | puglWinConfigure (PuglView *view) |
| PuglStatus | puglWinEnter (PuglView *view, const PuglExposeEvent *expose) |
| PuglStatus | puglWinLeave (PuglView *view, const PuglExposeEvent *expose) |