We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83ff6c3 commit a3a208fCopy full SHA for a3a208f
Source/Client/Main.cpp
@@ -1,10 +1,28 @@
1
+#include "Frontend.h"
2
+#include "OctaneGUI/OctaneGUI.h"
3
+
4
#include <cstdio>
5
6
int main(int argc, char** argv)
7
{
8
(void)argc;
9
(void)argv;
10
- printf("Hello Snippet\n");
- return 0;
11
+ const char* Json = R"({
12
+ "Theme": "Resources/Themes/Dark.json",
13
+ "Windows": {
14
+ "Main": {"Title": "Snippet", "Width": 1280, "Height": 720,
15
+ "MenuBar": {},
16
+ "Body": {"Controls": []}
17
+ }
18
19
+})";
20
21
+ OctaneGUI::Application Application;
22
+ Frontend::Initialize(Application);
23
24
+ std::unordered_map<std::string, OctaneGUI::ControlList> Controls;
25
+ Application.Initialize(Json, Controls);
26
27
+ return Application.Run();
28
}
0 commit comments