Explicitly set the dialog's result code for TTS / Encoder windows. Fixes an issue...
[Rockbox.git] / apps / recorder / bmp.h
blob3d33a8c34b82d7a3ce221ca94b9c8884f4592ff1
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2002 by Daniel Stenberg
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
19 #ifndef _BMP_H_
20 #define _BMP_H_
22 #include "config.h"
23 #include "lcd.h"
25 /*********************************************************************
26 * read_bmp_file()
28 * Reads a 8bit BMP file and puts the data in a 1-pixel-per-byte
29 * array.
30 * Returns < 0 for error, or number of bytes used from the bitmap buffer
32 **********************************************/
33 int read_bmp_file(const char* filename,
34 struct bitmap *bm,
35 int maxsize,
36 int format);
38 int read_bmp_fd(int fd,
39 struct bitmap *bm,
40 int maxsize,
41 int format);
42 #endif