Added fullscreen funtion

This commit is contained in:
2025-12-19 22:46:21 +08:00
parent 551999c142
commit c8ab71738a
4 changed files with 19 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ public:
void Clear();
//呈现窗口
void Present();
bool setFullscreen(bool isFullscreen);
SDL_Renderer* GetRenderer();
SDL_Window* GetWindow();
@@ -25,5 +25,5 @@ private:
SDL_Renderer* m_renderer;
int m_width;
int m_height;
bool m_isFullscreen = false;
};