- Your Widget Set For OpenGL
Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

ufo_gl.hpp

00001 /*************************************************************************** 00002 LibUFO - UI For OpenGL 00003 copyright : (C) 2001-2005 by Johannes Schmidt 00004 email : schmidtjf at users.sourceforge.net 00005 ------------------- 00006 00007 file : include/ufo/ufo_gl.hpp 00008 begin : Sat Nov 3 2001 00009 $Id: ufo_gl.hpp,v 1.7 2005/02/13 17:49:31 schmidtjf Exp $ 00010 ***************************************************************************/ 00011 00012 /*************************************************************************** 00013 * This library is free software; you can redistribute it and/or * 00014 * modify it under the terms of the GNU Lesser General Public * 00015 * License as published by the Free Software Foundation; either * 00016 * version 2.1 of the License, or (at your option) any later version. * 00017 * * 00018 * This library is distributed in the hope that it will be useful, * 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00021 * Lesser General Public License for more details. * 00022 * * 00023 * You should have received a copy of the GNU Lesser General Public * 00024 * License along with this library; if not, write to the Free Software * 00025 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 00026 ***************************************************************************/ 00027 00028 /* This is a simple encapsulation of opengl headers for libUFO. 00029 * The idea is taken gratefully from the SDL project 00030 * (http://www.libsdl.org), file SDL_opengl.h 00031 * Changes: Removed the NO_SDL_GLEXT thing 00032 */ 00033 00034 00035 #if defined(UFO_OS_WIN32) || defined(WIN32) || defined (_WIN32) 00036 #define WIN32_LEAN_AND_MEAN 00037 #include <windows.h> 00038 #endif // WIN32 00039 00040 #if defined(__APPLE__) && defined(__MACH__) 00041 #include <OpenGL/gl.h> 00042 #include <OpenGL/glu.h> 00043 #else 00044 #include <GL/gl.h> 00045 #include <GL/glu.h> 00046 #endif

The libUFO Project - written by Johannes Schmidt