Hi all,
I'm currently trying to write a mpd client for dfb. Since I want to use c++,
i'm using ++dfb. But when I try to compile mycode, I'm having some strange
errors:
For example, when trying to create a window:
here is my code:
#include "window.h"
...
DFBWindowDescription desc;
desc.flags = DWDESC_WIDTH | DWDESC_HEIGHT | DWDESC_CAPS;
desc.caps = DWCAPS_ALPHACHANNEL | DWCAPS_DOUBLEBUFFER;
desc.width = 600;
desc.width = 800;
dfbWindow = theApp->createWindow(desc, ismain);
and here is the error I have:
window.cpp: In constructor 'dtk::window::window(bool)':
window.cpp:30: error: invalid conversion from 'int' to
'DFBWindowDescriptionFlags'
window.cpp:31: error: invalid conversion from 'int' to 'DFBWindowCapabilities'
Did I miss something?
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users