From efe4f0baddf10124581e4fcb88d55a52838b06a1 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Sun, 9 Sep 2012 17:51:10 +0200 Subject: Refactoring in src/common - refactored CInstanceManager and some headers - removed old headers --- src/common/event_ids.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common/event_ids.h') diff --git a/src/common/event_ids.h b/src/common/event_ids.h index ab235d5..1bbc9be 100644 --- a/src/common/event_ids.h +++ b/src/common/event_ids.h @@ -14,6 +14,9 @@ // * You should have received a copy of the GNU General Public License // * along with this program. If not, see http://www.gnu.org/licenses/. + +// TODO: move to event.h after restext rewrite + #pragma once /** -- cgit v1.2.3-1-g7c22 From 10c9d92cd2581448d76548efb20957a7a1c24478 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Wed, 19 Sep 2012 21:23:42 +0200 Subject: Mouse wheel events, motion vectors - added mouse wheel events - added motion vectors to CRobotMain - other minor changes in event.h --- src/common/event_ids.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/common/event_ids.h') diff --git a/src/common/event_ids.h b/src/common/event_ids.h index 1bbc9be..9cbbf94 100644 --- a/src/common/event_ids.h +++ b/src/common/event_ids.h @@ -41,6 +41,8 @@ enum EventType EVENT_MOUSE_BUTTON_DOWN = 3, //! Event sent after releasing a mouse button EVENT_MOUSE_BUTTON_UP = 4, + //! Event sent after moving mouse wheel up or down + EVENT_MOUSE_WHEEL = 5, //! Event sent after moving the mouse EVENT_MOUSE_MOVE = 7, //! Event sent after pressing a key @@ -51,9 +53,6 @@ enum EventType //! Event sent when application window loses/gains focus EVENT_ACTIVE = 10, - //? EVENT_CHAR = 10, - //? EVENT_FOCUS = 11, - //! Event sent after moving joystick axes EVENT_JOY_AXIS = 12, //! Event sent after pressing a joystick button -- cgit v1.2.3-1-g7c22