*
*/
+#ifndef DFBAPI_H
+#define DFBAPI_H
+
#include <directfb.h>
/* two dimensional lattice */
int info_w,info_h;
int font_h;
unsigned char *status; /* status&1 -> red, else blue */
+ int *extra; /* store extra values */
+ void *v_ptr; /* void ptr, for any use */
IDirectFB *dfb;
IDirectFBSurface *p_surface;
IDirectFBFont *font;
int info_w,info_h;
int font_h;
unsigned char *status; /* status&1 -> red, else blue */
+ int *extra; /* store extra values */
+ void *v_ptr; /* void ptr, for any use */
IDirectFB *dfb;
IDirectFBSurface *p_surface;
IDirectFBFont *font;
int d3_lattice_init(int *argc,char **argv,d3_lattice *d3_l,int x,int y,int z);
int d3_lattice_release(d3_lattice *d3_l);
int d3_lattice_draw(d3_lattice *d3_l,int x,int y,int z,int arg_c,char **arg_v);
+int d2_event_init(d2_lattice *d2_l);
+int d3_event_init(d3_lattice *d3_l);
+int scan_event(d3_lattice *d3_l,int *x,int *y,int *z,int *q,int *esc);
int dx_lattice_get_color(unsigned char *status,unsigned char *r,unsigned char *g,unsigned char *b);
+#endif /* DFBAPI_H */