Re: Need help wrapping a structure
- Posted by Ryan W. Johnson <ryanj at fluidae.com> Jun 05, 2006
- 580 views
Greg Haberek wrote: > > > One thing you need to be aware of: there's a reason for libraries like > > wxWindows, Motif, GTK. xlib doesn't know anything about buttons, menus, > > scrollbars, > > etc. You have to create those yourself. I quote: > > Yes I am aware of this. Oddly enough, I like that. I am aware that > this is not a simple 'wrap' and go. I want something that is as easy > to use as Win32Lib, and I want it done right. I don't like all the > other windowing libraries out there. GTK, Motif, etc. They're just not > what I want to use. So I'm writing my own. In Euphoria. > > Step 1: Create full libX11 wrapper. (50% complete) > Step 2: Test wrapper by translating various C libX11 demo programs to > Euphoria. > Step 3: Using C demos as a guide, create a high-level interface > similar to Win32Lib. > Step 4: Re-create C demos using new interface. > Step 5: Release to public. > > ~Greg > > Greg, this sounds like just what i need to get FluidAE working on Linux. It worked ok on windows, using win32lib, but i got sick of windows and switched to linux thinking I would be able to port FluidAE. But, here I am a year later, and still no new release of FluidAE.WxWidgets is too complex for me. I just need a simple library for: 1) creating windows and pixmaps 2) getting events from windows 3) drawing to windows and pixmaps I like the idea of using the lowest layer possible (xlib), it's just more efficient. We have win32api wrappers for euphoria, so why not xlib, right? I don't know if you've looked at FluidAE, but the GUI's widget system is written in 100% euphoria. I'm designing it to be very easy to use. About a year ago when i was running it on Windows, it looked like this: http://www.fluidae.com/images/ss_18-jul-05.jpg. As you can see, it's pretty much complete enough to make basic applications, but I need good graphics libraries to run on any platform. I would be very interesting in testing your library as soon as it's ready.
~Ryan W. Johnson Fluid Application Environment http://www.fluidae.com/ [cool quote here, if i ever think of one...]