1
0
Fork 0
forked from len0rd/rockbox

Lib to save a bitmap struct to a bmp file. Only works/tested with color bitmaps.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10254 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Antoine Cellerier 2006-07-19 19:44:44 +00:00
parent 5e306b4c19
commit 2da8f69c95
3 changed files with 117 additions and 0 deletions

30
apps/plugins/lib/bmp.h Normal file
View file

@ -0,0 +1,30 @@
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
* $Id$
*
* Copyright (C) 2006 by Antoine Cellerier <dionoea -at- videolan -dot- org>
*
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
****************************************************************************/
#ifndef _LIB_BMP_H_
#define _LIB_BMP_H_
#include "lcd.h"
#include "plugin.h"
/**
* Save bitmap to file
*/
int save_bmp_file( char* filename, struct bitmap *bm, struct plugin_api* rb );
#endif