Hey

Im writing an mp3 player with dfb and fusionsound.
Right now i set it to fullscreen mode using dfb->SetCooperativeLevel (dfb, DFSCL_FULLSCREEN).
This is how i create the "window":
  dfb->GetDisplayLayer (dfb, DLID_PRIMARY, &layer);
  DFBWindowDescription win_desc;
  win_desc.surface_caps = DSCAPS_PRIMARY;
  win_desc.width = screen_width;
  win_desc.height = screen_height;
  win_desc.caps = DWCAPS_INPUTONLY;
  layer->CreateWindow (layer, &win_desc, &window);

I'm seeing that you are developing a WM, I have tried using lite and actually used dfbterm, but i couldnt figger how to open another dfb app in a window, they all started in fullscreen.
Nevertheless, I would like to know if I should take special care to make my app "window compliant"?

BTW, if anyone has looked at the source code, I knwo its terrible. I started from the tutorial (great stuff, everything, a total noob like me has figgered how to use it!), so thats why :P

http://sourceforge.net/projects/boombasster
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to