-
Notifications
You must be signed in to change notification settings - Fork 0
/
Solar2DGUI.cpp
50 lines (47 loc) · 1.47 KB
/
Solar2DGUI.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//---------------------------------------------------------------------------
//This software is Copyright (c) 2015 Embarcadero Technologies, Inc.
//You may only use this software if you are an authorized licensee
//of an Embarcadero developer tools product.
//This software is considered a Redistributable as defined under
//the software license agreement that comes with the Embarcadero Products
//and is subject to that software license agreement.
//---------------------------------------------------------------------------
#include <fmx.h>
#ifdef _WIN32
#include <tchar.h>
#endif
#pragma hdrstop
#include <System.StartUpCopy.hpp>
//---------------------------------------------------------------------------
USEFORM("FontForm.cpp", Form1);
USEFORM("MessageBox.cpp", msgForm);
USEFORM("TexAtlas\TexAtlas.cpp", texAtlasForm);
USEFORM("ControlsForm.cpp", solar2DForm);
USEFORM("AboutForm.cpp", frmAbout);
//---------------------------------------------------------------------------
extern "C" int FMXmain()
{
try
{
Application->Initialize();
Application->CreateForm(__classid(Tsolar2DForm), &solar2DForm);
Application->Run();
}
catch (Exception& exception)
{
Application->ShowException(& exception);
}
catch (...)
{
try
{
throw Exception("");
}
catch (Exception& exception)
{
Application->ShowException(& exception);
}
}
return 0;
}
//---------------------------------------------------------------------------