summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/bmp.h
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2006-07-19 19:44:44 +0000
committerAntoine Cellerier <dionoea@videolan.org>2006-07-19 19:44:44 +0000
commit2da8f69c95cce7726ae4c0a41ce04bf42fff65df (patch)
tree45925bd2a4710194e6649f5842eb06d3a1d4d68e /apps/plugins/lib/bmp.h
parent5e306b4c19dfe8732107d255c9c00e7d585c24ca (diff)
downloadrockbox-2da8f69c95cce7726ae4c0a41ce04bf42fff65df.zip
rockbox-2da8f69c95cce7726ae4c0a41ce04bf42fff65df.tar.gz
rockbox-2da8f69c95cce7726ae4c0a41ce04bf42fff65df.tar.bz2
rockbox-2da8f69c95cce7726ae4c0a41ce04bf42fff65df.tar.xz
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
Diffstat (limited to 'apps/plugins/lib/bmp.h')
-rw-r--r--apps/plugins/lib/bmp.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/apps/plugins/lib/bmp.h b/apps/plugins/lib/bmp.h
new file mode 100644
index 0000000..dc26e80
--- /dev/null
+++ b/apps/plugins/lib/bmp.h
@@ -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