[Gambas-devel] new sdl "demo" : shadow of the beast
Laurent Carlier
lordheavy at ...141...
Sun Feb 20 00:58:48 CET 2005
Le Dimanche 20 Février 2005 00:08, Daniel Campos a écrit :
> >Currently i don't know the way to have the id of the screen created by sdl
> > !
> >
> >any tips ?
>
> Yes. I send you a version of gb.sdl.image (from gambas-1.9.3) patched so
> it has
> a new property ("Id" or "Handle") that returns that value. I've added two
> new files: info.c and info.h, to prevent problems with the symbol names,
> and the screen.c file is patched.
>
> I've tested it creating a SDL window with gambas, and telling mplayer to
> play
> on it a video ( mplayer -wid [handle] xxx.mpg ), and it works OK.
>
> Could you add it to the official version?
>
>
> Regards,
>
> D. Campos
>
> >Regards,
Ok, merged, ive changed it to return 0 if the window isn't opened. I've test
with mplayer and .... mplayer segfault :)
Here the patched sdl componant
Regards,
--
Laurent Carlier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdl050220-gb19.tar.bz2
Type: application/x-tbz
Size: 37286 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20050220/36953845/attachment.bin>
More information about the Devel
mailing list