glutInitWindowSize man page

glutInitWindowSize — Requests future windows to open at a given width/height..

Library

OpenGLUT - window

Synopsis

#include <openglut.h>

void
glutInitWindowSize(int width, int height);

Parameters


width


Width of future windows.


height


Height of future windows.

Description

This function allows you to request initial dimensions for future windows.

There is a callback function to inform you of the new window shape (whether initially opened, changed by your glutReshapeWindow() request, or changed directly by the user).

See Also

glutReshapeWindow(3) glutInit(3) glutInitWindowPosition(3) glutInitDisplayMode(3) glutInitDisplayString(3) glutReshapeFunc(3) glutGet(3)

 

Referenced By

glutFullScreen(3), glutInit(3), glutInitDisplayMode(3), glutInitDisplayString(3), glutInitWindowPosition(3), glutReshapeWindow(3), glutSetOption(3).