2 // TTEDIT.CPP - The TrueType Editor
4 // (C) 2004 Underground Software
6 // JLH = James L. Hammons <jlhamm@acm.org>
9 // --- ---------- -------------------------------------------------------------
10 // JLH 04/10/2002 Created this file
11 // JLH 05/10/2004 Translated file from ASM to CPP
12 // JLH 05/14/2004 Added rudimentary editing capability to tool palette tools
13 // JLH 11/18/2006 Initial port to Linux
14 // JLH 08/27/2008 Fixed tool palette focus problems
15 // JLH 08/28/2008 Split out classes defined here into separate files
16 // JLH 03/05/2009 Initial conversion from wxWidgets to Qt
20 #include <QApplication>
21 #include "mainwindow.h"
23 // Main app constructor--we stick globally accessible stuff here...
25 TTEdit::TTEdit(int & argc, char * argv[]): QApplication(argc, argv), charWnd(NULL)
27 mainWindow = new MainWindow;
28 //printf("mainWindow.show();\n");
33 // Here's the main application loop--short and simple...
34 int main(int argc, char * argv[])
36 Q_INIT_RESOURCE(ttedit); // This must the same name as the exe filename
38 // QApplication app(argc, argv);
39 //printf("TTEdit app(argc, argv);\n");
40 TTEdit app(argc, argv);
41 //printf("TTEMainWindow mainWindow;\n");
42 //OK, it gets to here at least...
43 //printf("return app.exec();\n");