annotate Gui/win32/dialogs.h @ 19980:fb106243f413

r19979: after a long time, finally i could add -endpos option to mplayer..
author kraymer
date Wed, 27 Sep 2006 08:36:27 +0000
parents d450ec82ae57
children a8aa764559fa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18914
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
1 /*
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
2 MPlayer Gui for win32
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
3 Copyright (c) 2003 Sascha Sommer <saschasommer@freenet.de>
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
4 Copyright (c) 2006 Erik Augustson <erik_27can@yahoo.com>
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
5 Copyright (c) 2006 Gianluigi Tiesi <sherpya@netfarm.it>
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
6
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
7 This program is free software; you can redistribute it and/or modify
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
8 it under the terms of the GNU General Public License as published by
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
9 the Free Software Foundation; either version 2 of the License, or
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
10 (at your option) any later version.
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
11
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
12 This program is distributed in the hope that it will be useful,
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
15 GNU General Public License for more details.
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
16
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
18 along with this program; if not, write to the Free Software
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
20 */
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
21
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
22 #ifndef _DIALOGS_H
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
23 #define _DIALOGS_H
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
24
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
25 #define TBS_TOOLTIPS 0x0100
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
26 #define WM_SYSTRAY (WM_USER+1)
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
27 #define UDM_SETRANGE32 (WM_USER+111)
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
28 #define UDM_GETRANGE32 (WM_USER+112)
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
29 #define UDM_SETPOS32 (WM_USER+113)
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
30 #define UDM_GETPOS32 (WM_USER+114)
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
31
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
32 #define SOLID_GREY (HBRUSH) CreateSolidBrush(RGB(232, 232, 232))
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
33 #define SOLID_GREY2 (HBRUSH) CreateSolidBrush(RGB(175, 175, 175))
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
34
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
35 #define gfree free
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
36
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
37 #define MAXFILE 1024
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
38
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
39 #define COPYRIGHT " MPlayer GUI for Windows\n\n" \
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
40 " Copyright (c) 2003 Sascha Sommer\n" \
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
41 " Copyright (c) 2006 Erik Augustson\n" \
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
42 " Copyright (c) 2006 Gianluigi Tiesi"
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
43
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
44 #define ONLINE_HELP_URL "http://www.mplayerhq.hu/DOCS/HTML/en/index.html"
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
45
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
46 #define ID_OK 12
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
47 #define ID_APPLY 13
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
48 #define ID_CANCEL 14
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
49 #define ID_CLOSE 15
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
50 #define ID_DEFAULTS 16
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
51 #define ID_VO_DRIVER 17
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
52 #define ID_AO_DRIVER 18
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
53 #define ID_DOUBLE 19
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
54 #define ID_DIRECT 20
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
55 #define ID_FRAMEDROP 21
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
56 #define ID_NORMALIZE 22
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
57 #define ID_SOFTMIX 23
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
58 #define ID_EXTRASTEREO 24
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
59 #define ID_TRACKBAR1 25
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
60 #define ID_TRACKBAR2 26
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
61 #define ID_UPDOWN1 27
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
62 #define ID_UPDOWN2 28
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
63 #define ID_EDIT1 29
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
64 #define ID_EDIT2 30
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
65 #define ID_CACHE 31
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
66 #define ID_AUTOSYNC 32
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
67 #define ID_NONE 33
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
68 #define ID_OSD1 34
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
69 #define ID_OSD2 35
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
70 #define ID_OSD3 36
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
71 #define ID_DVDDEVICE 37
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
72 #define ID_CDDEVICE 38
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
73 #define ID_PRIO 39
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
74 #define ID_URL 40
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
75 #define ID_TITLESEL 41
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
76 #define ID_UP 42
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
77 #define ID_DOWN 43
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
78 #define ID_REMOVE 44
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
79 #define ID_ADDFILE 45
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
80 #define ID_TRACKLIST 46
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
81 #define ID_SUBTITLE 47
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
82 #define ID_PLAYLISTLOAD 48
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
83 #define ID_PLAYLISTSAVE 49
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
84 #define ID_ADDURL 50
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
85 #define ID_DIR 51
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
86 #define ID_PLAY 52
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
87 #define ID_STOP 53
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
88 #define ID_SEEKF 54
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
89 #define ID_SEEKB 55
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
90 #define ID_NTRACK 56
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
91 #define ID_PTRACK 57
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
92 #define ID_PLAYLIST 58
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
93 #define ID_CLEAR 59
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
94 #define ID_SHOWHIDE 60
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
95 #define ID_SKINBROWSER 61
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
96 #define ID_KEYHELP 62
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
97 #define ID_ONLINEHELP 63
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
98 #define ID_CHAPTERSEL 64
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
99 #define ID_PREFS 65
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
100 #define TRAYMENU 66
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
101 #define IDFILE_OPEN 67
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
102 #define IDEXIT 68
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
103 #define IDURL_OPEN 69
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
104 #define IDDIR_OPEN 70
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
105 #define IDFILE_NEW 71
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
106 #define IDFILE_SAVE 72
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
107 #define IDHELP_ABOUT 73
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
108 #define IDSUBTITLE_OPEN 74
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
109 #define IDPLAYDISK 75
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
110 #define ID_CONSOLE 76
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
111 #define ID_EQ0 77
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
112 #define ID_EQ1 78
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
113 #define ID_EQ2 79
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
114 #define ID_EQ3 80
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
115 #define IDSUB_TOGGLE 81
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
116 #define IDSUB_CYCLE 82
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
117 #define ID_ASPECT1 83
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
118 #define ID_ASPECT2 84
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
119 #define ID_ASPECT3 85
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
120 #define ID_ASPECT4 86
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
121 #define ID_SUBWINDOW 87
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
122
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
123 /* gtk emulation */
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
124 #define GTK_MB_FATAL 0x1
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
125 #define GTK_MB_ERROR 0x2
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
126 #define GTK_MB_WARNING 0x4
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
127 #define GTK_MB_SIMPLE 0x8
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
128
d450ec82ae57 Initial win32 gui release.
vayne
parents:
diff changeset
129 #endif