changeset 467:6e18550c8fa8 Android_Skia

Header file to config graphic engine
author Thinker K.F. Li <thinker@branda.to>
date Thu, 12 Nov 2009 21:24:35 +0800
parents cd6f57b9b104
children ae784a86ba82
files configure.ac include/mb_config.h.in src/event.c src/redraw_man.c
diffstat 4 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Thu Nov 12 21:24:31 2009 +0800
+++ b/configure.ac	Thu Nov 12 21:24:35 2009 +0800
@@ -4,7 +4,7 @@
 AC_PREREQ(2.61)
 AC_INIT([MadButterfly],[0.0],[http://www.assembla.com/spaces/MadButterfly])
 AC_CONFIG_SRCDIR([README.h])
-AC_CONFIG_HEADER([include/mb_config.h])
+AC_CONFIG_HEADER([config.h include/mb_config.h])
 AM_INIT_AUTOMAKE([foreign])
 
 # Checks for programs.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/mb_config.h.in	Thu Nov 12 21:24:35 2009 +0800
@@ -0,0 +1,10 @@
+#ifndef __MB_CONFIG_H_
+#define __MB_CONFIG_H_
+
+/* Enable Cairo Graphic Engine */
+#undef CAIRO_GRAPH_ENGINE
+
+/* Enable Skia Graphic Engine */
+#undef SKIA_GRAPH_ENGINE
+
+#endif /* __MB_CONFIG_H_ */
--- a/src/event.c	Thu Nov 12 21:24:31 2009 +0800
+++ b/src/event.c	Thu Nov 12 21:24:35 2009 +0800
@@ -9,7 +9,7 @@
 #include "mb_redraw_man.h"
 #include "mb_shapes.h"
 #endif
-#include "mb_config.h"
+#include "config.h"
 
 #define OK 0
 #define ERR -1
--- a/src/redraw_man.c	Thu Nov 12 21:24:31 2009 +0800
+++ b/src/redraw_man.c	Thu Nov 12 21:24:35 2009 +0800
@@ -9,7 +9,7 @@
 #include "mb_redraw_man.h"
 #include "mb_observer.h"
 #include "mb_prop.h"
-#include "mb_config.h"
+#include "config.h"
 
 /* required by rdman_img_ldr_load_paint() */
 #include "mb_paint.h"