forked from mirror/openmw-tes3mp
splitting new game and new addon functions (new game currently not working)
parent
f7940d7d1a
commit
ecedb60169
@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
#include "newgame.hpp"
|
||||||
|
|
||||||
|
#include <QApplication>
|
||||||
|
#include <QDesktopWidget>
|
||||||
|
|
||||||
|
CSVDoc::NewGameDialogue::NewGameDialogue()
|
||||||
|
{
|
||||||
|
setWindowTitle ("Create New Game");
|
||||||
|
|
||||||
|
QRect scr = QApplication::desktop()->screenGeometry();
|
||||||
|
QRect rect = geometry();
|
||||||
|
move (scr.center().x() - rect.center().x(), scr.center().y() - rect.center().y());
|
||||||
|
}
|
@ -0,0 +1,18 @@
|
|||||||
|
#ifndef CSV_DOC_NEWGAME_H
|
||||||
|
#define CSV_DOC_NEWGAME_H
|
||||||
|
|
||||||
|
#include <QWidget>
|
||||||
|
|
||||||
|
namespace CSVDoc
|
||||||
|
{
|
||||||
|
class NewGameDialogue : public QWidget
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
NewGameDialogue();
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue