Re: Windows API
- Posted by "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> Oct 18, 1999
- 499 views
Jon Banquer wondered: > In one of your posts last week you mentioned that > Llama was low on your priority list. Can you explain > why this is the case in a little more detail ?? The reason that Win32Lib gets attention is that people are actually using it to do useful things. The main problem that I'm having with Llama is with GTK+ graphics. GTK+ requires that I either (1) define a canvas-like control that can be drawn on, or use xlib to do the rendering. At one point, I had wrapped a good chunk of xlib, but the code seems to have disappeared. [Pete - do you still have the copy I sent you?] I don't really want to have to fool around with xlib - it adds another level of complexity that I'd rather do without. The other option is to add a 'canvas' control into Llama. That would be yet another divergence between Win32Lib and Llama. This isn't necessarily a bad thing. For one thing, I could make graphics rendered to the canvas persistant - you wouldn't have to redraw them each time the window is damaged. I haven't decided between the two. If someone has already wrapped xlib, I'd probably go with the first option. > Maybe this makes it harder to develop a product > that you eventually might want to sell? Not even a consideration. One major goal in making Llama more open was to get the load of me in terms of development. For example, Greg Harris helped a lot in porting classes from Win32Lib to the posted version of Llama. I have a Win32 and a GTK version of Llama up and running based on the same core library. The GTK version has enough controls to be useful - PushButton, CheckBox, Radio, Menu, and so on. I haven't posted it because it's coded around the Win32 GTK DLLs, and hasn't been tested under Linux recently. I suspect that th The Win32 version, in contrast, only has a Window and PushButton class working, although it shouldn't be too hard to convert the classes from prior versions of Llama to add support for new controls quickly. I'll try to get the Win32 version onto my web page in the next couple of days. -- David Cuny