2 * GraphLCD graphics library
4 * image.c - image and animation handling
6 * based on graphlcd plugin 0.1.1 for the Video Disc Recorder
7 * (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online.de>
9 * This file is released under the GNU General Public License. Refer
10 * to the COPYING file distributed with this package.
12 * (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
38 cBitmap * cImage::GetBitmap() const
40 if (curBitmap < bitmaps.size())
41 return bitmaps[curBitmap];
45 cBitmap * cImage::GetBitmap(unsigned int nr) const
47 if (nr < bitmaps.size())
54 vector <cBitmap *>::iterator it;
55 for (it = bitmaps.begin(); it != bitmaps.end(); it++)