X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fevent_mouse.h;h=106f8aa3c520da4a5234c681597bd4543099e341;hb=837b63e9fb829d66d43f4f169861f8979f76820d;hp=00c5359c5df822e65f74d9bebdcc140491f4a6cb;hpb=02252941b29de64037116f4d37991a38d9ff0d94;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/event_mouse.h b/synfig-studio/trunk/src/gtkmm/event_mouse.h index 00c5359..106f8aa 100644 --- a/synfig-studio/trunk/src/gtkmm/event_mouse.h +++ b/synfig-studio/trunk/src/gtkmm/event_mouse.h @@ -2,19 +2,20 @@ /*! \file event_mouse.h ** \brief Template Header ** -** $Id: event_mouse.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $ +** $Id$ ** ** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** 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. ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** 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 */ /* ========================================================================= */ @@ -46,7 +47,7 @@ enum MouseButton BUTTON_RIGHT, BUTTON_UP, BUTTON_DOWN, - + BUTTON_END }; @@ -56,7 +57,7 @@ struct EventMouse : public Smach::event MouseButton button; float pressure; Gdk::ModifierType modifier; - + EventMouse(EventKey id, MouseButton button, const synfig::Point& pos, Gdk::ModifierType modifier=Gdk::ModifierType(0)): Smach::event(id), pos(pos), @@ -79,7 +80,7 @@ struct EventBox : public Smach::event synfig::Point p1,p2; MouseButton button; Gdk::ModifierType modifier; - + EventBox(EventKey id, const synfig::Point& p1,const synfig::Point& p2,MouseButton button=BUTTON_NONE, Gdk::ModifierType modifier=Gdk::ModifierType(0)): Smach::event(id), p1(p1),