Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-studio / tags / synfigstudio_0_61_07 / src / gtkmm / eventkey.h
1 /* === S Y N F I G ========================================================= */
2 /*!     \file eventkey.h
3 **      \brief Template Header
4 **
5 **      $Id$
6 **
7 **      \legal
8 **      Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
9 **
10 **      This package is free software; you can redistribute it and/or
11 **      modify it under the terms of the GNU General Public License as
12 **      published by the Free Software Foundation; either version 2 of
13 **      the License, or (at your option) any later version.
14 **
15 **      This package is distributed in the hope that it will be useful,
16 **      but WITHOUT ANY WARRANTY; without even the implied warranty of
17 **      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 **      General Public License for more details.
19 **      \endlegal
20 */
21 /* ========================================================================= */
22
23 /* === S T A R T =========================================================== */
24
25 #ifndef __SYNFIG_STUDIO_EVENTKEY_H
26 #define __SYNFIG_STUDIO_EVENTKEY_H
27
28 /* === H E A D E R S ======================================================= */
29
30 /* === M A C R O S ========================================================= */
31
32 /* === T Y P E D E F S ===================================================== */
33
34 /* === C L A S S E S & S T R U C T S ======================================= */
35
36 namespace studio {
37
38 enum EventKey
39 {
40         EVENT_NIL,
41         EVENT_REFRESH,
42         EVENT_DIRTY,
43         EVENT_STOP,
44         EVENT_UNDO,
45         EVENT_REDO,
46         EVENT_REFRESH_DUCKS,
47         EVENT_REFRESH_TOOL_OPTIONS,
48         EVENT_YIELD_TOOL_OPTIONS,
49         EVENT_INPUT_DEVICE_CHANGED,
50         EVENT_TABLES_HIDE,
51         EVENT_LAYER_SELECTION_CHANGED,
52         EVENT_TABLES_SHOW,
53
54
55         EVENT_WORKAREA_START=1000,              //!< Not a valid event
56         EVENT_WORKAREA_LAYER_CLICKED,
57         EVENT_WORKAREA_MULTIPLE_DUCKS_CLICKED,
58         EVENT_WORKAREA_MOUSE_MOTION,
59         EVENT_WORKAREA_MOUSE_BUTTON_DOWN,
60         EVENT_WORKAREA_MOUSE_BUTTON_DRAG,
61         EVENT_WORKAREA_MOUSE_BUTTON_UP,
62         EVENT_WORKAREA_BOX,
63         EVENT_WORKAREA_END,             //!< Not a valid event
64
65         EVENT_WORKAREA_STROKE,
66
67         EVENT_END               //!< Not a valid event
68 };
69
70 };
71
72 /* === E N D =============================================================== */
73
74 #endif