create a Window on application startup
This commit is contained in:
parent
ecc2d3ce35
commit
35a2b99970
12
src/jes.cc
12
src/jes.cc
@ -1,6 +1,16 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include "Window.h"
|
||||||
|
|
||||||
int main(int argc, char * argv[])
|
int main(int argc, char * argv[])
|
||||||
{
|
{
|
||||||
std::cout << "Coming soon." << std::endl;
|
Window w;
|
||||||
|
if (!w.create())
|
||||||
|
{
|
||||||
|
std::cerr << "Error creating window." << std::endl;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
w.run_event_loop();
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user