|
| BackendSDL () |
| Default constructor.
|
|
| ~BackendSDL () |
| Destructor.
|
|
void | attachGui (GuiBase *gui) override |
| Informs the backend that a new gui object has been created. More...
|
|
void | detatchGui (GuiBase *gui) override |
| Informs the backend that a gui object is being destroyed. More...
|
|
Font | createDefaultFont () override |
| Creates and returns the default font for all widgets. More...
|
|
std::shared_ptr< BackendFontBase > | createFont () override |
| Creates a new font object. More...
|
|
std::shared_ptr< BackendTextBase > | createText () override |
| Creates a new text object. More...
|
|
std::shared_ptr< BackendTextureBase > | createTexture () override |
| Creates a new texture object. More...
|
|
void | setMouseCursorStyle (Cursor::Type type, const std::uint8_t *pixels, Vector2u size, Vector2u hotspot) override |
| Changes the look of a certain mouse cursor by using a bitmap. More...
|
|
void | resetMouseCursorStyle (Cursor::Type type) override |
| Changes the look of a certain mouse cursor back to the system theme. More...
|
|
void | setMouseCursor (GuiBase *gui, Cursor::Type type) override |
| Changes the mouse cursor when the mouse is on top of the window to which the gui is attached. More...
|
|
void | openVirtualKeyboard (const FloatRect &inputRect) override |
| Opens the virtual keyboard on Android and iOS. More...
|
|
void | closeVirtualKeyboard () override |
| Closes the virtual keyboard on Android and iOS. More...
|
|
bool | isKeyboardModifierPressed (Event::KeyModifier modifierKey) override |
| Checks the state for one of the modifier keys. More...
|
|
void | setClipboard (const String &contents) override |
| Changes the contents of the clipboard. More...
|
|
String | getClipboard () const override |
| Returns the contents of the clipboard. More...
|
|
std::shared_ptr< BackendRenderTargetSDL > | createGuiRenderTarget (GuiSDL *gui, SDL_Window *window) |
| Sets the SDL window to which the gui will render and returns a new render target object to interact with. More...
|
|
void | changeTexture (GLuint textureId, bool force) |
| Changes the bound texture if another texture was currently set. More...
|
|
| BackendBase ()=default |
| Default constructor.
|
|
| BackendBase (const BackendBase &)=delete |
|
BackendBase & | operator= (const BackendBase &)=delete |
|
virtual | ~BackendBase ()=default |
| Virtual destructor.
|
|
void | setDestroyOnLastGuiDetatch (bool destroyOnDetatch) |
| Informs the backend whether it should destroy itself when the last Gui is detached from it. More...
|
|
virtual void | attachGui (GuiBase *gui)=0 |
| Informs the backend that a new gui object has been created. More...
|
|
virtual void | detatchGui (GuiBase *gui)=0 |
| Informs the backend that a gui object is being destroyed. More...
|
|
virtual Font | createDefaultFont ()=0 |
| Creates and returns the default font for all widgets. More...
|
|
virtual std::shared_ptr< BackendFontBase > | createFont ()=0 |
| Creates a new font object. More...
|
|
virtual std::shared_ptr< BackendTextBase > | createText ()=0 |
| Creates a new text object. More...
|
|
virtual std::shared_ptr< BackendTextureBase > | createTexture ()=0 |
| Creates a new texture object. More...
|
|
virtual void | setMouseCursorStyle (Cursor::Type type, const std::uint8_t *pixels, Vector2u size, Vector2u hotspot)=0 |
| Changes the look of a certain mouse cursor by using a bitmap. More...
|
|
virtual void | resetMouseCursorStyle (Cursor::Type type)=0 |
| Changes the look of a certain mouse cursor back to the system theme. More...
|
|
virtual void | setMouseCursor (GuiBase *gui, Cursor::Type type)=0 |
| Changes the mouse cursor when the mouse is on top of the window to which the gui is attached. More...
|
|
virtual void | openVirtualKeyboard (const FloatRect &inputRect)=0 |
| Opens the virtual keyboard on Android and iOS. More...
|
|
virtual void | closeVirtualKeyboard ()=0 |
| Closes the virtual keyboard on Android and iOS. More...
|
|
virtual bool | isKeyboardModifierPressed (Event::KeyModifier modifierKey)=0 |
| Checks the state for one of the modifier keys. More...
|
|
virtual void | setClipboard (const String &contents) |
| Changes the contents of the clipboard. More...
|
|
virtual String | getClipboard () const |
| Returns the contents of the clipboard. More...
|
|
virtual std::unique_ptr< std::uint8_t[]> | readFileFromAndroidAssets (const String &filename, std::size_t &fileSize) const |
| Uses the AssetManager on Android to read a file and return its contents. More...
|
|