blob: de1020d44464a31f3d4af8942d5992c00b93ba5d (
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
|
#ifndef LYTTEXTBOX_H
#define LYTTEXTBOX_H
#include <QtGui/QColor>
#include "pane.h"
class LYTTextBox : public LYTPane {
public:
LYTTextBox(LYTLayout &layout);
void writeToDataStream(QDataStream &out);
void readFromDataStream(QDataStream &in);
void dumpToDebug(bool showHeading=true);
quint16 bufferLength;
QString text;
QString materialName;
QString fontName;
quint8 alignment;
quint8 alignmentOverride;
QColor colour1;
QColor colour2;
float fontSizeX;
float fontSizeY;
float charSpace;
float lineSpace;
};
#endif // LYTTEXTBOX_H
|