This is TKwindow.m in view mode; [Download] [Up]
#include "gltk.h"
void tkCloseWindow(void)
{
}
/******************************************************************************/
void tkInitDisplayMode(GLenum type)
{
}
/******************************************************************************/
void tkInitPosition(int x, int y, int width, int height)
{
}
GLenum tkInitWindow(char *title)
{
return GL_FALSE;
}
/******************************************************************************/
void tkQuit(void)
{
tkCloseWindow();
exit(0);
}
/******************************************************************************/
void tkSwapBuffers(void)
{
/*
if (xDisplay) {
glXSwapBuffers(xDisplay, w.wMain);
}
*/
}
/******************************************************************************/
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.