I've got the following code:

DirectFBInit (&argc, &argv);
DirectFBCreate (&dfb);
dfb->SetVideoMode(dfb, 720, 480, 16);
dfb->SetCooperativeLevel (dfb, DFSCL_NORMAL);
dsc.flags = DSDESC_CAPS;
dsc.caps  = DSCAPS_PRIMARY | DSCAPS_FLIPPING;
dfb->CreateSurface( dfb, &dsc, &primary);

//----- get the primary layer
dfb->GetDisplayLayer(dfb, DLID_PRIMARY, &primaryDisplayLayer);

//----- kill the cursor
primaryDisplayLayer->SetCursorOpacity (primaryDisplayLayer, 0);

The idea is that I have a device that will never need the cursor. 
Unfortunately, it seems that no matter what the heck I do, the cursor is 
there in the middle of the screen.

Thanks for any help!

Cheers,

Lloyd


_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to