diff options
author | Treeki <treeki@gmail.com> | 2010-10-07 15:56:13 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2010-10-07 15:56:13 +0200 |
commit | 5f6dad55d75cbe146ff7fefc899a02ccd39078ba (patch) | |
tree | 0822df14cc6d2c0329810c9ae7b4a4a638fe82b1 /lyt/picture.h | |
download | LayoutStudio-5f6dad55d75cbe146ff7fefc899a02ccd39078ba.tar.gz LayoutStudio-5f6dad55d75cbe146ff7fefc899a02ccd39078ba.zip |
initial commit -- everything compiles except for material.cpp. the material system still needs quite a bit of work; this will come in due time
Diffstat (limited to 'lyt/picture.h')
-rw-r--r-- | lyt/picture.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lyt/picture.h b/lyt/picture.h new file mode 100644 index 0000000..8242c34 --- /dev/null +++ b/lyt/picture.h @@ -0,0 +1,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 |