X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Fsrc%2Fgtkmm%2Feventkey.h;fp=synfig-studio%2Fsrc%2Fgtkmm%2Feventkey.h;h=639f6d1668056e3c9e95cb54ceeb23c402a467d9;hb=a095981e18cc37a8ecc7cd237cc22b9c10329264;hp=0000000000000000000000000000000000000000;hpb=9459638ad6797b8139f1e9f0715c96076dbf0890;p=synfig.git diff --git a/synfig-studio/src/gtkmm/eventkey.h b/synfig-studio/src/gtkmm/eventkey.h new file mode 100644 index 0000000..639f6d1 --- /dev/null +++ b/synfig-studio/src/gtkmm/eventkey.h @@ -0,0 +1,74 @@ +/* === S Y N F I G ========================================================= */ +/*! \file eventkey.h +** \brief Template Header +** +** $Id$ +** +** \legal +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. +** +** This package is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +** General Public License for more details. +** \endlegal +*/ +/* ========================================================================= */ + +/* === S T A R T =========================================================== */ + +#ifndef __SYNFIG_STUDIO_EVENTKEY_H +#define __SYNFIG_STUDIO_EVENTKEY_H + +/* === H E A D E R S ======================================================= */ + +/* === M A C R O S ========================================================= */ + +/* === T Y P E D E F S ===================================================== */ + +/* === C L A S S E S & S T R U C T S ======================================= */ + +namespace studio { + +enum EventKey +{ + EVENT_NIL, + EVENT_REFRESH, + EVENT_DIRTY, + EVENT_STOP, + EVENT_UNDO, + EVENT_REDO, + EVENT_REFRESH_DUCKS, + EVENT_REFRESH_TOOL_OPTIONS, + EVENT_YIELD_TOOL_OPTIONS, + EVENT_INPUT_DEVICE_CHANGED, + EVENT_TABLES_HIDE, + EVENT_LAYER_SELECTION_CHANGED, + EVENT_TABLES_SHOW, + + + EVENT_WORKAREA_START=1000, //!< Not a valid event + EVENT_WORKAREA_LAYER_CLICKED, + EVENT_WORKAREA_MULTIPLE_DUCKS_CLICKED, + EVENT_WORKAREA_MOUSE_MOTION, + EVENT_WORKAREA_MOUSE_BUTTON_DOWN, + EVENT_WORKAREA_MOUSE_BUTTON_DRAG, + EVENT_WORKAREA_MOUSE_BUTTON_UP, + EVENT_WORKAREA_BOX, + EVENT_WORKAREA_END, //!< Not a valid event + + EVENT_WORKAREA_STROKE, + + EVENT_END //!< Not a valid event +}; + +}; + +/* === E N D =============================================================== */ + +#endif