Jason BARSTOW schrieb: > > > > Hi, > > Does anyone know if there is a mechanism in DirectFB for the user > application to receive notifications of video mode changes?
There's none, but you're not the first to ask :) > I see the event queue stuff, but I don't see anything for predefined > 'system' notifications of this type. > There is 'DFBUniversalEvent' for custom events - is this something I could > use to communicate a mode change from driver (backend) to user? DFBUniversalEvent is for application or higher level library usage, but adding events to layers and surfaces is a good idea anyways. So what about DFBDisplayLayerEvent, DFBSurfaceEvent? At the moment it looks like we have to replicate the CreateEventBuffer(), AttachEventBuffer(), DetachEventBuffer() group of methods again for this :( -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
