summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index a6d8196..42d494e 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -12,6 +12,7 @@
#include <QImage>
#include <QRect>
+#include <QSize>
#include "loginform.h"
@@ -31,6 +32,10 @@ public:
void setFocus(Qt::FocusReason reason);
+ QSize createLogo(const QRect &max);
+
+ void createLogWindow(const QRect& geom);
+
bool showLoginForm();
QImage& getBackground() { return m_background; }
@@ -39,7 +44,7 @@ public:
private:
int getOffset(QString offset, int maxVal, int defaultVal);
void setBackground();
- int m_Screen;
+ QRect m_ScreenRect;
bool m_Primary;
LoginForm* m_LoginForm;
QImage m_background;