PlatformRequest struct
Public static functions
- static auto Open(const char* title, int32_t width, int32_t height, uint32_t tag = 0) -> PlatformRequest
- Ask Sentinel to open a window; a WindowOpened event with
tagfollows. - static auto MakeTitle(PlatformWindowID window, const char* title) -> PlatformRequest
- static auto Simple(PlatformRequestType type, PlatformWindowID window) -> PlatformRequest
- static auto UserScale(float scale) -> PlatformRequest
- static auto OpenPopup(PlatformWindowID parent, PlatformWindowKind kind, int32_t x, int32_t y, int32_t width, int32_t height, uint32_t tag = 0) -> PlatformRequest
- Open a popup at (
x,y) relative toparent; a WindowOpened event withtagfollows. - static auto Cursor(PlatformWindowID window, PlatformCursor cursor) -> PlatformRequest
- static auto ClipboardRead(PlatformWindowID window, uint32_t tag = 0, PlatformClipboard which = PlatformClipboard::Clipboard) -> PlatformRequest
- Ask for clipboard text; a ClipboardText event for
windowwithtagfollows. - static auto TextInputArea(PlatformWindowID window, int32_t x, int32_t y, int32_t w, int32_t h) -> PlatformRequest
- Where the focused text widget's caret is, so the IME places its candidate list beside it.