|
From: Lark <la...@ya...> - 2001-04-23 17:25:08
|
At 10:23 PM -0700 4/21/01, Ben Hines wrote: >1. I did the enum thing I mentioned earlier. Seems to work great. No >longer passing string labels between objects, just the label >indexes, and everyone reads the same labels. Less memory. More >efficient. OK >2. I replaced the debug pane table-based code with a simple >ostringstream that inserts the text into a textview. To do this i >needed to use WText (thirdparty powerplant WASTE text view) and >WTextView. WText Requires about 10 support files. However, the file >size savings of making all the keys enums, and cutting down over 50k >of code in the debug pane routine alone puts us about even on file >size. Good idea. The debug pane will die soon anyway :-) The reason I was using the CEditTable was that way back when I actually thought to use that code as the basis for the GUI, but then got stuck. Anything that will display it faster is great. >Unless there are any objections i'll check that in. Please do! > Its about 10 files from the WText distro, and you will need the >WASTE headers to build Scribia. (They come with CW6) We already have >the WASTE library in the project. (its within sioux-waste lib.) Standard question: Can we re-ditribute the WText distro with Scribia? (Did we get permission, or is it Open Source?) If not we'd better clarify this. >(speaking of which, i tried just using sioux for the debug output, >but it was not pretty. This is far nicer) I know :-) I used that in the very very first versions, nearly drove me crazy. SIOUX made me bite the bullet and pick up enough PP to hack together the debug window... -- Lark <lar...@ya...> |