Imported vanilla contents from upstream
[construo.git] / buttons.hxx
blob84ae784f64e49215443d50978aea73cf162b0638
1 // $Id: buttons.hxx,v 1.16 2003/07/28 22:46:48 grumbel Exp $
2 //
3 // Construo - A wire-frame construction game
4 // Copyright (C) 2002 Ingo Ruhnke <grumbel@gmx.de>
5 //
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.
15 //
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
23 enum ButtonTypes {
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
39 BUTTON_TOGGLESLOWMO,
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)
45 BUTTON_ACTIONCAM,
46 BUTTON_HIDEDOTS,
48 BUTTON_ZOOM_OUT,
49 BUTTON_ZOOM_IN,
51 BUTTON_SCROLL_LEFT,
52 BUTTON_SCROLL_RIGHT,
53 BUTTON_SCROLL_UP,
54 BUTTON_SCROLL_DOWN,
56 BUTTON_QUICKLOAD0,
57 BUTTON_QUICKLOAD1,
58 BUTTON_QUICKLOAD2,
59 BUTTON_QUICKLOAD3,
60 BUTTON_QUICKLOAD4,
61 BUTTON_QUICKLOAD5,
62 BUTTON_QUICKLOAD6,
63 BUTTON_QUICKLOAD7,
64 BUTTON_QUICKLOAD8,
65 BUTTON_QUICKLOAD9,
67 BUTTON_QUICKSAVE0,
68 BUTTON_QUICKSAVE1,
69 BUTTON_QUICKSAVE2,
70 BUTTON_QUICKSAVE3,
71 BUTTON_QUICKSAVE4,
72 BUTTON_QUICKSAVE5,
73 BUTTON_QUICKSAVE6,
74 BUTTON_QUICKSAVE7,
75 BUTTON_QUICKSAVE8,
76 BUTTON_QUICKSAVE9,
79 #endif
81 /* EOF */