Functions | |
| void | clipboard_set (const std::string &contents) noexcept |
| Set clipboard contents. | |
| std::string | clipboard_get () noexcept |
| Get clipboard contents. | |
| bool | clipboard_clear () noexcept |
| Clear the clipboard contents. | |
| bool | is_key_mod_down (const KeyMods modifier) noexcept |
| See if a key mod is being held down. | |
| bool | is_key_down (const Keys key) noexcept |
| See if a key is being held down. | |
| bool | is_mouse_down (const MouseButton btn) noexcept |
| Check if a mouse button was pressed. | |
| glm::vec2 | get_cursor_pos () noexcept |
| Get current cursor position. | |
|
noexcept |
Set clipboard contents.
| contents | UTF-8 string. |
Definition at line 16 of file Clipboard.cpp.
|
nodiscardnoexcept |
Get clipboard contents.
Definition at line 21 of file Clipboard.cpp.
|
noexcept |
Clear the clipboard contents.
Definition at line 34 of file Clipboard.cpp.
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |