Hi,

To get the desktop resolution, see the message here:
http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg11686.html
I don't have access to my code here but I am quite sure I used these
functions.

To choose the size of the window, use setUpViewInWindow(int x, int y, int
width, int height)


2008/6/21 <[EMAIL PROTECTED]>:

> Hello OSG users,
>
> I'm discovering OSG since a few days and I'm facing a few (basic)
> problems...
>
> I'd like to know:
>
> 1) How to switch to fullscreen mode when application starts? My default
> behaviour is to open a window...
> 2) How to toggle between windowed and fullscreen modes when the
> application runs?
> 3) How to get the desktop resolution (width, height, depth) of the
> Windowing system?
>
> Thanks in advance for your answers.
>
> G43L
> http://bb.waw.cx
>
>
> ps: I use OSG 2.4.0
>
>
>
>
> _______________________________________________
> 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

Reply via email to