Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

glut_fullscrn.c

Go to the documentation of this file.
00001 
00002 /* Copyright (c) Mark J. Kilgard, 1995. */
00003 
00004 /* This program is freely distributable without licensing fees 
00005    and is provided without guarantee or warrantee expressed or 
00006    implied. This program is -not- in the public domain. */
00007 
00008 #include <X11/Xlib.h>
00009 
00010 #include "glutint.h"
00011 
00012 void
00013 glutFullScreen(void)
00014 {
00015   if (__glutMotifHints == None) {
00016     __glutMotifHints = XInternAtom(__glutDisplay, "_MOTIF_WM_HINTS", 0);
00017     if (__glutMotifHints == None) {
00018       __glutWarning("Could not intern X atom for WM_COLORMAP_WINDOWS.");
00019     }
00020   }
00021   __glutCurrentWindow->desiredX = 0;
00022   __glutCurrentWindow->desiredY = 0;
00023   __glutCurrentWindow->desiredWidth = __glutScreenWidth;
00024   __glutCurrentWindow->desiredHeight = __glutScreenHeight;
00025   __glutCurrentWindow->desiredConfMask |= CWX | CWY | CWWidth | CWHeight;
00026   __glutPutOnWorkList(__glutCurrentWindow,
00027     GLUT_CONFIGURE_WORK | GLUT_FULL_SCREEN_WORK);
00028 }
00029 
 

Powered by Plone

This site conforms to the following standards: