branch | v_0 |
changeset 8 | 80ad08521091 |
parent 7 | e6065118326f |
child 10 | 8382173bfc35 |
--- a/Shark.h Sat Dec 02 15:02:56 2023 +0100 +++ b/Shark.h Sat Dec 02 15:43:51 2023 +0100 @@ -193,8 +193,11 @@ int setNonBlocking(int fd); void loadVertices(); Texture loadTexture(const std::string& fileName); + bool reloadTexture(const std::string& fileName); void loadTextures(); std::shared_ptr<Program> loadShaders(); + bool reloadShader(const std::string& fileName); + void setTitle(const std::string& suffix = ""); public: Shark(const Configuration& cfg); virtual ~Shark();