#ifndef __C_IRR_DEVICE_SDL_H_INCLUDED__\r
#define __C_IRR_DEVICE_SDL_H_INCLUDED__\r
\r
-#include "IrrCompileConfig.h"\r
\r
#ifdef _IRR_COMPILE_WITH_SDL_DEVICE_\r
\r
//! Restores the window size.\r
void restoreWindow() override;\r
\r
+ //! Checks if the window is maximized.\r
+ bool isWindowMaximized() const override;\r
+\r
//! Checks if the Irrlicht window is running in fullscreen mode\r
/** \return True if window is fullscreen. */\r
bool isFullscreen() const override;\r
static EM_BOOL MouseLeaveCallback(int eventType, const EmscriptenMouseEvent *mouseEvent, void *userData);\r
\r
#endif\r
+ // Check if a key is a known special character with no side effects on text boxes.\r
+ static bool keyIsKnownSpecial(EKEY_CODE key);\r
+\r
+ // Return the Char that should be sent to Irrlicht for the given key (either the one passed in or 0).\r
+ static int findCharToPassToIrrlicht(int assumedChar, EKEY_CODE key);\r
+\r
+ // Check if a text box is in focus. Enable or disable SDL_TEXTINPUT events only if in focus.\r
+ void resetReceiveTextInputEvents();\r
+\r
//! create the driver\r
void createDriver();\r
\r
u32 Width, Height;\r
\r
bool Resizable;\r
- bool WindowMinimized;\r
\r
struct SKeyMap\r
{\r