Mercurial > mplayer.hg
annotate libvo/wskeys.h @ 36920:40ad45360c8a
Replace old item 'potmeter' by new item 'pimage'.
Recent versions of the X11/GTK GUI didn't allow to control a potmeter,
because that didn't seem to make any sense.
In order to get rid of the confusing potmeter that doesn't distinguish
from a hpotmeter and in order to allow the more useful behaviour recent
versions of the X11/GTK GUI have been utilized (and because we're still
supporting item 'potmeter' for reasons of compatibility with old skins),
introduce new item 'pimage' that reuses most of the current potmeter
code.
Additionally, remove remaining code and documentation of 'potmeter'.
author | ib |
---|---|
date | Mon, 17 Mar 2014 12:29:46 +0000 |
parents | cceb74e98445 |
children |
rev | line source |
---|---|
28446
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
1 /* |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
2 * This file is part of MPlayer. |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
3 * |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
4 * MPlayer is free software; you can redistribute it and/or modify |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
5 * it under the terms of the GNU General Public License as published by |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
6 * the Free Software Foundation; either version 2 of the License, or |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
7 * (at your option) any later version. |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
8 * |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
9 * MPlayer is distributed in the hope that it will be useful, |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
12 * GNU General Public License for more details. |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
13 * |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
14 * You should have received a copy of the GNU General Public License along |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
7681eab10aea
Add standard license headers, unify header formatting.
diego
parents:
28134
diff
changeset
|
17 */ |
1 | 18 |
26029 | 19 #ifndef MPLAYER_WSKEYS_H |
20 #define MPLAYER_WSKEYS_H | |
1 | 21 |
33521
8966911e5233
Allow Pause/Break key to be bound as MPlayer input key under X11.
diego
parents:
28446
diff
changeset
|
22 #define wsPause 0x13 + 256 |
1 | 23 #define wsUp 0x52 + 256 |
24 #define wsDown 0x54 + 256 | |
25 #define wsLeft 0x51 + 256 | |
26 #define wsRight 0x53 + 256 | |
27 #define wsLeftCtrl 0xe3 + 256 | |
28 #define wsRightCtrl 0xe4 + 256 | |
29 #define wsLeftAlt 0xe9 + 256 | |
30 #define wsRightAlt 0x7e + 256 | |
31 #define wsLeftShift 0xe1 + 256 | |
32 #define wsRightShift 0xe2 + 256 | |
33 #define wsEnter 0x0d + 256 | |
34 #define wsBackSpace 0x08 + 256 | |
35 #define wsCapsLock 0xe5 + 256 | |
36 #define wsTab 0x09 + 256 | |
37 #define wsF1 0xbe + 256 | |
38 #define wsF2 0xbf + 256 | |
39 #define wsF3 0xc0 + 256 | |
40 #define wsF4 0xc1 + 256 | |
41 #define wsF5 0xc2 + 256 | |
42 #define wsF6 0xc3 + 256 | |
43 #define wsF7 0xc4 + 256 | |
44 #define wsF8 0xc5 + 256 | |
45 #define wsF9 0xc6 + 256 | |
46 #define wsF10 0xc7 + 256 | |
11793 | 47 #define wsF11 0xc8 + 256 |
48 #define wsF12 0xc9 + 256 | |
1 | 49 #define wsInsert 0x63 + 256 |
50 #define wsDelete 0xff + 256 | |
51 #define wsHome 0x50 + 256 | |
52 #define wsEnd 0x57 + 256 | |
53 #define wsPageUp 0x55 + 256 | |
54 #define wsPageDown 0x56 + 256 | |
55 #define wsNumLock 0x7f + 256 | |
56 #define wsEscape 0x1b + 256 | |
57 #define wsGrayEnter 0x8d + 256 | |
58 #define wsGrayPlus 0xab + 256 | |
59 #define wsGrayMinus 0xad + 256 | |
60 #define wsGrayMul 0xaa + 256 | |
61 #define wsGrayDiv 0xaf + 256 | |
9891
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
62 #define wsGrayDecimal 0xae + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
63 #define wsGray0 0xb0 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
64 #define wsGray1 0xb1 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
65 #define wsGray2 0xb2 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
66 #define wsGray3 0xb3 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
67 #define wsGray4 0xb4 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
68 #define wsGray5 0xb5 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
69 #define wsGray6 0xb6 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
70 #define wsGray7 0xb7 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
71 #define wsGray8 0xb8 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
72 #define wsGray9 0xb9 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
73 #define wsGrayHome 0x95 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
74 #define wsGrayLeft 0x96 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
75 #define wsGrayUp 0x97 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
76 #define wsGrayRight 0x98 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
77 #define wsGrayDown 0x99 + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
78 #define wsGrayPgUp 0x9a + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
79 #define wsGrayPgDn 0x9b + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
80 #define wsGrayEnd 0x9c + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
81 #define wsGray5Dup 0x9d + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
82 #define wsGrayInsert 0x9e + 256 |
150d1ef4204d
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents:
3490
diff
changeset
|
83 #define wsGrayDelete 0x9f + 256 |
1 | 84 |
33537
cceb74e98445
Move key definitions for multimedia keyboards to libvo/wskeys.h,
ib
parents:
33521
diff
changeset
|
85 // keys for multimedia keyboards |
cceb74e98445
Move key definitions for multimedia keyboards to libvo/wskeys.h,
ib
parents:
33521
diff
changeset
|
86 |
cceb74e98445
Move key definitions for multimedia keyboards to libvo/wskeys.h,
ib
parents:
33521
diff
changeset
|
87 #define wsXF86LowerVolume 0x11 + 256 |
cceb74e98445
Move key definitions for multimedia keyboards to libvo/wskeys.h,
ib
parents:
33521
diff
changeset
|
88 #define wsXF86RaiseVolume 0x13 + 256 |
cceb74e98445
Move key definitions for multimedia keyboards to libvo/wskeys.h,
ib
parents:
33521
diff
changeset
|
89 #define wsXF86Mute 0x12 + 256 |
cceb74e98445
Move key definitions for multimedia keyboards to libvo/wskeys.h,
ib
parents:
33521
diff
changeset
|
90 #define wsXF86Play 0x14 + 256 |
cceb74e98445
Move key definitions for multimedia keyboards to libvo/wskeys.h,
ib
parents:
33521
diff
changeset
|
91 #define wsXF86Pause 0x31 + 256 |
cceb74e98445
Move key definitions for multimedia keyboards to libvo/wskeys.h,
ib
parents:
33521
diff
changeset
|
92 #define wsXF86Stop 0x15 + 256 |
cceb74e98445
Move key definitions for multimedia keyboards to libvo/wskeys.h,
ib
parents:
33521
diff
changeset
|
93 #define wsXF86Prev 0x16 + 256 |
cceb74e98445
Move key definitions for multimedia keyboards to libvo/wskeys.h,
ib
parents:
33521
diff
changeset
|
94 #define wsXF86Next 0x17 + 256 |
cceb74e98445
Move key definitions for multimedia keyboards to libvo/wskeys.h,
ib
parents:
33521
diff
changeset
|
95 #define wsXF86Media 0x32 + 256 |
cceb74e98445
Move key definitions for multimedia keyboards to libvo/wskeys.h,
ib
parents:
33521
diff
changeset
|
96 |
26029 | 97 #endif /* MPLAYER_WSKEYS_H */ |