From: The D. <the...@bl...> - 2005-06-25 19:30:55
|
John Labenski <jla...@gm...> wrote: (23/06/2005 16:59) > >Let me be the first to say, welcome to wxLua. The app you're writing >sounds impressive, it'd be great to hear how things work or don't work >for you so we can patch up wxLua. There are so many components in >wxWidgets that it's impossible to test them all ourselves. > Thankyou :) I stopped for a few days to do other things, heat and 99.9% humidity make foul conditions for thinking clearly... A couple of things came up in the last two days: One is wx.wxSYS_COLOR_HIGHLIGHT or any other system colour. I found I could specify wxColour(nnn,nnn,nnn), but I can't substitute any system colour, wxLua complains of an unexpected user defined data type if I try this. I also wonder if there are ever issues with color and colour. I've tested a couple in other contexts and found it will take either, which is cool. Another thing I haven't found a way to do is make a popup menu that appears if a button is clicked. I tried till I got confused, and all I can say is that nothing worked, and the variety of error reports was dazzling. :) > >I don't think anyone has any plans to implement this, but since this >is so specialized you're on your own in terms of what library to use. >We'd be happy to show how to write and implement wrapper for the lib >however. > That would help a lot. I haven't looked into MIDI libraries yet, but I certainly will, if I can't find a small SysEx file handler that doesn't work hidden. If this wrapper is something that can be written in Lua or wxLua I can learn this, though if it's C I prefer to stay away, because I found that learning C was too much, and is an all or nothing effort demanding too much detailed learning of the systems that support it. This why I turned to Lua in the first place. I can get things done without having to be a full-time programmer. >> Last question: Is there anything (or will there be something) that can compile a wkLua script with all resources into a standalone binary? This would make wxLua more attractive than Visual Studio, to me. And probably to a few thousand other people, I suspect. > >This would be great, but this is probably going to be on the back >burner for awhile. Python can do it, so it must be possible. > Good to hear. :) Python is quite large and complex, I've read, so wxLua having this ability would be a strong tool, and for many uses might be preferred by people who use both. |