Russell Suter (russell++at++ctasim.com)
Tue, 11 Mar 1997 15:42:19 -0800
#include <X11/X.h>
#include <X11/Xlib.h>
Display *display;
int screen;
int width;
int height;
display = pfGetCurWSConnection();
screen = DefaultScreen(display);
width = DisplayWidth(display, screen);
height = DisplayHeight(display, screen);
This assumes that you have one pipe. Each pipe will be a different screen.
> jan
>
> --
> Jan Anthony Barglowski jan++at++chinalake.navy.mil
> Real-time Computer Graphics http://www1.ridgecrest.ca.us/~jan
> Naval Air Warfare Center, China Lake (619) 927-1057
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Jan Barglowski
--
Russ
_______________________________________________ ______________________________
Though my eyes could see | Russell Suter
I still was a blind man. | Voice : (303) 889-1262
Though my mind could think | Fax : (303) 889-1210
I still was a mad man. | Internet : russell++at++ctasim.com
_______________________________________________|______________________________
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:53 PDT