Hi all,

I would like to use SaWMan to build application manager that control
visibility and focus of dfb windows. I am currently using dfb-1.4.15 and
SaWMan 1.5.4.

I saw that similar problem was already mentioned by Thomas W., few weeks
ago on this mail list, but I did not find any answers for his question,
that is why I am asking again.

I don't know  how to control visibility of windows that are in the
system. ISaWManManager_SetVisible function is not implemented. What is
the main design thought for windows' visibility control in SawMan?

I am trying to use the following sequence to hide/show windows, and it
seems to be working correctly, at least for my case:

   am->manager->Lock(am->manager);
   flags = SWMCF_OPACITY;
   config.opacity = op==SHOW ? 255 : 0;
   am->manager->SetWindowConfig( am->manager, window, flags, &config );
   am->manager->QueueUpdate( am->manager, DWSC_MIDDLE, NULL );
   am->manager->ProcessUpdates( am->manager, DSFLIP_WAITFORSYNC);
   am->manager->Unlock( am->manager );

Is above code in-line with SaWMan concept? Is it safe to use it in such way?

I would appreciate your help,
thanks
Michal
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to