2 * scientific visualization api for direct framebuffer
4 * author: hackbard@hackdaworld.dyndns.org
10 /* two dimensional lattice */
16 typedef struct __d2_lattice
24 unsigned char *status; /* status&1 -> red, else blue */
26 IDirectFBSurface *p_surface;
28 IDirectFBInputDevice *keyboard;
29 IDirectFBEventBuffer *k_buffer;
32 /* function prototypes */
33 int d2_lattice_init(int *argc,char **argv,d2_lattice *d2_l,int x,int y);
34 int d2_lattice_release(d2_lattice *d2_l);
35 int d2_lattice_get_color(unsigned char *status,unsigned char *r,unsigned char *g,unsigned char *b);
36 int d2_lattice_draw(d2_lattice *d2_l,int x,int y,int arg_c,char **arg_v);