From: Duncan C. <dun...@wo...> - 2005-02-13 19:21:03
|
On Sat, 2005-02-12 at 16:42 -0800, John Velman wrote: > By the way, after adding a small feature or two, cleaning up some code and > fixing the comments, I'd be happy to share this small program as a demo: > > It demonstrates the following: > > A drawing area in a scrolled window > > An entry box, which, when activated, results in the entered text being > drawn in a box on the "canvas" in the scrolled window. > > Moving any of the boxes with the mouse (or keyboard -- havent' quite > decided on this yet) > > I may keep an option for printing the mouse button press event records > and/or mouse motion event records on stdout. > > My Haskell is not very elegant (nor is my gtk, I suppose), but it all > works. > > If there is any interst, please let me know. Certainly. All demo/interesting programs are welcome. When you're happy with it just send it in. And, we'd be able to tell you your code is fine if it is, or help you improve it if it's not. :-) Perhaps we should say that demo code must be under some permissive license since the point is to be able to read and copy bits of code from them. Opinions? Duncan |