Thread: WDL in the wild
View Single Post
Old 08-24-2010, 08:26 AM   #37
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,645
Default

Quote:
Originally Posted by cc_ View Post
Another thing... if while you're at it you can think of a cleaner way to add the editable text stuff, let me know. The way I have at the moment is kind of nasty.
I had somehow already forgotten that cleaning up the duplicate code and member variables means object hell. IGraphicsCocoa and IGraphicsCarbon aren't children of IGraphics, so if you move all duplicate member variables to IGraphics, you can't reach them from IGraphicsCocoa and IGraphicsCarbon. And even when you can, your code becomes almost unreadable because of all the pointer overrides. So I am cleaning up only tiny bits of duplicate stuff.

Meanwhile, because I got stuck with cleaning up anyway, I am manually merging in your IEditableTextControl into my next branch.
Tale is offline   Reply With Quote