X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fapi.git;a=blobdiff_plain;f=dfb%2Fdfb.h;fp=dfb%2Fdfb.h;h=63f395ef8966109df516c1d1dfe2abe4a30db684;hp=bf330035ecb4d89f06f781a312f79ce3ea6cd8ef;hb=3ec9064832fc11b712e2f040b03c9cc5ecfbfeec;hpb=3ed1ea9463c7eb66d82c5e28612a52f0f2ce72da diff --git a/dfb/dfb.h b/dfb/dfb.h index bf33003..63f395e 100644 --- a/dfb/dfb.h +++ b/dfb/dfb.h @@ -18,14 +18,17 @@ #define DFB_SUCCESS 1 #define DFB_ERROR -1 +#define MAX_FN 64 + /* specific variables */ typedef struct s_dfb { int outfd; IDirectFB *iface; - IDirectFBSurface primary; - t_list image; - t_list video; - t_list font; + IDirectFBSurface *primary; + IDirectFBImageProvider *image; + IDirectFBVideoProvider *video; + IDirectFBFont *font; + char fontname[MAX_FN]; int max_x; int max_y; unsigned char mode;