From: Kevin A. <al...@se...> - 2001-08-22 00:03:47
|
I added a Duplicate Widget menu item and command. I also cleaned up the mouseDown selection code. Overall, it seems to be working pretty well, so I'm tempted to have it start saving files. Nobody has said whether the selection and resizing is working correctly on *nix. Any bugs to report on any platform? Any other feedback? I realize that there are all sorts of things it doesn't do like Undo/Redo, Cut, Copy, Paste, multiple selections, etc. but it seems quicker and easier than hand coding all the component descriptions. I need to set the stack and background attributes, which is going to be clunky until we have more elaborate dialogs up and running, so I lean towards still editing those by hand in the .rsrc.py file, I would simply save some generic values for new .rsrc.py file. One issue that I don't have a ready solution for is that I won't be able to preserve the original formatting of a .rsrc.py file when I do a save. Does this matter to anyone? I'm leaning towards an output format where each attribute of the stack, background, and components are on a separate line which will avoid problems with wrapping when people paste portions of a .rsrc.py in email, etc. I have some code that I wrote a while ago that imports Outlook contacts that I could turn into an Addresses sample. Other people could add import code for other formats. Perhaps I'll create that sample using the resourceEditor as a test later this week. ka |