1
0

Add the platform-dependent stuff from renderingengine.cpp

This commit is contained in:
Desour
2023-03-25 01:40:13 +01:00
committed by sfan5
parent 6a2a569233
commit acbc90a000
7 changed files with 209 additions and 0 deletions

View File

@@ -47,6 +47,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;
@@ -96,6 +99,9 @@ namespace irr
return EIDT_WIN32;
}
//! Get the display density in dots per inch.
float getDisplayDensity() const override;
//! Compares to the last call of this function to return double and triple clicks.
//! \return Returns only 1,2 or 3. A 4th click will start with 1 again.
u32 checkSuccessiveClicks(s32 mouseX, s32 mouseY, EMOUSE_INPUT_EVENT inputEvent ) override