Graphics Example Stable
This commit is contained in:
parent
e331fc1a34
commit
84046e89be
10 changed files with 28 additions and 12 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue