projects
/
my-code
/
api.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed rgb values of pixmap struct
[my-code/api.git]
/
dfb
/
dfb.h
diff --git
a/dfb/dfb.h
b/dfb/dfb.h
index
bf33003
..
63f395e
100644
(file)
--- a/
dfb/dfb.h
+++ b/
dfb/dfb.h
@@
-18,14
+18,17
@@
#define DFB_SUCCESS 1
#define DFB_ERROR -1
#define DFB_SUCCESS 1
#define DFB_ERROR -1
+#define MAX_FN 64
+
/* specific variables */
typedef struct s_dfb {
int outfd;
IDirectFB *iface;
/* 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;
int max_x;
int max_y;
unsigned char mode;