00001 // $Id: buttons.hxx,v 1.12 2003/01/11 16:11:36 grumbel Exp $ 00002 // 00003 // Construo - A wire-frame construction game 00004 // Copyright (C) 2002 Ingo Ruhnke <[email protected]> 00005 // 00006 // This program is free software; you can redistribute it and/or 00007 // modify it under the terms of the GNU General Public License 00008 // as published by the Free Software Foundation; either version 2 00009 // of the License, or (at your option) any later version. 00010 // 00011 // This program is distributed in the hope that it will be useful, 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 // GNU General Public License for more details. 00015 // 00016 // You should have received a copy of the GNU General Public License 00017 // along with this program; if not, write to the Free Software 00018 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 00020 #ifndef HEADER_CONSTRUO_BUTTONS_HXX 00021 #define HEADER_CONSTRUO_BUTTONS_HXX 00022 00023 enum ButtonTypes { 00024 BUTTON_PRIMARY, // primary mouse button (inserts particles) 00025 BUTTON_SECONDARY, // secondary mouse button (delete particles, rotate selection) 00026 BUTTON_TERTIARY, // scroll around 00027 BUTTON_FIX, // fix a particle at the current position 00028 BUTTON_ESCAPE, // escape key 00029 BUTTON_START, // space key or third mouse button 00030 BUTTON_CLEAR, // clear the current scene 00031 BUTTON_DELETE, // delete the current object 00032 BUTTON_DUPLICATE, // duplicate the current select 00033 BUTTON_FLIP, // flip the current object horizontally 00034 BUTTON_UNDO, // bring the world back to its state before the simulation start 00035 BUTTON_REDO, // bring the world back to its state before the last undo 00036 BUTTON_ZEROVELOCITY, // set velocity to zero 00037 BUTTON_SETVELOCITY, // set the velocity of the selection 00038 BUTTON_TOGGLESLOWMO, 00039 BUTTON_RUN, // starts or stops the simulation 00040 BUTTON_MODE_CHANGE, // Switch the input mode (aka what happens when you click with the mouse) 00041 BUTTON_ACTIONCAM, 00042 BUTTON_HIDEDOTS, 00043 00044 BUTTON_ZOOM_OUT, 00045 BUTTON_ZOOM_IN, 00046 00047 BUTTON_SCROLL_LEFT, 00048 BUTTON_SCROLL_RIGHT, 00049 BUTTON_SCROLL_UP, 00050 BUTTON_SCROLL_DOWN, 00051 00052 BUTTON_QUICKLOAD0, 00053 BUTTON_QUICKLOAD1, 00054 BUTTON_QUICKLOAD2, 00055 BUTTON_QUICKLOAD3, 00056 BUTTON_QUICKLOAD4, 00057 BUTTON_QUICKLOAD5, 00058 BUTTON_QUICKLOAD6, 00059 BUTTON_QUICKLOAD7, 00060 BUTTON_QUICKLOAD8, 00061 BUTTON_QUICKLOAD9, 00062 00063 BUTTON_QUICKSAVE0, 00064 BUTTON_QUICKSAVE1, 00065 BUTTON_QUICKSAVE2, 00066 BUTTON_QUICKSAVE3, 00067 BUTTON_QUICKSAVE4, 00068 BUTTON_QUICKSAVE5, 00069 BUTTON_QUICKSAVE6, 00070 BUTTON_QUICKSAVE7, 00071 BUTTON_QUICKSAVE8, 00072 BUTTON_QUICKSAVE9, 00073 }; 00074 00075 #endif 00076 00077 /* EOF */