vemer
1
Hello, I write some work and now I have some problem, I use windows98/2000 with Microsoft vc++ 6.0:
-
I need to know how to open a windows
(with glutInitWindowSize) in full size,
(I know that have a function taht tell me the screenSize)
-
I need to know what is the screen size in pixel of the openGL windows for the x and y cordination.
TNX
-
glutFullScreen(); will make window full screen.
-
glutGet( command ) x = GLUT_WINDOW_WIDTH and y = GLUT_WINDOW_HEIGHT in pixels
x_window = glutGet(GLUT_WINDOW_WIDTH);
also when glutReshapeFunc is called returns window width/height.
void My_reshape( int width, int height)
{
}
Originally posted by vemer:
[b]Hello, I write some work and now I have some problem, I use windows98/2000 with Microsoft vc++ 6.0:
- I need to know how to open a windows
(with glutInitWindowSize) in full size,
(I know that have a function taht tell me the screenSize)
- I need to know what is the screen size in pixel of the openGL windows for the x and y cordination.
TNX[/b]