graphlcd-base/tools/convpic/bmp.h
author cpresser@slime-ws
Sat, 26 Jul 2008 14:22:38 +0200
changeset 25 96f051df5d60
parent 4 df6a40031aa5
permissions -rw-r--r--
added eeprom code
root@4
     1
/**
root@4
     2
 *  GraphLCD plugin for the Video Disk Recorder
root@4
     3
 *
root@4
     4
 *  bmp.h  -  bmp logo class
root@4
     5
 *
root@4
     6
 *  (C) 2004 Andreas Brachold <vdr04 AT deltab de>
root@4
     7
 *  (C) 2001-2004 Carsten Siebholz <c.siebholz AT t-online de>
root@4
     8
 **/
root@4
     9
root@4
    10
/***************************************************************************
root@4
    11
 *                                                                         *
root@4
    12
 *   This program is free software; you can redistribute it and/or modify  *
root@4
    13
 *   it under the terms of the GNU General Public License as published by  *
root@4
    14
 *   the Free Software Foundation; either version 2 of the License, or     *
root@4
    15
 *   (at your option) any later version.                                   *
root@4
    16
 *                                                                         *
root@4
    17
 *   This program is distributed in the hope that it will be useful,       *
root@4
    18
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
root@4
    19
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
root@4
    20
 *   GNU General Public License for more details.                          *
root@4
    21
 *                                                                         *
root@4
    22
 *   You should have received a copy of the GNU General Public License     *
root@4
    23
 *   along with this program;                                              *
root@4
    24
 *   if not, write to the Free Software Foundation, Inc.,                  *
root@4
    25
 *   59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *
root@4
    26
 *                                                                         *
root@4
    27
 ***************************************************************************/
root@4
    28
root@4
    29
#ifndef _BMP_H_
root@4
    30
#define _BMP_H_
root@4
    31
root@4
    32
#include <glcdgraphics/imagefile.h>
root@4
    33
root@4
    34
class cBMPFile : public GLCD::cImageFile
root@4
    35
{
root@4
    36
private:
root@4
    37
    bool Save(const GLCD::cBitmap * bitmap, const std::string & fileName);
root@4
    38
public:
root@4
    39
    cBMPFile();
root@4
    40
    virtual ~cBMPFile();
root@4
    41
    virtual bool Load(GLCD::cImage & image, const std::string & fileName);
root@4
    42
    virtual bool Save(GLCD::cImage & image, const std::string & fileName);
root@4
    43
};
root@4
    44
root@4
    45
#endif