annotate gui/win32/dialogs.h @ 23796:298fedea557d

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