00001 //=========================================================================== 00002 //= _motifglx.h Desde octubre de 1998 = 00003 //=-------------------------------------------------------------------------= 00004 //= Definicion de elementos especificos a MOTIF = 00005 //=-------------------------------------------------------------------------= 00006 //= ADVERTENCIA: ESTE SOFTWARE NO ESTA CONCEBIDO NI DISENNADO PARA EL USO = 00007 //= EN EQUIPO DE CONTROL EN LINEA EN ENTORNOS PELIGROSOS QUE REQUIERAN UN = 00008 //= DESEMPENNO LIBRE DE FALLAS, COMO LA OPERACION DE PLANTAS NUCLEARES, = 00009 //= SISTEMAS DE NAVEGACION O COMUNICACION EN AVIONES, TRAFICO AEREO, = 00010 //= EQUIPO MEDICO DEL CUAL DEPENDAN VIDAS HUMANAS O SISTEMAS DE ARMAMENTO, = 00011 //= EN LOS CUALES UNA FALLA EN EL SOFTWARE PUEDA IMPLICAR DIRECTAMENTE LA = 00012 //= MUERTE, DANNOS PERSONALES O DANNOS FISICOS Y/O AMBIENTALES GRAVES = 00013 //= ("ACTIVIDADES DE ALGO RIESGO"). = 00014 //=-------------------------------------------------------------------------= 00015 //= Autor original: Oscar J. Chavarro G. A.K.A. JEDILINK. Copyright (c), = 00016 //= 1997 - 2003, oscarchavarro@hotmail.com = 00017 //= AQUYNZA es software libre, y se rige bajo los terminos de la licencia = 00018 //= LGPL de GNU (http://www.gnu.org). Para mayor informacion respecto a la = 00019 //= licencia de uso, consulte el archivo ./doc/LICENCIA en la distribucion. = 00020 //=========================================================================== 00021 00022 #include "jed_defs.h" 00023 00024 #ifdef MOTIF_ENABLED 00025 00026 #include <X11/X.h> // Encabezados X11 00027 #include <X11/Intrinsic.h> 00028 00029 #define DENY_MOTIF_GLW // Opciones de portabilidad 00030 00031 #ifdef GL_ENABLED 00032 #ifdef DENY_MOTIF_GLW // Encabezados OpenGL + Motif + GLx 00033 #ifdef SUN4SOL2_ENABLED 00034 #include <X11/GLw/GLwDrawA.h> // Widget OpenGL puro (Xt) 00035 #endif 00036 #ifndef SUN4SOL2_ENABLED 00037 #include <GL/GLwDrawA.h> 00038 #endif 00039 #else 00040 #ifdef SUN4SOL2_ENABLED 00041 #include <X11/GLw/GLwMDrawA.h> // Widget OpenGL Motif (Xm + Xt) 00042 #endif 00043 #ifndef SUN4SOL2_ENABLED 00044 #include <GL/GLwMDrawA.h> 00045 #endif 00046 #endif 00047 #endif // GL_ENABLED 00048 00049 extern void arranque_GLX(Widget padre); 00050 00051 #endif // MOTIF_ENABLED 00052 00053 //=========================================================================== 00054 //= EOF = 00055 //=========================================================================== 00056