From 41e6eb7204924338444619d4b25e8f8d47f08846 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 2 May 2013 15:41:05 +1000 Subject: Removing XPMSet class as no longer used. --- src/XPM.h | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/XPM.h') diff --git a/src/XPM.h b/src/XPM.h index e047ca8ad..5deeffa48 100644 --- a/src/XPM.h +++ b/src/XPM.h @@ -47,30 +47,6 @@ public: static const char **LinesFormFromTextForm(const char *textForm); }; -/** - * A collection of pixmaps indexed by integer id. - */ -class XPMSet { - XPM **set; ///< The stored XPMs. - int len; ///< Current number of XPMs. - int maximum; ///< Current maximum number of XPMs, increased by steps if reached. - int height; ///< Memorize largest height of the set. - int width; ///< Memorize largest width of the set. -public: - XPMSet(); - ~XPMSet(); - /// Remove all XPMs. - void Clear(); - /// Add a XPM. - void Add(int ident, const char *textForm); - /// Get XPM by id. - XPM *Get(int ident); - /// Give the largest height of the set. - int GetHeight(); - /// Give the largest width of the set. - int GetWidth(); -}; - /** * An translucent image stoed as a sequence of RGBA bytes. */ -- cgit v1.2.3