From ebcc95da4c26369511caa90d89c5ed06e1e4853a Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 14 Oct 2010 20:17:20 +0200 Subject: 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) --- lyt/textbox.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lyt/textbox.h') diff --git a/lyt/textbox.h b/lyt/textbox.h index 9a12e18..c61ef3a 100644 --- a/lyt/textbox.h +++ b/lyt/textbox.h @@ -27,10 +27,14 @@ public: LYTTextBox(LYTLayout &layout); - void writeToDataStream(QDataStream &out); + Magic magic() const; + + void writeToDataStream(QDataStream &out) const; void readFromDataStream(QDataStream &in); - void dumpToDebug(bool showHeading=true); + void dumpToDebug(bool showHeading=true) const; + + void addFontRefsToList(QStringList &list) const; quint16 bufferLength; QString text; -- cgit v1.2.3