8ee6dd89640388296169f3aef533a1449db06236
[privoxy.git] / w32.rc
1 /*********************************************************************
2  *
3  * File        :  $Source: /cvsroot/ijbswa/current/w32.rc,v $
4  *
5  * Purpose     :  Windows GUI resource script.
6  *
7  * Copyright   :  Written by and Copyright (C) 2001-2009 members of
8  *                the Privoxy team.  http://www.privoxy.org/
9  *
10  *                Based on the Internet Junkbuster originally written
11  *                by and Copyright (C) 1997 Anonymous Coders and
12  *                Junkbusters Corporation.  http://www.junkbusters.com
13  *
14  *                This program is free software; you can redistribute it
15  *                and/or modify it under the terms of the GNU General
16  *                Public License as published by the Free Software
17  *                Foundation; either version 2 of the License, or (at
18  *                your option) any later version.
19  *
20  *                This program is distributed in the hope that it will
21  *                be useful, but WITHOUT ANY WARRANTY; without even the
22  *                implied warranty of MERCHANTABILITY or FITNESS FOR A
23  *                PARTICULAR PURPOSE.  See the GNU General Public
24  *                License for more details.
25  *
26  *                The GNU General Public License should be included with
27  *                this file.  If not, you can view it at
28  *                http://www.gnu.org/copyleft/gpl.html
29  *                or write to the Free Software Foundation, Inc., 59
30  *                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
31  *
32  *********************************************************************/
33
34 #include "config.h"
35
36 #ifndef STRICT
37 #define STRICT
38 #endif
39 #include <windows.h>
40
41 #include "w32res.h"
42
43 #ifdef __MINGW32__
44 #include "cygwin.h"
45 #endif
46
47 /****************************************************************************
48  *  Language-neutral resources
49  ****************************************************************************/
50
51 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
52 #ifdef _WIN32
53 /* LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL */
54 #pragma code_page(1252)
55 #endif /* _WIN32 */
56
57 /*
58  * Icons
59  *
60  * Icon with lowest ID value placed first to ensure application icon
61  * remains consistent on all systems.
62  */
63 IDI_MAINICON            ICON    DISCARDABLE     "icons/privoxy.ico"
64 IDI_ANIMATED1           ICON    DISCARDABLE     "icons/radar-01.ico"
65 IDI_ANIMATED2           ICON    DISCARDABLE     "icons/radar-02.ico"
66 IDI_ANIMATED3           ICON    DISCARDABLE     "icons/radar-03.ico"
67 IDI_ANIMATED4           ICON    DISCARDABLE     "icons/radar-04.ico"
68 IDI_ANIMATED5           ICON    DISCARDABLE     "icons/radar-05.ico"
69 IDI_ANIMATED6           ICON    DISCARDABLE     "icons/radar-06.ico"
70 IDI_ANIMATED7           ICON    DISCARDABLE     "icons/radar-07.ico"
71 IDI_ANIMATED8           ICON    DISCARDABLE     "icons/radar-08.ico"
72 IDI_IDLE                ICON    DISCARDABLE     "icons/privoxy.ico"
73 IDI_OFF                 ICON    DISCARDABLE     "icons/off.ico"
74
75 #endif /* Neutral resources */
76
77
78 /****************************************************************************
79  *  English (U.S.) resources
80  ****************************************************************************/
81
82 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
83 #ifdef _WIN32
84 /* LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US */
85 #pragma code_page(1252)
86 #endif /* def _WIN32 */
87
88 /*
89  * File Version
90  */
91 #ifndef _MAC
92
93 VS_VERSION_INFO VERSIONINFO
94  FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
95  PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
96  FILEFLAGSMASK 0x3fL
97 #ifdef _DEBUG
98  FILEFLAGS 0x1L
99 #else
100  FILEFLAGS 0x0L
101 #endif
102  FILEOS 0x40004L
103  FILETYPE 0x1L
104  FILESUBTYPE 0x0L
105 BEGIN
106     BLOCK "StringFileInfo"
107     BEGIN
108         BLOCK "040904b0"
109         BEGIN
110             VALUE "CompanyName", "The Privoxy team - www.privoxy.org\0"
111             VALUE "FileDescription", "Privoxy\0"
112             VALUE "FileVersion", VERSION "\0"
113             VALUE "InternalName", "Privoxy\0"
114             VALUE "LegalCopyright", "Distributed under the GNU GPL\0"
115             VALUE "OriginalFilename", "privoxy.exe\0"
116             VALUE "ProductName", "Privoxy\0"
117             VALUE "ProductVersion", VERSION "\0"
118         END
119     END
120     BLOCK "VarFileInfo"
121     BEGIN
122         VALUE "Translation", 0x409, 1200
123     END
124 END
125
126 #endif /* ndef _MAC */
127
128
129 /*
130  * Menus
131  */
132
133 IDR_TRAYMENU MENU DISCARDABLE
134 BEGIN
135     POPUP "Popup"
136     BEGIN
137         MENUITEM "E&xit Privoxy",      ID_FILE_EXIT
138         MENUITEM                       SEPARATOR
139         POPUP "E&dit.."
140         BEGIN
141             MENUITEM "&Main Configuration",           ID_TOOLS_EDITCONFIG
142             MENUITEM "&Default Actions",              ID_TOOLS_EDITDEFAULTACTIONS
143             MENUITEM "&User Actions",                 ID_TOOLS_EDITUSERACTIONS
144             MENUITEM "Default &Filters",              ID_TOOLS_EDITDEFAULTFILTERS
145             MENUITEM "U&ser Filters",                 ID_TOOLS_EDITUSERFILTERS
146 #ifdef FEATURE_TRUST
147             MENUITEM "&Trust list",                   ID_TOOLS_EDITTRUST
148 #endif /* def FEATURE_TRUST */
149         END
150         MENUITEM                              SEPARATOR
151 #ifdef FEATURE_TOGGLE
152         MENUITEM "&Enable",                   ID_TOGGLE_ENABLED, CHECKED
153 #endif /* def FEATURE_TOGGLE */
154         MENUITEM "Show Privoxy &Window",      ID_TOGGLE_SHOWWINDOW, CHECKED
155     END
156 END
157
158 IDR_LOGVIEW MENU DISCARDABLE
159 BEGIN
160     POPUP "&File"
161     BEGIN
162         MENUITEM "E&xit",                       ID_FILE_EXIT
163     END
164     POPUP "&Edit"
165     BEGIN
166         MENUITEM "Copy",                        ID_EDIT_COPY
167     END
168     POPUP "&View"
169     BEGIN
170         MENUITEM "&Clear Log\tCtrl+D",          ID_VIEW_CLEARLOG
171         MENUITEM                                SEPARATOR
172         MENUITEM "&Log Messages",               ID_VIEW_LOGMESSAGES, CHECKED
173         MENUITEM "Message &Highlighting",       ID_VIEW_MESSAGEHIGHLIGHTING, CHECKED
174         MENUITEM "Limit &Buffer Size",          ID_VIEW_LIMITBUFFERSIZE, CHECKED
175         MENUITEM "&Activity Animation",         ID_VIEW_ACTIVITYANIMATION, CHECKED
176     END
177     POPUP "&Options"
178     BEGIN
179 #ifdef FEATURE_TOGGLE
180         MENUITEM "&Enable",                     ID_TOGGLE_ENABLED, CHECKED
181         MENUITEM                                SEPARATOR
182 #endif /* def FEATURE_TOGGLE */
183         MENUITEM "Edit Main &Configuration",      ID_TOOLS_EDITCONFIG
184         MENUITEM "Edit &Default Actions",         ID_TOOLS_EDITDEFAULTACTIONS
185         MENUITEM "Edit &User Actions",            ID_TOOLS_EDITUSERACTIONS
186         MENUITEM "Edit Default &Filters",         ID_TOOLS_EDITDEFAULTFILTERS
187         MENUITEM "Edit U&ser Filters",            ID_TOOLS_EDITUSERFILTERS
188 #ifdef FEATURE_TRUST
189         MENUITEM "Edit &Trust list",              ID_TOOLS_EDITTRUST
190 #endif /* def FEATURE_TRUST */
191     END
192     POPUP "&Help"
193     BEGIN
194         MENUITEM "Privoxy &FAQ",                ID_HELP_FAQ
195         MENUITEM "Privoxy &Manual",             ID_HELP_MANUAL
196         MENUITEM "GNU &General Public Licence", ID_HELP_GPL
197         MENUITEM                                SEPARATOR
198         MENUITEM "Privoxy Status...",           ID_HELP_STATUS
199         MENUITEM                                SEPARATOR
200         MENUITEM "About Privoxy...",            ID_HELP_ABOUT
201     END
202 END
203
204 IDR_POPUP_SELECTION MENU DISCARDABLE
205 BEGIN
206     POPUP "Popup"
207     BEGIN
208         MENUITEM "&Copy",                       ID_EDIT_COPY
209     END
210 END
211
212
213 /*
214  * Accelerators
215  */
216
217 IDR_ACCELERATOR ACCELERATORS DISCARDABLE
218 BEGIN
219     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
220     "D",            ID_VIEW_CLEARLOG,       VIRTKEY, CONTROL, NOINVERT
221 END
222
223 #endif /* English (U.S.) resources */