tmp
This commit is contained in:
parent
84046e89be
commit
25fd52294f
4 changed files with 26 additions and 38 deletions
|
|
@ -1,13 +1,14 @@
|
|||
|
||||
#include "ExampleGUI.hpp"
|
||||
#include "Window.hpp"
|
||||
|
||||
#include "Graphics.hpp"
|
||||
|
||||
using namespace tp;
|
||||
|
||||
void runApp() {
|
||||
auto window = tp::Window::createWindow(800, 600, "Window 1");
|
||||
auto window = tp::Window::createWindow({ 800, 600 }, "Window 1");
|
||||
|
||||
tp::ComplexWidget<tp::Window::Events, tp::Graphics::Canvas> gui;
|
||||
tp::ComplexWidget<tp::EventHandler, tp::Canvas> gui;
|
||||
|
||||
if (window) {
|
||||
while (!window->shouldClose()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue