This is generated from w32.rc by Visual C++.
[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 the SourceForge
8  *                IJBSWA team.  http://ijbswa.sourceforge.net
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  * Revisions   :
33  *    $Log: w32.rc,v $
34  *    Revision 1.3  2001/05/25 22:33:40  jongfoster
35  *    CRLF->LF
36  *
37  *    Revision 1.2  2001/05/20 01:21:20  jongfoster
38  *    Version 2.9.4 checkin.
39  *    - Merged popupfile and cookiefile, and added control over PCRS
40  *      filtering, in new "permissionsfile".
41  *    - Implemented LOG_LEVEL_FATAL, so that if there is a configuration
42  *      file error you now get a message box (in the Win32 GUI) rather
43  *      than the program exiting with no explanation.
44  *    - Made killpopup use the PCRS MIME-type checking and HTTP-header
45  *      skipping.
46  *    - Removed tabs from "config"
47  *    - Moved duplicated url parsing code in "loaders.c" to a new funcition.
48  *    - Bumped up version number.
49  *
50  *    Revision 1.1.1.1  2001/05/15 13:59:07  oes
51  *    Initial import of version 2.9.3 source tree
52  *
53  *
54  *********************************************************************/
55
56 #include <windows.h>
57 #include "config.h"
58 #include "w32res.h"
59
60 #ifdef __MINGW32__
61 #include "cygwin.h"
62 #endif
63
64 /****************************************************************************
65  *  Language-neutral resources
66  ****************************************************************************/
67
68 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
69 #ifdef _WIN32
70 /* LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL */
71 #pragma code_page(1252)
72 #endif /* _WIN32 */
73
74 /*
75  * Icons
76  *
77  * Icon with lowest ID value placed first to ensure application icon
78  * remains consistent on all systems.
79  */
80 IDI_JUNKBUSTER          ICON    DISCARDABLE     "icons/junkbust.ico"
81 IDI_JUNKBUSTER1         ICON    DISCARDABLE     "icons/ico00001.ico"
82 IDI_JUNKBUSTER2         ICON    DISCARDABLE     "icons/ico00002.ico"
83 IDI_JUNKBUSTER3         ICON    DISCARDABLE     "icons/ico00003.ico"
84 IDI_JUNKBUSTER4         ICON    DISCARDABLE     "icons/ico00004.ico"
85 IDI_JUNKBUSTER5         ICON    DISCARDABLE     "icons/ico00005.ico"
86 IDI_JUNKBUSTER6         ICON    DISCARDABLE     "icons/ico00006.ico"
87 IDI_JUNKBUSTER7         ICON    DISCARDABLE     "icons/ico00007.ico"
88 IDI_JUNKBUSTER8         ICON    DISCARDABLE     "icons/ico00008.ico"
89 IDI_IDLE                ICON    DISCARDABLE     "icons/idle.ico"
90
91 #endif /* Neutral resources */
92
93
94 /****************************************************************************
95  *  English (U.S.) resources
96  ****************************************************************************/
97
98 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
99 #ifdef _WIN32
100 /* LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US */
101 #pragma code_page(1252)
102 #endif //_WIN32
103
104 /*
105  * Menus
106  */
107
108 IDR_TRAYMENU MENU DISCARDABLE
109 BEGIN
110     POPUP "Popup"
111     BEGIN
112         MENUITEM "E&xit JunkBuster",   ID_FILE_EXIT
113         MENUITEM                       SEPARATOR
114         POPUP "&Options"
115         BEGIN
116             MENUITEM "&Junkbuster...",              ID_TOOLS_EDITJUNKBUSTER
117             MENUITEM                                SEPARATOR
118             MENUITEM "&Blockers...",                ID_TOOLS_EDITBLOCKERS
119             MENUITEM "&Permissions...",             ID_TOOLS_EDITPERMISSIONS
120             MENUITEM "&Forward...",                 ID_TOOLS_EDITFORWARD
121 #ifdef ACL_FILES
122             MENUITEM "&Access Control Lists...",    ID_TOOLS_EDITACLS
123 #endif /* def ACL_FILES */
124 #ifdef USE_IMAGE_LIST
125             MENUITEM "&Images...",                  ID_TOOLS_EDITIMAGE
126 #endif /* def USE_IMAGE_LIST */
127 #ifdef PCRS
128             MENUITEM "Perl &Regexps...",            ID_TOOLS_EDITPERLRE
129 #endif /* def PCRS */
130 #ifdef TRUST_FILES
131             MENUITEM "&Trust...",                   ID_TOOLS_EDITTRUST
132 #endif /* def TRUST_FILES */
133         END
134         MENUITEM                              SEPARATOR
135 #ifdef TOGGLE
136         MENUITEM "&Enable",                   ID_TOGGLE_IJB, CHECKED
137 #endif
138         MENUITEM "Show &JunkBuster Window",   ID_SHOWWINDOW
139     END
140 END
141
142 IDR_LOGVIEW MENU DISCARDABLE
143 BEGIN
144     POPUP "&File"
145     BEGIN
146         MENUITEM "E&xit",                       ID_FILE_EXIT
147     END
148     POPUP "&Edit"
149     BEGIN
150         MENUITEM "Copy",                        ID_EDIT_COPY
151     END
152     POPUP "&View"
153     BEGIN
154         MENUITEM "&Clear Log",                  ID_VIEW_CLEARLOG
155         MENUITEM                                SEPARATOR
156         MENUITEM "&Log Messages",               ID_VIEW_LOGMESSAGES, CHECKED
157         MENUITEM "Message &Highlighting",       ID_VIEW_MESSAGEHIGHLIGHTING, CHECKED
158         MENUITEM "Limit &Buffer Size",          ID_VIEW_LIMITBUFFERSIZE, CHECKED
159         MENUITEM "&Activity Animation",         ID_VIEW_ACTIVITYANIMATION, CHECKED
160     END
161     POPUP "&Options"
162     BEGIN
163 #ifdef TOGGLE
164         MENUITEM "&Enable",                     ID_TOGGLE_IJB, CHECKED
165         MENUITEM                                SEPARATOR
166 #endif
167         MENUITEM "&Junkbuster...",              ID_TOOLS_EDITJUNKBUSTER
168         MENUITEM                                SEPARATOR
169         MENUITEM "&Blockers...",                ID_TOOLS_EDITBLOCKERS
170         MENUITEM "&Permissions...",             ID_TOOLS_EDITPERMISSIONS
171         MENUITEM "&Forward...",                 ID_TOOLS_EDITFORWARD
172 #ifdef ACL_FILES
173             MENUITEM "&Access Control Lists...",ID_TOOLS_EDITACLS
174 #endif /* def ACL_FILES */
175 #ifdef USE_IMAGE_LIST
176             MENUITEM "&Images...",              ID_TOOLS_EDITIMAGE
177 #endif /* def USE_IMAGE_LIST */
178 #ifdef PCRS
179             MENUITEM "Perl &Regexps...",        ID_TOOLS_EDITPERLRE
180 #endif /* def PCRS */
181 #ifdef TRUST_FILES
182             MENUITEM "&Trust...",               ID_TOOLS_EDITTRUST
183 #endif /* def TRUST_FILES */
184     END
185     POPUP "&Help"
186     BEGIN
187         MENUITEM "Junkbuster &FAQ",             ID_HELP_FAQ
188         MENUITEM "Junkbuster &Manual",          ID_HELP_MANUAL
189         MENUITEM "GNU &General Public Licence", ID_HELP_GPL
190         MENUITEM                                SEPARATOR
191         MENUITEM "Junkbuster Status...",        ID_HELP_STATUS
192         MENUITEM                                SEPARATOR
193         MENUITEM "About Junkbuster...",         ID_HELP_ABOUTJUNKBUSTER
194     END
195 END
196
197 IDR_POPUP_SELECTION MENU DISCARDABLE
198 BEGIN
199     POPUP "Popup"
200     BEGIN
201         MENUITEM "&Copy",                       ID_EDIT_COPY
202     END
203 END
204
205
206 /*
207  * Accelerators
208  */
209
210 IDR_ACCELERATOR ACCELERATORS DISCARDABLE
211 BEGIN
212     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
213 END
214
215 /*
216  * Icons
217  *
218  * Icon with lowest ID value placed first to ensure application icon
219  * remains consistent on all systems.
220  */
221 IDI_DENYRULE            ICON    DISCARDABLE     "icons/denyrule.ico"
222 IDI_ALLOWRULE           ICON    DISCARDABLE     "icons/icon1.ico"
223
224 /*
225  * Dialog
226  */
227
228 IDD_RULES DIALOG DISCARDABLE  0, 0, 239, 225
229 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
230 CAPTION "Blockers"
231 FONT 8, "MS Sans Serif"
232 BEGIN
233     GROUPBOX        "New Rule",IDC_STATIC,5,5,230,55
234     LTEXT           "For:",IDC_STATIC,10,15,13,8
235     EDITTEXT        IDC_NEW,10,25,220,12,ES_AUTOHSCROLL
236     COMBOBOX        IDC_ACTION,10,40,75,37,CBS_DROPDOWNLIST | CBS_SORT |
237                     WS_VSCROLL | WS_TABSTOP
238     PUSHBUTTON      "C&reate!",IDC_CREATE,90,40,50,14
239     GROUPBOX        "Rules",IDC_STATIC,5,65,230,135
240     CONTROL         "List1",IDC_RULES,"SysListView32",LVS_REPORT |
241                     LVS_SHOWSELALWAYS | LVS_EDITLABELS | WS_BORDER |
242                     WS_TABSTOP,10,75,220,100
243     PUSHBUTTON      "Move &Up",IDC_MOVEUP,10,180,50,14,WS_DISABLED
244     PUSHBUTTON      "Move &Down",IDC_MOVEDOWN,65,180,50,14,WS_DISABLED
245     PUSHBUTTON      "&Delete",IDC_DELETE,120,180,50,14,WS_DISABLED
246     PUSHBUTTON      "&Save",IDC_SAVE,130,205,50,14
247     PUSHBUTTON      "&Cancel",IDCANCEL,185,205,50,14
248 END
249
250
251 /*
252  * DESIGNINFO
253  */
254
255 #ifdef APSTUDIO_INVOKED
256 GUIDELINES DESIGNINFO DISCARDABLE
257 BEGIN
258     IDD_RULES, DIALOG
259     BEGIN
260         LEFTMARGIN, 7
261         RIGHTMARGIN, 232
262         TOPMARGIN, 7
263         BOTTOMMARGIN, 218
264     END
265 END
266 #endif    // APSTUDIO_INVOKED
267
268
269 /*
270  * String Table
271  */
272
273 STRINGTABLE DISCARDABLE
274 BEGIN
275     IDS_NEW_BLOCKER         "Create rule for ""%s""..."
276 END
277
278 #endif /* English (U.S.) resources */