gmlTcl_GLCanvasOpenGL.h

00001 // gml/tcl/wrapper/canvas/gmlTcl_GLCanvasOpenGL.h --
00002 // 
00003 //   OpenGL utilities for the gmlCanvas.
00004 // 
00005 //  Copyright (c) 2002 CLIPS-IMAG
00006 // 
00007 //  See the file "gml_LicenseTerms.txt" for information on usage and redistribution
00008 //  of this file, and for a DISCLAIMER OF ALL WARRANTIES.
00009 // 
00010 //  Created on April 7, 2003 (FB).
00011 
00012 #ifndef __GMLTCL_GLCANVASOPENGL__
00013 #define __GMLTCL_GLCANVASOPENGL__
00014 
00015 #include "tk.h"
00016 
00017 
00018 /*
00019  * gmlTcl_Tk_XYfromTop --
00020  *
00021  *  Returns the X and Y coordinate of the tkwin topleft corner in its
00022  *  toplevel window (which may not be its parent window).
00023  *  If tkwin is a toplevel, returns its coordinate in the root window.
00024  */
00025 
00026 extern
00027 void gmlTcl_Tk_XYfromTop (Tk_Window tkwin, int* x, int* y);
00028 
00029 /*
00030  * gmlTcl_AreParentsMapped --
00031  *
00032  *  Return 1 iff <tkwin> and all of its ancestors are mapped.
00033  */
00034 extern
00035 int gmlTcl_AreParentsMapped (Tk_Window tkwin);
00036 
00037 /*
00038 
00039 extern "C"
00040 int gmlTcl_GLParseColorProc (ClientData clientData, Tcl_Interp* interp,
00041                               Tk_Window tkwin, char* value, char* widgRec, int offset);
00042 extern "C"
00043 char * gmlTcl_GLPrintColorProc  (ClientData clientData, Tk_Window tkwin,
00044                                   char* widgRec, int offset, Tcl_FreeProc** freeProcPtr);
00045  */
00046 
00047 
00048 
00049 /*
00050  * Information used for parsing configuration specs:
00051  */
00052 
00053 extern Tk_CustomOption gmlTcl_gGLParseColor;
00054 extern Tk_CustomOption gmlTcl_gGLParseAlpha;
00055 
00056 
00057 
00058 
00059 #endif
00060 
Generated on Tue Jun 12 14:03:27 2007 for gml by Doxygen 1.5.2.