blob: 7b2f37b5c2e5d34554df4438d85c369e6e6c56bd (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
#ifndef LYTPANE_H
#define LYTPANE_H
#include <QtCore/QList>
#include <QtCore/QString>
#include <QtCore/QDataStream>
#include <QtCore/QDebug>
#include "common.h"
class LYTLayout;
class LYTPane {
public:
LYTPane(LYTLayout &layout);
virtual ~LYTPane();
virtual void writeToDataStream(QDataStream &out);
virtual void readFromDataStream(QDataStream &in);
virtual void dumpToDebug(bool showHeading=true);
LYTPane *findPaneByName(QString name, bool recursive);
LYTLayout &layout() const;
LYTPane *parent;
QList<LYTPane *> children;
quint8 flags;
quint8 origin;
quint8 alpha;
QString name;
QString userdata;
float xTrans;
float yTrans;
float zTrans;
float xRot;
float yRot;
float zRot;
float xScale;
float yScale;
float width;
float height;
protected:
LYTLayout &m_layout;
};
#endif // LYTPANE_H
|