SDL: Implement getDisplayDensity() and setWindowIcon()

This commit is contained in:
Desour
2023-03-25 02:52:42 +01:00
committed by sfan5
parent acbc90a000
commit 49b6ccde72
2 changed files with 67 additions and 1 deletions

View File

@ -48,6 +48,9 @@ namespace irr
//! sets the caption of the window
void setWindowCaption(const wchar_t* text) override;
//! Sets the window icon.
bool setWindowIcon(const video::IImage *img) override;
//! returns if window is active. if not, nothing need to be drawn
bool isWindowActive() const override;
@ -94,6 +97,9 @@ namespace irr
return EIDT_SDL;
}
//! Get the display density in dots per inch.
float getDisplayDensity() const override;
void SwapWindow();
//! Implementation of the linux cursor control