comparison horori/eraline/src/main.cpp @ 0:aaaa401818a1 draft

first commit.
author pyon <pyon@macmini>
date Mon, 24 May 2021 21:32:58 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:aaaa401818a1
1 // Filename : main.cpp
2 // Last Change: 2020-08-12 水 15:01:57.
3 //
4 #include "main.h"
5 #include "geraline.h"
6
7 IMPLEMENT_APP(MyApp)
8
9 IMPLEMENT_CLASS(MyApp, wxApp)
10
11 MyApp::MyApp()
12 {
13 }
14 MyApp::~MyApp()
15 {
16 }
17
18 bool MyApp::OnInit()
19 {
20 if (!wxApp::OnInit()) return false;
21
22 wxImage::AddHandler(new wxJPEGHandler);
23 wxImage::AddHandler(new wxTIFFHandler);
24
25 EralineFrame *frame = new EralineFrame(NULL, wxID_ANY, wxT("Erase Line -"), wxDefaultPosition, wxSize(1900, 1140), wxDEFAULT_FRAME_STYLE);
26 frame->Show(true);
27 frame->Raise();
28
29 return true;
30 }
31
32 int MyApp::OnExit()
33 {
34 return 0;
35 }
36