Files
mcpe/platforms/sdl/AppPlatform_sdl.hpp
Brent Da Mage d5ee7bfc08 Cleaned Up AppPlatform & Input Classes
* Cleaned up AppPlatform classes
* Documented & improved Keyboard & Mouse classes
* Improved input-handling code in the Windows & SDL main.cpp files
2023-08-19 15:57:50 +03:00

17 lines
418 B
C++

#pragma once
#include <string>
#include "AppPlatform_sdlbase.hpp"
class AppPlatform_sdl : public AppPlatform_sdlbase
{
public:
AppPlatform_sdl(std::string storageDir, SDL_Window *window);
void saveScreenshot(const std::string& fileName, int width, int height) override;
Texture loadTexture(const std::string& path, bool b = false) override;
protected:
void ensureDirectoryExists(const char* path) override;
};