Hi,
umm... that is an error in the automatic documentation generator parser....
The structure is as follows:
typedef struct {
...snip snip...
struct {
const DFBColor *entries;
unsigned int size;
} palette;
---snip snip...
} DFBSurfaceDescription;
but the parser does not do structs-in-structs, unfortunately.
You are wholeheartedly invited to have a look at tools/gendoc.pl and fix
it :)
Greets
Niels
[email protected] wrote:
directFB 1.2.7
Code:
-----------------------------
...
IDirectFBSurface * primary_surface = NULL;
DFBSurfaceDescription primary_surface_description;
primary_surface_description.flags = DSDESC_CAPS | DSDESC_PALETTE;
primary_surface_description.caps = DSCAPS_PRIMARY | DSCAPS_FLIPPING;
DFBColor a = { 0xf0, 0x00, 0x00, 0xf0 };
primary_surface_description.entries = &a;
-----------------------------
But when compiling i got:
error: 'DFBSurfaceDescription' has no member named 'entries'
The same is for size.
What is wrong ?
----------------------------------------------------------------------
Ten program odstrasza komary.
Sprawdz >> http://link.interia.pl/f22d9
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users