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