projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make header C++ friendly.
[bertos.git]
/
gfx
/
gfx.h
diff --git
a/gfx/gfx.h
b/gfx/gfx.h
index af8f6a9aa6b92edd69bea66f9844726378f2eb7b..bd4124fa92dc5a116d7ca84677ec6b817b147a97 100755
(executable)
--- a/
gfx/gfx.h
+++ b/
gfx/gfx.h
@@
-14,6
+14,12
@@
/*#*
*#* $Log$
/*#*
*#* $Log$
+ *#* Revision 1.4 2006/01/16 03:30:57 bernie
+ *#* Make header C++ friendly.
+ *#*
+ *#* Revision 1.3 2005/11/27 23:33:40 bernie
+ *#* Use appconfig.h instead of cfg/config.h.
+ *#*
*#* Revision 1.2 2005/11/04 18:17:45 bernie
*#* Fix header guards and includes for new location of gfx module.
*#*
*#* Revision 1.2 2005/11/04 18:17:45 bernie
*#* Fix header guards and includes for new location of gfx module.
*#*
@@
-36,10
+42,11
@@
#ifndef GFX_GFX_H
#define GFX_GFX_H
#ifndef GFX_GFX_H
#define GFX_GFX_H
-#include <
cfg/
config.h>
+#include <
app
config.h>
#include <cfg/compiler.h>
#include <cfg/cpu.h>
#include <cfg/compiler.h>
#include <cfg/cpu.h>
+EXTERN_C_BEGIN
/*! Common type for coordinates expressed in pixel units */
typedef int coord_t;
/*! Common type for coordinates expressed in pixel units */
typedef int coord_t;
@@
-102,4
+109,6
@@
extern coord_t gfx_transformY(Bitmap *bm, vcoord_t y);
extern void gfx_vline(Bitmap *bm, vcoord_t x1, vcoord_t y1, vcoord_t x2, vcoord_t y2);
#endif /* CONFIG_GFX_VCOORDS */
extern void gfx_vline(Bitmap *bm, vcoord_t x1, vcoord_t y1, vcoord_t x2, vcoord_t y2);
#endif /* CONFIG_GFX_VCOORDS */
+EXTERN_C_END
+
#endif /* GFX_GFX_H */
#endif /* GFX_GFX_H */