On Sat, Nov 12, 2005 at 02:42:27PM -0500, Stuart Brorson wrote: > Art -- > > Please find my patch attached. The diff was done against the version > in SVN. The patch incorporates your changes as well as my change to > the gtkimage:reset fcn. The purpose of the change is to implement my > preferred behavior for highlighting when you hit the <escape> key. > Try it out; maybe you'll like it too. > > There's also some minor debug changes. You can skip over them if you > like. Diff file is small. > [ ... snip patch ... ]
I took the diff you provided and used it as a starting point to implement the reset() changes you proposed. In doing this change I made some changes to the getSelectedObjects() and clearSelectedObjects() methods in the Image class, and made a change to the redraw() method in the GTKImage class so that selected entities will be redrawn in the highlighting color. I've commited all these changes to my subversion repo and sent them to the the public repo as well, so if you do an 'svn update' you'll see how things look. I'd still like to make the highlighting color adjustable, but for now using the hardcoded value will work. Thanks again for the patches! The long-standing problem in not displaying selected entities is starting to be fixed. Art -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 _______________________________________________ PythonCAD mailing list [email protected] http://mail.python.org/mailman/listinfo/pythoncad
