You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdegames/q15/src/main.cpp

42 lines
611 B

/*
* $Id: main.cpp,v 0.1 2005/08/14 11:21:13 denis Exp $
*
* Author: Denis Kozadaev (denis@tambov.ru)
* Description:
*
* See also: style(9)
*
* Hacked by:
*/
#include <stdlib.h>
#include <tqapplication.h>
#include "mainwindow.h"
const int XSize = 640, YSize = 480;
int
main(int argc, char *argv[])
{
TQApplication *app;
MainWindow *mw;
int result;
app = new TQApplication(argc, argv);
mw = new MainWindow(NULL);
mw->resize(XSize, YSize);
mw->show();
mw->setMinimumSize(mw->size());
mw->setMaximumSize(mw->size());
result = app->exec();
delete mw;
delete app;
return (result);
}