blob: 7226a775e6bd7efe50547893da7fa54454d1f507 (
plain)
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
|
// Copyright 2008 Nanorex, Inc. See LICENSE file for details.
#ifndef MAIN_H
#define MAIN_H
#include <QtGui>
#include <QSettings>
#include <QMainWindow>
#include "Nanorex/Utility/NXLogger.h"
#include "Nanorex/Utility/NXProperties.h"
#include "Nanorex/Interface/NXEntityManager.h"
using namespace Nanorex;
#include "nv1.h"
#include "UserSettings.h"
/* CLASS: SplashScreen */
class SplashScreen : public QSplashScreen {
public:
SplashScreen(const QPixmap &img);
void showMessage(const QString &message, int alignment = Qt::AlignLeft,
const QColor &color = Qt::black);
protected:
void drawContents(QPainter *p);
private:
QString m_message;
};
#endif
|