summaryrefslogtreecommitdiff
path: root/lyt/picture.h
blob: 8242c3420530d28c087b81c1f3fe4cd2a2b513d6 (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
#ifndef LYTPICTURE_H
#define LYTPICTURE_H

#include <QtGui/QColor>
#include <QtCore/QVector>

#include "common.h"
#include "pane.h"

class LYTPicture : public LYTPane {
public:
	LYTPicture(LYTLayout &layout);


	void writeToDataStream(QDataStream &out);
	void readFromDataStream(QDataStream &in);

	void dumpToDebug(bool showHeading=true);

	QColor vtxColours[4];
	QString materialName;

	QVector<LYTTexCoords> texCoords;
};


#endif // LYTPICTURE_H