Hi Robert, Agreed. This is what I thought *after* posting :) I'll try to do my best (since my Linux machine is not useable at this time). I just have one little question: for methods variants that I won't implement (= Carbon, since I won't be able to test), may I throw a "Not implemented yet" exception or simply return an empty array?
Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ Le Mon, 15 Dec 2008 14:04:44 +0100, Robert Osfield <robert.osfi...@gmail.com> a écrit: > Hi Sekender, > > On Mon, Dec 15, 2008 at 12:51 PM, Sukender <suky0...@free.fr> wrote: >> Well, this is what I expected. Does this sounds interesting for OSG to have >> a portable "WindowingSystemInterface::getSupportedScreenResolutions(const >> ScreenIdentifier &, std::vector<osg::Vec2> & resolutions)"? Maybe I'll start >> looking for Win32 and then Linux implementation. > > You are welcome to dive in an implement this. You would probably be > best to introduce a new screen resolution object than using Vec2 as > it'd allow you to store more info, such as supported refresh rates and > depths. > > Robert. > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org