From: Kevin S. <kev...@ya...> - 2001-09-01 14:15:25
|
I'm not happy that FLTK uses the constructor signature to decide between child and top-level windows. I think we should do something different, to allow you to create a top-level window at a certain position, and to avoid specifying the position of a child window. For now, as a result of my work on new and initialize, it is impossible to create a child window. If we can't agree on a solution, I can restore the ability to choose top-level or child based on whether or not you pass x and y. I've thought of many possibilities, but I don't really like any of them. I think tmy favorite so far is: Assume that any Window will be top-level. If someone wants to create a child window, require them to insert the RBFL constant Fltk::CHILDWINDOW as the first parameter to new. So new would now take zero to six parameters. How does this sound? Kevin __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com |