annotate input/mouse.h @ 28506:fe72d4f7ac25

Only set VO_EVENT_RESIZE if size actually changed, not if e.g. the window was only moved to the foreground.
author reimar
date Thu, 12 Feb 2009 12:43:14 +0000
parents 142c53391eb7
children d63bf64a2094
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28112
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
1 /*
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
2 * This file is part of MPlayer.
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
3 *
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
5 * it under the terms of the GNU General Public License as published by
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
7 * (at your option) any later version.
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
8 *
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
12 * GNU General Public License for more details.
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
13 *
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
14 * You should have received a copy of the GNU General Public License along
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
17 */
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
18
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
19 #ifndef MPLAYER_MOUSE_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
20 #define MPLAYER_MOUSE_H
4589
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
21
4657
610a11e4db36 Added key autorepeat support. Options to enable/disable joystick and lirc
albeu
parents: 4589
diff changeset
22 #define MOUSE_BASE ((0x100+256)|MP_NO_REPEAT_KEY)
4589
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
23 #define MOUSE_BTN0 (MOUSE_BASE+0)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
24 #define MOUSE_BTN1 (MOUSE_BASE+1)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
25 #define MOUSE_BTN2 (MOUSE_BASE+2)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
26 #define MOUSE_BTN3 (MOUSE_BASE+3)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
27 #define MOUSE_BTN4 (MOUSE_BASE+4)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
28 #define MOUSE_BTN5 (MOUSE_BASE+5)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
29 #define MOUSE_BTN6 (MOUSE_BASE+6)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
30 #define MOUSE_BTN7 (MOUSE_BASE+7)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
31 #define MOUSE_BTN8 (MOUSE_BASE+8)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
32 #define MOUSE_BTN9 (MOUSE_BASE+9)
16974
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
33
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
34 #define MOUSE_BASE_DBL (0x300|MP_NO_REPEAT_KEY)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
35 #define MOUSE_BTN0_DBL (MOUSE_BASE_DBL+0)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
36 #define MOUSE_BTN1_DBL (MOUSE_BASE_DBL+1)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
37 #define MOUSE_BTN2_DBL (MOUSE_BASE_DBL+2)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
38 #define MOUSE_BTN3_DBL (MOUSE_BASE_DBL+3)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
39 #define MOUSE_BTN4_DBL (MOUSE_BASE_DBL+4)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
40 #define MOUSE_BTN5_DBL (MOUSE_BASE_DBL+5)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
41 #define MOUSE_BTN6_DBL (MOUSE_BASE_DBL+6)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
42 #define MOUSE_BTN7_DBL (MOUSE_BASE_DBL+7)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
43 #define MOUSE_BTN8_DBL (MOUSE_BASE_DBL+8)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
44 #define MOUSE_BTN9_DBL (MOUSE_BASE_DBL+9)
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 16974
diff changeset
45
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
46 #endif /* MPLAYER_MOUSE_H */