From f9d9484d7be4fc5cd14f28e866ce35ff79a2df97 Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Mon, 20 Dec 2004 16:50:29 +0000 Subject: Moved to a database to save memory on PalmOS svn-id: r16164 --- sky/text.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'sky/text.h') diff --git a/sky/text.h b/sky/text.h index 784e7e9f96..372c4b7023 100644 --- a/sky/text.h +++ b/sky/text.h @@ -103,6 +103,7 @@ protected: bool _dtCentre; //set for centre text uint32 _lowTextWidth, _mouseOfsX, _mouseOfsY; +#ifndef __PALM_OS__ static const HuffTree _huffTree_00109[]; // trees moved to hufftext.cpp static const HuffTree _huffTree_00267[]; static const HuffTree _huffTree_00288[]; @@ -112,6 +113,19 @@ protected: static const HuffTree _huffTree_00365[]; static const HuffTree _huffTree_00368[]; static const HuffTree _huffTree_00372[]; +#else +public: + static const HuffTree *_huffTree_00109; // trees moved to hufftext.cpp + static const HuffTree *_huffTree_00267; + static const HuffTree *_huffTree_00288; + static const HuffTree *_huffTree_00303; + static const HuffTree *_huffTree_00331; + static const HuffTree *_huffTree_00348; + static const HuffTree *_huffTree_00365; + static const HuffTree *_huffTree_00368; + static const HuffTree *_huffTree_00372; +protected: +#endif static const PatchMessage _patchedMessages[NUM_PATCH_MSG]; static const uint16 _patchLangIdx[8]; -- cgit v1.2.3