00001 /*************************************************************************** 00002 * types.h 00003 * 00004 * Sat Sep 11 10:54:34 2004 00005 * Copyright 2004 thierry schartz 00006 * thierry.schartz@bluebottle.com 00007 ****************************************************************************/ 00008 00009 /* 00010 * This program is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2 of the License, or 00013 * (at your option) any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU Library General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with this program; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00023 */ 00024 00025 #ifndef _TYPES_H 00026 #define _TYPES_H 00027 00028 #ifdef WIN32 00029 #include <windows.h> 00030 #endif 00031 00032 #include <SDL/SDL.h> 00033 00034 #define NGN_BUTTON_LEFT 1 00035 #define NGN_BUTTON_MIDDLE 2 00036 #define NGN_BUTTON_RIGHT 3 00037 #define NGN_BUTTON_WHEELUP 4 00038 #define NGN_BUTTON_WHEELDOWN 5 00039 00040 00041 typedef SDL_keysym NGN_KEY; 00042 typedef SDL_MouseButtonEvent NGN_MOUSE_BUTTON_EVENT; 00043 00044 00045 #endif /* _TYPES_H */