1 // $Id: buttons.hxx,v 1.16 2003/07/28 22:46:48 grumbel Exp $
3 // Construo - A wire-frame construction game
4 // Copyright (C) 2002 Ingo Ruhnke <grumbel@gmx.de>
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 #ifndef HEADER_CONSTRUO_BUTTONS_HXX
21 #define HEADER_CONSTRUO_BUTTONS_HXX
24 BUTTON_PRIMARY
, // primary mouse button (inserts particles)
25 BUTTON_SECONDARY
, // secondary mouse button (delete particles, rotate selection)
26 BUTTON_TERTIARY
, // scroll around
27 BUTTON_FIX
, // fix a particle at the current position
28 BUTTON_ESCAPE
, // escape key
29 BUTTON_START
, // space key or third mouse button
30 BUTTON_CLEAR
, // clear the current scene
31 BUTTON_DELETE
, // delete the current object
32 BUTTON_DUPLICATE
, // duplicate the current select
33 BUTTON_FLIP
, // flip the current object horizontally
34 BUTTON_UNDO
, // bring the world back to its state before the simulation start
35 BUTTON_REDO
, // bring the world back to its state before the last undo
36 BUTTON_ZEROVELOCITY
, // set velocity to zero
37 BUTTON_SETVELOCITY
, // set the velocity of the selection
38 BUTTON_SCALE
, // Scale the currently selected object
40 BUTTON_FULLSCREEN
, // Toggle fullscreen mode
41 BUTTON_JOIN
, // Join objects that are close together
42 BUTTON_GRID
, // display or hide the grid
43 BUTTON_RUN
, // starts or stops the simulation
44 BUTTON_MODE_CHANGE
, // Switch the input mode (aka what happens when you click with the mouse)