|
From: Ben H. <bh...@sa...> - 2001-07-10 19:25:32
|
At 1:55 AM -0400 7/10/01, Charles Lechasseur wrote: >i changed the main window's Standard Height to -1. setting the Standard >Width/Height to the same values as the Max Width/Height allows the window >to be zoomed when the zoom box is clicked (before, you had to resize the >window first). Cool. I also muck with the window zoom stuff in CScribiaDocumentWindow.cp line 605 and 643, by the way, to let the "Debug" view be wider. If you feel like it, that code could be improved to zoom to as wide as it needs to be. (get the WText view ptr from the view, ask the view what its content size is would probably work) Currently it zooms to 1500 hardcoded for the debug view. Also i found another slight bug. If you switch to the debug view, zoom out, them go back to the trainer view and try to zoom in, it stays zoomed out. Probably due to how i mucked with the zoom size. >also fixed a typo in the main window's CTYP resource (CScriba :) Just goes to show you dont really need those things anyway. :) Unless we need to add custom data fields to the structure, which we do not. We just use the standard LWindow stuff. We probably dont need any of those CTYPs, in fact, i dont think any of them have custom data. If you add custom classes i would say don't bother with the CTYP unless you need to extend the built in PP stuff. (with a custom type, when you open the project inspector, you can put additional initialization stuff at the bottom under the class name. All of ours are empty, no custom stuff) Currently I am working on (not checked in yet since its broken still): - Allowing command-period to cancel scanning. - Moving progressbar/exile pict to window class. -Ben -- NOTE: Please change my address in your address book from bhines at san.rr.com to bhines at alumni.ucsd.edu as my UCSD address will be permanent. <http://freepages.sf.rootsweb.com/~bhines/> - My Genealogy Pages -- NOTE: Please change my address in your address book from bhines at san.rr.com to bhines at alumni.ucsd.edu as my UCSD address will be permanent. <http://freepages.sf.rootsweb.com/~bhines/> - My Genealogy Pages |