w32.rc 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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. https://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. #include "config.h"
  34. #ifndef STRICT
  35. #define STRICT
  36. #endif
  37. #include <windows.h>
  38. #include "w32res.h"
  39. #ifdef __MINGW32__
  40. #include "cygwin.h"
  41. #endif
  42. /****************************************************************************
  43. * Language-neutral resources
  44. ****************************************************************************/
  45. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
  46. #ifdef _WIN32
  47. /* LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL */
  48. #pragma code_page(1252)
  49. #endif /* _WIN32 */
  50. /*
  51. * Icons
  52. *
  53. * Icon with lowest ID value placed first to ensure application icon
  54. * remains consistent on all systems.
  55. */
  56. IDI_MAINICON ICON DISCARDABLE "icons/privoxy.ico"
  57. IDI_ANIMATED1 ICON DISCARDABLE "icons/radar-01.ico"
  58. IDI_ANIMATED2 ICON DISCARDABLE "icons/radar-02.ico"
  59. IDI_ANIMATED3 ICON DISCARDABLE "icons/radar-03.ico"
  60. IDI_ANIMATED4 ICON DISCARDABLE "icons/radar-04.ico"
  61. IDI_ANIMATED5 ICON DISCARDABLE "icons/radar-05.ico"
  62. IDI_ANIMATED6 ICON DISCARDABLE "icons/radar-06.ico"
  63. IDI_ANIMATED7 ICON DISCARDABLE "icons/radar-07.ico"
  64. IDI_ANIMATED8 ICON DISCARDABLE "icons/radar-08.ico"
  65. IDI_IDLE ICON DISCARDABLE "icons/privoxy.ico"
  66. IDI_OFF ICON DISCARDABLE "icons/off.ico"
  67. #endif /* Neutral resources */
  68. /****************************************************************************
  69. * English (U.S.) resources
  70. ****************************************************************************/
  71. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  72. #ifdef _WIN32
  73. /* LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US */
  74. #pragma code_page(1252)
  75. #endif /* def _WIN32 */
  76. /*
  77. * File Version
  78. */
  79. #ifndef _MAC
  80. VS_VERSION_INFO VERSIONINFO
  81. FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
  82. PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_POINT,0
  83. FILEFLAGSMASK 0x3fL
  84. #ifdef _DEBUG
  85. FILEFLAGS 0x1L
  86. #else
  87. FILEFLAGS 0x0L
  88. #endif
  89. FILEOS 0x40004L
  90. FILETYPE 0x1L
  91. FILESUBTYPE 0x0L
  92. BEGIN
  93. BLOCK "StringFileInfo"
  94. BEGIN
  95. BLOCK "040904b0"
  96. BEGIN
  97. VALUE "CompanyName", "The Privoxy team - www.privoxy.org\0"
  98. VALUE "FileDescription", "Privoxy\0"
  99. VALUE "FileVersion", VERSION "\0"
  100. VALUE "InternalName", "Privoxy\0"
  101. VALUE "LegalCopyright", "Distributed under the GNU GPL\0"
  102. VALUE "OriginalFilename", "privoxy.exe\0"
  103. VALUE "ProductName", "Privoxy\0"
  104. VALUE "ProductVersion", VERSION "\0"
  105. END
  106. END
  107. BLOCK "VarFileInfo"
  108. BEGIN
  109. VALUE "Translation", 0x409, 1200
  110. END
  111. END
  112. #endif /* ndef _MAC */
  113. /*
  114. * Menus
  115. */
  116. IDR_TRAYMENU MENU DISCARDABLE
  117. BEGIN
  118. POPUP "Popup"
  119. BEGIN
  120. MENUITEM "E&xit Privoxy", ID_FILE_EXIT
  121. MENUITEM SEPARATOR
  122. POPUP "E&dit.."
  123. BEGIN
  124. MENUITEM "&Main Configuration", ID_TOOLS_EDITCONFIG
  125. MENUITEM "&Default Actions", ID_TOOLS_EDITDEFAULTACTIONS
  126. MENUITEM "&User Actions", ID_TOOLS_EDITUSERACTIONS
  127. MENUITEM "Default &Filters", ID_TOOLS_EDITDEFAULTFILTERS
  128. MENUITEM "U&ser Filters", ID_TOOLS_EDITUSERFILTERS
  129. #ifdef FEATURE_TRUST
  130. MENUITEM "&Trust list", ID_TOOLS_EDITTRUST
  131. #endif /* def FEATURE_TRUST */
  132. END
  133. MENUITEM SEPARATOR
  134. #ifdef FEATURE_TOGGLE
  135. MENUITEM "&Enable", ID_TOGGLE_ENABLED, CHECKED
  136. #endif /* def FEATURE_TOGGLE */
  137. MENUITEM "Show Privoxy &Window", ID_TOGGLE_SHOWWINDOW, CHECKED
  138. END
  139. END
  140. IDR_LOGVIEW MENU DISCARDABLE
  141. BEGIN
  142. POPUP "&File"
  143. BEGIN
  144. MENUITEM "E&xit", ID_FILE_EXIT
  145. END
  146. POPUP "&Edit"
  147. BEGIN
  148. MENUITEM "Copy", ID_EDIT_COPY
  149. END
  150. POPUP "&View"
  151. BEGIN
  152. MENUITEM "&Clear Log\tCtrl+D", ID_VIEW_CLEARLOG
  153. MENUITEM SEPARATOR
  154. MENUITEM "&Log Messages", ID_VIEW_LOGMESSAGES, CHECKED
  155. MENUITEM "Message &Highlighting", ID_VIEW_MESSAGEHIGHLIGHTING, CHECKED
  156. MENUITEM "Limit &Buffer Size", ID_VIEW_LIMITBUFFERSIZE, CHECKED
  157. MENUITEM "&Activity Animation", ID_VIEW_ACTIVITYANIMATION, CHECKED
  158. END
  159. POPUP "&Options"
  160. BEGIN
  161. #ifdef FEATURE_TOGGLE
  162. MENUITEM "&Enable", ID_TOGGLE_ENABLED, CHECKED
  163. MENUITEM SEPARATOR
  164. #endif /* def FEATURE_TOGGLE */
  165. MENUITEM "Edit Main &Configuration", ID_TOOLS_EDITCONFIG
  166. MENUITEM "Edit &Default Actions", ID_TOOLS_EDITDEFAULTACTIONS
  167. MENUITEM "Edit &User Actions", ID_TOOLS_EDITUSERACTIONS
  168. MENUITEM "Edit Default &Filters", ID_TOOLS_EDITDEFAULTFILTERS
  169. MENUITEM "Edit U&ser Filters", ID_TOOLS_EDITUSERFILTERS
  170. #ifdef FEATURE_TRUST
  171. MENUITEM "Edit &Trust list", ID_TOOLS_EDITTRUST
  172. #endif /* def FEATURE_TRUST */
  173. END
  174. POPUP "&Help"
  175. BEGIN
  176. MENUITEM "Privoxy &FAQ", ID_HELP_FAQ
  177. MENUITEM "Privoxy &Manual", ID_HELP_MANUAL
  178. MENUITEM "GNU &General Public Licence", ID_HELP_GPL
  179. MENUITEM SEPARATOR
  180. MENUITEM "Privoxy Status...", ID_HELP_STATUS
  181. MENUITEM SEPARATOR
  182. MENUITEM "About Privoxy...", ID_HELP_ABOUT
  183. END
  184. END
  185. IDR_POPUP_SELECTION MENU DISCARDABLE
  186. BEGIN
  187. POPUP "Popup"
  188. BEGIN
  189. MENUITEM "&Copy", ID_EDIT_COPY
  190. END
  191. END
  192. /*
  193. * Accelerators
  194. */
  195. IDR_ACCELERATOR ACCELERATORS DISCARDABLE
  196. BEGIN
  197. "C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
  198. "D", ID_VIEW_CLEARLOG, VIRTKEY, CONTROL, NOINVERT
  199. END
  200. #endif /* English (U.S.) resources */