Graphics Example Stable

This commit is contained in:
IlyaShurupov 2024-03-19 11:37:55 +03:00 committed by Ilya Shurupov
parent e331fc1a34
commit 84046e89be
10 changed files with 28 additions and 12 deletions

View file

@ -2,7 +2,6 @@
#include "Buffer.hpp"
#include "EventHandler.hpp"
#include "Strings.hpp"
namespace tp {
@ -12,11 +11,11 @@ namespace tp {
class Context;
private:
Window(Vec2F size, const String& title);
Window(Vec2F size, const char* title);
~Window();
public:
static Window* createWindow(Vec2F size = { 1000.f, 900.f }, const String& title = "Window");
static Window* createWindow(Vec2F size = { 1000.f, 900.f }, const char* title = "Window");
static void destroyWindow(Window* window);
public: