Hello Johannes,

Johannes Brunen wrote:
> is it possible to add the following public function to class Window in
> OSGWindow.h with just an empty implementation:
> 
> virtual void terminate(void);
> 
> void OSG::Window::terminate(void)
> {
> }
> 
> The reason I need this is that I have a composite viewer class which
> handles different kind of windows generically. With the current
> implmentation I need to cast manually in order to call the terminate
> function.

that makes sense, but I think we should make Window::terminate just pure 
virtual, to follow the example of Window::activate etc.
Care to submit a patch? Otherwise I can try to look into it on the weekend.

        Cheers,
                Carsten

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to