From: Kevin S. <kev...@ya...> - 2001-09-02 15:59:54
|
--- Takaaki Tateishi <tt...@ja...> wrote: > now I added Fltk::Drawable module which is similar to > Fltk::Context class. Any widget can include Fltk::Drawable > to provides drawing methods. > I'd like to keep both of Fltk::Context and Fltk::Drawable. > How do you think about this module? Interesting idea--I like it. I think if we keep both, we need to combine their code, which we can do pretty easily. I don't want that much duplicated code. Would it be better to get rid of Context and just use Drawable? The only benefit of Context that I can think of right now is if a single widget wanted to keep multiple Context's active at one time. But that only makes sense if/when Context contains state variables. Unless you can think of why we should keep Context, I'd like to get rid of it for now. Later, if it seems useful, we can bring it back. Kevin __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com |