Yes i tried to draw an rectangle, but it don' work. The only way to get the program started is to comment everything with about window_surface. But that's not what i want... So i only have an primary surface, a layer and a window, which i can't see.
Other Question: Is there a way to program an windowevent,but for an surface?! I just want to program, that if i click on a surface, without an window, it flip the primary surface. Greetings from Dresden : ) > -----Ursprüngliche Nachricht----- > Von: "Nikita Egorov" <nik...@gmail.com> > Gesendet: 02.04.09 15:24:54 > An: Tu Duong Manh <tu...@web.de> > CC: directfb-users@directfb.org > Betreff: Re: [directfb-users] simple problem with layer,window,surface. > especially window->GetSurface > > Yes, on my hardware it's works correctly. But i'm always programming with > > export DFBARGS= system=x11 on my computer and when i try to start > > df_window, > > it also showed me the "caught 11"-error. > > Hmm, you should tell it from the very beginning... > > > I use the version 1.2.7 and there is no way to use an newer version. > > > Now the program seems to executes correctly until > > provider->RenderTo( provider, window_surface, NULL ); > > that's pretty curios. > > What thing have you changed to get that? > Try to draw something on the surface. So far I have no thoughts... > > -- > Best Regards > Nikita Egorov > nik...@gmail.com > nik...@varma-el.com > ____________________________________________________________________ Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users