Lance R. Marrou (marrou++at++vsl.ist.ucf.edu)
Thu, 22 Dec 1994 14:57:07 -0500 (EST)
In using GLX windows for my Performer application, I cannot get the window to
push, pop, or move. This is what I tried:
GLXwinset(IGshared->xWinInfo.dsp,
IGshared->xWinInfo.glWin);
if (IGshared->win_push_pop == WIN_PUSH)
winpush();
else if (IGshared->win_push_pop == WIN_POP)
winpop();
GLXwinset(IGshared->xWinInfo.dsp,
IGshared->xWinInfo.glWin);
if (IGshared->win_push_pop == WIN_PUSH)
XLowerWindow((Display *)IGshared->xWinInfo.dsp,IGshared->xWinInfo.xWin);
else if (IGshared->win_push_pop == WIN_POP)
XRaiseWindow((Display *)IGshared->xWinInfo.dsp,IGshared->xWinInfo.xWin);
IGshared is a pointer to a shared memory structure (obviously similar to the
ViewState structure in perfly). I do not know how to get the GLX window to
do this. I do not even have a way to attempt moving or resizing the window.
Can anyone offer a pointer?
Also, I noticed that the XRaiseWindow and XLowerWindow routines need the type
cast, but the GLXwinset doesn't. I assume this is because of the void *
argument to GLXwinset (different from the man page). Why is it void *?
_______________________________________________________
E-mail: marrou++at++vsl.ist.ucf.edu
IST __ WWW: http://www.vsl.ist.ucf.edu/~marrou
Visual / / ______ /\____ ______ ______
Systems / / / _ / / __ // ____// ____/
Lab / /__ / /_/ / / / / // /___ / __/_ R. Marrou
________/____//____/\\/_/ /_//_____//_____/____________
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:45 PDT