Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glutreshapewindow(3glut) [osx man page]

glutReshapeWindow(3GLUT)					       GLUT						  glutReshapeWindow(3GLUT)

NAME
glutReshapeWindow - requests a change to the size of the current window. SYNTAX
#include <GLUT/glut.h> void glutReshapeWindow(int width, int height); ARGUMENTS
width New width of window in pixels. height New height of window in pixels. DESCRIPTION
glutReshapeWindow requests a change in the size of the current window. The width and height parameters are size extents in pixels. The width and height must be positive values. The requests by glutReshapeWindow are not processed immediately. The request is executed after returning to the main event loop. This allows multiple glutReshapeWindow, glutPositionWindow, and glutFullScreen requests to the same window to be coalesced. In the case of top-level windows, a glutReshapeWindow call is considered only a request for sizing the window. The window system is free to apply its own policies to top-level window sizing. The intent is that top-level windows should be reshaped according glutReshapeWindow's parameters. Whether a reshape actually takes effect and, if so, the reshaped dimensions are reported to the program by a reshape callback. glutReshapeWindow disables the full screen status of a window if previously enabled. SEE ALSO
glutPositionWindow, glutReshapeFunc AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutReshapeWindow(3GLUT)

Check Out this Related Man Page

glutFullScreen(3GLUT)						       GLUT						     glutFullScreen(3GLUT)

NAME
glutFullScreen - requests that the current window be made full screen. SYNTAX
#include <GLUT/glut.h> void glutFullScreen(void); DESCRIPTION
glutFullScreen requests that the current window be made full screen. The exact semantics of what full screen means may vary by window sys- tem. The intent is to make the window as large as possible and disable any window decorations or borders added the window system. The win- dow width and height are not guaranteed to be the same as the screen width and height, but that is the intent of making a window full screen. glutFullScreen is defined to work only on top-level windows. The glutFullScreen requests are not processed immediately. The request is executed after returning to the main event loop. This allows mul- tiple glutReshapeWindow, glutPositionWindow, and glutFullScreen requests to the same window to be coalesced. Subsequent glutReshapeWindow and glutPositionWindow requests on the window will disable the full screen status of the window. X IMPLEMENTATION NOTES
In the X implementation of GLUT, full screen is implemented by sizing and positioning the window to cover the entire screen and posting the _MOTIF_WM_HINTS property on the window requesting absolutely no decorations. Non-Motif window managers may not respond to _MOTIF_WM_HINTS. SEE ALSO
glutReshapeWindow, glutPositionWindow AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutFullScreen(3GLUT)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Defining window size of telnet / ctelnet

How can I define the size of the terminal window? If I open multiple windows, it should be opened by these defined sizes. I need your help in this. Thanking you in advance. (0 Replies)
Discussion started by: sharif
0 Replies

2. Shell Programming and Scripting

Kinda a noob: Automatic window sizing and placement

I am attempting to create a script that runs automatically upon logging in and opens and places windows in appropriate places. I have the script running such that it starts during login, but I cannot get things how and where I want them. This should be relatively simple, I just can't figure it out... (7 Replies)
Discussion started by: wydileie
7 Replies

3. Linux

System sizing for X sessions

Hello all. I've been tasked with building a system that will have up to 50 concurrent users connected and using an X session running firefox. Is there some kind of standard sizing model available that will tell me what kind of network/CPU utilization I will be looking at? Or even better some... (1 Reply)
Discussion started by: ZekesGarage
1 Replies

4. UNIX for Dummies Questions & Answers

How to change the window size of Linux console in VMware?

The console's window size in VMware is too small. How can I change it? I mean changing the window size of pseudo terminals such as tty1, not the kde desktop. I think it may be connected to resolution.But changing resolution in the menu.lst of grub doesn't work. Any ideas? Thanks. (4 Replies)
Discussion started by: vic005
4 Replies

5. Shell Programming and Scripting

reshape time

how can i using awk to reshape time format in data? name grade HH:MM:sec.msec saeed 12 12:22:30.05 saeed 12 1222 30.05 actualy i want to merge HH and MM and separate second (1 Reply)
Discussion started by: saeed.soltani
1 Replies