|
Just wanted to ask simple question.
I initialize DirectFB( version 0.9.20 ) like
this:
DFBCHECK(DirectFBInit(&argc,NULL));
DFBCHECK(DirectFBCreate (&g_cDFB.dfb)); DFBCHECK(g_cDFB.dfb->SetCooperativeLevel (g_cDFB.dfb, DFSCL_FULLSCREEN)); And then I try to enable mouse cursor for the layer
0:
DFBCHECK( g_cDFB.dfb->GetDisplayLayer(
g_cDFB.dfb, 0, &layer ));
DFBCHECK( layer->SetCooperativeLevel( layer, DLSCL_ADMINISTRATIVE )); DFBCHECK( layer->EnableCursor( layer, 1 )); As a result, I don't see mouse cursor. Any ideas
what I'm doing wrong ? I can't find any example of how to use mouse cursor in
non windowed app.
Appreciate any clues or suggestions.
Thanks,
Dmitry/
|
