Re: Rob?
- Posted by Chris Burch <chriscrylex at aol.com> Feb 10, 2006
- 480 views
Vincent wrote: > > Igor Kachan wrote: > > > What that? Type long name? > > > But I'll be happy *to type some very specific long name*, > > namely that one you have omitted here. > > You will still be able to do for example: "the_cow_jumped_over_the_moon.e", > etc. > > > Ok, but did you notice many platform specific graphics, sound and > > mouse procedures and functions? These procedures and functions work > > nice on DOS32, but they can not work on WIN32, Linux and FreeBSD. > > > EU programmer needs to learn Windows and *nix API to just put a pixel > > on the screen with exw.exe and exu interpreters. > > > So, Euphoria needs some new_graphics.e library to make simple graphics > > operations in full screen mode under Windows or Linux/FreeBSD control, > > same as under DOS32 control. > > > There are a few such libs in the Archive, but they wrap Allegro or > > SVGA, and so they are very version specific. > > > A lib which gives simple standard DOS32 SVGA graphics on Windows and > > Linux/FreeBSD. > > > Do you see this problem? DOS, WIN and LNX Euphorias are too different > > on this part now because of very different graphics. > > > I think, it is a very good task, just for you, Vincent. > > OK... I see what your saying. Maybe I'll look into it later and check out the > other libraries for ideas. It seems to me that there isn't any simple solution > to cross-platform SVGA pixel graphics? > > > Regards, > > Igor Kachan > > kinz at peterlink.ru > > > Regards, > Vincent There is already an SVGA lib wrapper in the archives (incomplete). The big problem with SVGA in Linux is that the library requires you to be root to run it, or else its very difficult to get running as a user. You would be far better off wrapping allegro for linux (honest), and running that on the xwindowing system. Allegro is largely cross platform, and shouldn't be too difficult to make cross platform replacements for eu's pixel graphics system. Chris http://members.aol.com/chriscrylex/euphoria.htm http://uboard.proboards32.com/ http://members.aol.com/chriscrylex/EUSQLite/eusql.html