mirror of
https://github.com/Relintai/sfw.git
synced 2024-12-20 21:06:49 +01:00
Create window.
This commit is contained in:
parent
b93fd08530
commit
b36a278f82
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,4 +13,5 @@ libs/
|
|||||||
|
|
||||||
*.o
|
*.o
|
||||||
|
|
||||||
|
game
|
||||||
|
|
||||||
|
@ -4,11 +4,15 @@
|
|||||||
#include "application.h"
|
#include "application.h"
|
||||||
|
|
||||||
#include "game_scene.h"
|
#include "game_scene.h"
|
||||||
|
#include "window.h"
|
||||||
|
|
||||||
class GameApplication : public Application {
|
class GameApplication : public Application {
|
||||||
public:
|
public:
|
||||||
GameApplication() : Application() {
|
GameApplication() : Application() {
|
||||||
scene = new GameScene();
|
scene = new GameScene();
|
||||||
|
|
||||||
|
AppWindow *w = memnew(AppWindow());
|
||||||
|
w->create(100, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
~GameApplication() {
|
~GameApplication() {
|
||||||
|
Loading…
Reference in New Issue
Block a user