summaryrefslogtreecommitdiff
path: root/lyt/pane.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2010-10-14 20:17:20 +0200
committerTreeki <treeki@gmail.com>2010-10-14 20:17:20 +0200
commitebcc95da4c26369511caa90d89c5ed06e1e4853a (patch)
tree6ed445f0204a6e6615088d135c4b29c4309077a4 /lyt/pane.h
parentfdf8cfec2b795393d7ee901abaf747575067068b (diff)
downloadLayoutStudio-ebcc95da4c26369511caa90d89c5ed06e1e4853a.tar.gz
LayoutStudio-ebcc95da4c26369511caa90d89c5ed06e1e4853a.zip
brlyt packing added, plus some changes in the existing API (mostly for const correctness). brlyt writing may still need some testing (especially for the material structs)
Diffstat (limited to '')
-rw-r--r--lyt/pane.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/lyt/pane.h b/lyt/pane.h
index a2c751b..8b80029 100644
--- a/lyt/pane.h
+++ b/lyt/pane.h
@@ -33,12 +33,16 @@ public:
virtual ~LYTPane();
- virtual void writeToDataStream(QDataStream &out);
+ virtual Magic magic() const;
+
+ virtual void writeToDataStream(QDataStream &out) const;
virtual void readFromDataStream(QDataStream &in);
- virtual void dumpToDebug(bool showHeading=true);
+ virtual void dumpToDebug(bool showHeading=true) const;
+
+ virtual void addFontRefsToList(QStringList &list) const;
- LYTPane *findPaneByName(QString name, bool recursive);
+ LYTPane *findPaneByName(QString name, bool recursive) const;
LYTLayout &layout() const;