Start using the fancier radar icons.
[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 "&Filters",                      ID_TOOLS_EDITFILTERS
145 #ifdef FEATURE_TRUST
146             MENUITEM "&Trust list",                   ID_TOOLS_EDITTRUST
147 #endif /* def FEATURE_TRUST */
148         END
149         MENUITEM                              SEPARATOR
150 #ifdef FEATURE_TOGGLE
151         MENUITEM "&Enable",                   ID_TOGGLE_ENABLED, CHECKED
152 #endif /* def FEATURE_TOGGLE */
153         MENUITEM "Show Privoxy &Window",      ID_TOGGLE_SHOWWINDOW, CHECKED
154     END
155 END
156
157 IDR_LOGVIEW MENU DISCARDABLE
158 BEGIN
159     POPUP "&File"
160     BEGIN
161         MENUITEM "E&xit",                       ID_FILE_EXIT
162     END
163     POPUP "&Edit"
164     BEGIN
165         MENUITEM "Copy",                        ID_EDIT_COPY
166     END
167     POPUP "&View"
168     BEGIN
169         MENUITEM "&Clear Log\tCtrl+D",          ID_VIEW_CLEARLOG
170         MENUITEM                                SEPARATOR
171         MENUITEM "&Log Messages",               ID_VIEW_LOGMESSAGES, CHECKED
172         MENUITEM "Message &Highlighting",       ID_VIEW_MESSAGEHIGHLIGHTING, CHECKED
173         MENUITEM "Limit &Buffer Size",          ID_VIEW_LIMITBUFFERSIZE, CHECKED
174         MENUITEM "&Activity Animation",         ID_VIEW_ACTIVITYANIMATION, CHECKED
175     END
176     POPUP "&Options"
177     BEGIN
178 #ifdef FEATURE_TOGGLE
179         MENUITEM "&Enable",                     ID_TOGGLE_ENABLED, CHECKED
180         MENUITEM                                SEPARATOR
181 #endif /* def FEATURE_TOGGLE */
182         MENUITEM "Edit Main &Configuration",      ID_TOOLS_EDITCONFIG
183         MENUITEM "Edit &Default Actions",         ID_TOOLS_EDITDEFAULTACTIONS
184         MENUITEM "Edit &User Actions",            ID_TOOLS_EDITUSERACTIONS
185         MENUITEM "Edit &Filters",                 ID_TOOLS_EDITFILTERS
186 #ifdef FEATURE_TRUST
187         MENUITEM "Edit &Trust list",              ID_TOOLS_EDITTRUST
188 #endif /* def FEATURE_TRUST */
189     END
190     POPUP "&Help"
191     BEGIN
192         MENUITEM "Privoxy &FAQ",                ID_HELP_FAQ
193         MENUITEM "Privoxy &Manual",             ID_HELP_MANUAL
194         MENUITEM "GNU &General Public Licence", ID_HELP_GPL
195         MENUITEM                                SEPARATOR
196         MENUITEM "Privoxy Status...",           ID_HELP_STATUS
197         MENUITEM                                SEPARATOR
198         MENUITEM "About Privoxy...",            ID_HELP_ABOUT
199     END
200 END
201
202 IDR_POPUP_SELECTION MENU DISCARDABLE
203 BEGIN
204     POPUP "Popup"
205     BEGIN
206         MENUITEM "&Copy",                       ID_EDIT_COPY
207     END
208 END
209
210
211 /*
212  * Accelerators
213  */
214
215 IDR_ACCELERATOR ACCELERATORS DISCARDABLE
216 BEGIN
217     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
218     "D",            ID_VIEW_CLEARLOG,       VIRTKEY, CONTROL, NOINVERT
219 END
220
221 #endif /* English (U.S.) resources */