diff options
Diffstat (limited to 'frontends/windows/res')
51 files changed, 415 insertions, 0 deletions
diff --git a/frontends/windows/res/NetSurf.ico b/frontends/windows/res/NetSurf.ico Binary files differnew file mode 100644 index 000000000..e0c3d01e6 --- /dev/null +++ b/frontends/windows/res/NetSurf.ico diff --git a/frontends/windows/res/adblock.css b/frontends/windows/res/adblock.css new file mode 120000 index 000000000..ff2485622 --- /dev/null +++ b/frontends/windows/res/adblock.css @@ -0,0 +1 @@ +../../../!NetSurf/Resources/AdBlock,f79
\ No newline at end of file diff --git a/frontends/windows/res/banner.bmp b/frontends/windows/res/banner.bmp Binary files differnew file mode 100644 index 000000000..49525f83d --- /dev/null +++ b/frontends/windows/res/banner.bmp diff --git a/frontends/windows/res/ca-bundle.crt b/frontends/windows/res/ca-bundle.crt new file mode 120000 index 000000000..0b0e416ad --- /dev/null +++ b/frontends/windows/res/ca-bundle.crt @@ -0,0 +1 @@ +../../../!NetSurf/Resources/ca-bundle
\ No newline at end of file diff --git a/frontends/windows/res/credits.html b/frontends/windows/res/credits.html new file mode 120000 index 000000000..1ba17392b --- /dev/null +++ b/frontends/windows/res/credits.html @@ -0,0 +1 @@ +../../../!NetSurf/Resources/en/credits.html,faf
\ No newline at end of file diff --git a/frontends/windows/res/default.css b/frontends/windows/res/default.css new file mode 120000 index 000000000..a8579eb7c --- /dev/null +++ b/frontends/windows/res/default.css @@ -0,0 +1 @@ +../../../!NetSurf/Resources/CSS,f79
\ No newline at end of file diff --git a/frontends/windows/res/home.bmp b/frontends/windows/res/home.bmp Binary files differnew file mode 100644 index 000000000..1f595ff4c --- /dev/null +++ b/frontends/windows/res/home.bmp diff --git a/frontends/windows/res/icons/back.png b/frontends/windows/res/icons/back.png Binary files differnew file mode 100644 index 000000000..f219fd807 --- /dev/null +++ b/frontends/windows/res/icons/back.png diff --git a/frontends/windows/res/icons/back_g.png b/frontends/windows/res/icons/back_g.png Binary files differnew file mode 100644 index 000000000..0796bbbbf --- /dev/null +++ b/frontends/windows/res/icons/back_g.png diff --git a/frontends/windows/res/icons/back_h.png b/frontends/windows/res/icons/back_h.png Binary files differnew file mode 100644 index 000000000..35e31386a --- /dev/null +++ b/frontends/windows/res/icons/back_h.png diff --git a/frontends/windows/res/icons/forward.png b/frontends/windows/res/icons/forward.png Binary files differnew file mode 100644 index 000000000..f20c0cdf5 --- /dev/null +++ b/frontends/windows/res/icons/forward.png diff --git a/frontends/windows/res/icons/forward_g.png b/frontends/windows/res/icons/forward_g.png Binary files differnew file mode 100644 index 000000000..d847543f3 --- /dev/null +++ b/frontends/windows/res/icons/forward_g.png diff --git a/frontends/windows/res/icons/forward_h.png b/frontends/windows/res/icons/forward_h.png Binary files differnew file mode 100644 index 000000000..90c0fe2c7 --- /dev/null +++ b/frontends/windows/res/icons/forward_h.png diff --git a/frontends/windows/res/icons/home.png b/frontends/windows/res/icons/home.png Binary files differnew file mode 100644 index 000000000..604796025 --- /dev/null +++ b/frontends/windows/res/icons/home.png diff --git a/frontends/windows/res/icons/home_g.png b/frontends/windows/res/icons/home_g.png Binary files differnew file mode 100644 index 000000000..a644b0b03 --- /dev/null +++ b/frontends/windows/res/icons/home_g.png diff --git a/frontends/windows/res/icons/home_h.png b/frontends/windows/res/icons/home_h.png Binary files differnew file mode 100644 index 000000000..2d6be5f34 --- /dev/null +++ b/frontends/windows/res/icons/home_h.png diff --git a/frontends/windows/res/icons/reload.png b/frontends/windows/res/icons/reload.png Binary files differnew file mode 100644 index 000000000..a81f650b0 --- /dev/null +++ b/frontends/windows/res/icons/reload.png diff --git a/frontends/windows/res/icons/reload_g.png b/frontends/windows/res/icons/reload_g.png Binary files differnew file mode 100644 index 000000000..5251f206c --- /dev/null +++ b/frontends/windows/res/icons/reload_g.png diff --git a/frontends/windows/res/icons/reload_h.png b/frontends/windows/res/icons/reload_h.png Binary files differnew file mode 100644 index 000000000..76e554e49 --- /dev/null +++ b/frontends/windows/res/icons/reload_h.png diff --git a/frontends/windows/res/icons/stop.png b/frontends/windows/res/icons/stop.png Binary files differnew file mode 100644 index 000000000..df64c5747 --- /dev/null +++ b/frontends/windows/res/icons/stop.png diff --git a/frontends/windows/res/icons/stop_g.png b/frontends/windows/res/icons/stop_g.png Binary files differnew file mode 100644 index 000000000..a2efa9e3d --- /dev/null +++ b/frontends/windows/res/icons/stop_g.png diff --git a/frontends/windows/res/icons/stop_h.png b/frontends/windows/res/icons/stop_h.png Binary files differnew file mode 100644 index 000000000..3c3377cdf --- /dev/null +++ b/frontends/windows/res/icons/stop_h.png diff --git a/frontends/windows/res/installer.nsi b/frontends/windows/res/installer.nsi new file mode 100644 index 000000000..0c733db2e --- /dev/null +++ b/frontends/windows/res/installer.nsi @@ -0,0 +1,141 @@ +# This installs NetSurf execuatables and resources, creates a start menu shortcut, builds an uninstaller, and +# adds uninstall information to the registry for Add/Remove Programs + +# show up in a few places. +# All the other settings can be tweaked by editing the !defines at the top of this script +!define APPNAME "NetSurf" +!define COMPANYNAME "NetSurf" +!define DESCRIPTION "Web Browser" +# These three must be integers +!define VERSIONMAJOR 3 +!define VERSIONMINOR 6 +!define VERSIONBUILD 1 +# These will be displayed by the "Click here for support information" link in "Add/Remove Programs" +# It is possible to use "mailto:" links in here to open the email client +!define HELPURL "http://www.netsurf-browser.org/" # "Support Information" link +!define UPDATEURL "http://www.netsurf-browser.org/" # "Product Updates" link +!define ABOUTURL "http://www.netsurf-browser.org/" # "Publisher" link +# This is the size (in kB) of all the files copied into "Program Files" +!define INSTALLSIZE 9000 + +RequestExecutionLevel admin ;Require admin rights on NT6+ (When UAC is turned on) + +InstallDir "$PROGRAMFILES\${COMPANYNAME}\${APPNAME}" + +# rtf or txt file - remember if it is txt, it must be in the DOS text format (\r\n) +LicenseData "COPYING" +# This will be in the installer/uninstaller's title bar +Name "${COMPANYNAME} - ${APPNAME}" +Icon "frontends\windows\res\NetSurf.ico" +outFile "netsurf-installer.exe" +BrandingText "${COMPANYNAME}" + +!include LogicLib.nsh + +# Just three pages - license agreement, install location, and installation +page license +page directory +Page instfiles + +!macro VerifyUserIsAdmin +UserInfo::GetAccountType +pop $0 +${If} $0 != "admin" ;Require admin rights on NT4+ + messageBox mb_iconstop "Administrator rights required!" + setErrorLevel 740 ;ERROR_ELEVATION_REQUIRED + quit +${EndIf} +!macroend + +function .onInit + setShellVarContext all + !insertmacro VerifyUserIsAdmin +functionEnd + +section "install" + # Files for the install directory - to build the installer, these should be in the same directory as the install script (this file) + setOutPath $INSTDIR + # Files added here should be removed by the uninstaller (see section "uninstall") + file "NetSurf.exe" + file /oname=NetSurf.ico "frontends\windows\res\NetSurf.ico" + file /oname=default.css "frontends\windows\res\default.css" + file /oname=internal.css "frontends\windows\res\internal.css" + file /oname=adblock.css "frontends\windows\res\adblock.css" + file /oname=welcome.html "frontends\windows\res\welcome.html" + file /oname=credits.html "frontends\windows\res\credits.html" + file /oname=licence.html "frontends\windows\res\licence.html" + file /oname=netsurf.png "frontends\windows\res\netsurf.png" + file /oname=messages "build-Linux-windows\messages" + file /oname=ca-bundle.crt "frontends\windows\res\ca-bundle.crt" + # Add any other files for the install directory (license files, app data, etc) here + + # Uninstaller - See function un.onInit and section "uninstall" for configuration + writeUninstaller "$INSTDIR\uninstall.exe" + + # Start Menu + createDirectory "$SMPROGRAMS\${COMPANYNAME}" + createShortCut "$SMPROGRAMS\${COMPANYNAME}\${APPNAME}.lnk" "$INSTDIR\NetSurf.exe" "" "$INSTDIR\NetSurf.ico" + + # Registry information for add/remove programs + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "DisplayName" "${COMPANYNAME} - ${APPNAME} - ${DESCRIPTION}" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "UninstallString" "$\"$INSTDIR\uninstall.exe$\"" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" /S" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "InstallLocation" "$\"$INSTDIR$\"" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "DisplayIcon" "$\"$INSTDIR\NetSurf.ico$\"" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "Publisher" "$\"${COMPANYNAME}$\"" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "HelpLink" "$\"${HELPURL}$\"" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "URLUpdateInfo" "$\"${UPDATEURL}$\"" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "URLInfoAbout" "$\"${ABOUTURL}$\"" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "DisplayVersion" "$\"${VERSIONMAJOR}.${VERSIONMINOR}.${VERSIONBUILD}$\"" + WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "VersionMajor" ${VERSIONMAJOR} + WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "VersionMinor" ${VERSIONMINOR} + # There is no option for modifying or repairing the install + WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "NoModify" 1 + WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "NoRepair" 1 + # Set the INSTALLSIZE constant (!defined at the top of this script) so Add/Remove Programs can accurately report the size + WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "EstimatedSize" ${INSTALLSIZE} +sectionEnd + +# Uninstaller + +function un.onInit + SetShellVarContext all + + #Verify the uninstaller - last chance to back out + MessageBox MB_OKCANCEL "Permanantly remove ${APPNAME}?" IDOK next + Abort + next: + !insertmacro VerifyUserIsAdmin +functionEnd + +section "uninstall" + + # Remove Start Menu launcher + delete "$SMPROGRAMS\${COMPANYNAME}\${APPNAME}.lnk" + # Try to remove the Start Menu folder - this will only happen if it is empty + rmDir "$SMPROGRAMS\${COMPANYNAME}" + + # Remove files + delete $INSTDIR\NetSurf.exe + delete $INSTDIR\NetSurf.ico + delete $INSTDIR\libcares-2.dll + delete $INSTDIR\libgnurx-0.dll + delete $INSTDIR\default.css + delete $INSTDIR\internal.css + delete $INSTDIR\adblock.css + delete $INSTDIR\welcome.html + delete $INSTDIR\credits.html + delete $INSTDIR\licence.html + delete $INSTDIR\netsurf.png + delete $INSTDIR\messages + delete $INSTDIR\ca-bundle.crt + + # Always delete uninstaller as the last action + delete $INSTDIR\uninstall.exe + + # Try to remove the install directory - this will only happen if it is empty + rmDir $INSTDIR + + # Remove uninstaller information from the registry + DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" +sectionEnd diff --git a/frontends/windows/res/internal.css b/frontends/windows/res/internal.css new file mode 120000 index 000000000..17f9f1504 --- /dev/null +++ b/frontends/windows/res/internal.css @@ -0,0 +1 @@ +../../../!NetSurf/Resources/internal.css,f79
\ No newline at end of file diff --git a/frontends/windows/res/licence.html b/frontends/windows/res/licence.html new file mode 120000 index 000000000..147dd6db2 --- /dev/null +++ b/frontends/windows/res/licence.html @@ -0,0 +1 @@ +../../../!NetSurf/Resources/en/licence.html,faf
\ No newline at end of file diff --git a/frontends/windows/res/netsurf.gif b/frontends/windows/res/netsurf.gif Binary files differnew file mode 100644 index 000000000..f4ee3aa15 --- /dev/null +++ b/frontends/windows/res/netsurf.gif diff --git a/frontends/windows/res/netsurf.png b/frontends/windows/res/netsurf.png new file mode 120000 index 000000000..905512c25 --- /dev/null +++ b/frontends/windows/res/netsurf.png @@ -0,0 +1 @@ +../../../!NetSurf/Resources/netsurf.png,b60
\ No newline at end of file diff --git a/frontends/windows/res/quirks.css b/frontends/windows/res/quirks.css new file mode 120000 index 000000000..88aabe48c --- /dev/null +++ b/frontends/windows/res/quirks.css @@ -0,0 +1 @@ +../../../!NetSurf/Resources/Quirks,f79
\ No newline at end of file diff --git a/frontends/windows/res/resource.rc b/frontends/windows/res/resource.rc new file mode 100644 index 000000000..b83205f6a --- /dev/null +++ b/frontends/windows/res/resource.rc @@ -0,0 +1,265 @@ +#include <windows.h>
+#include <commctrl.h>
+#include <richedit.h>
+
+#include "../resourceid.h"
+
+
+IDR_NETSURF_ICON ICON DISCARDABLE "NetSurf.ico"
+IDR_TOOLBAR_BITMAP BITMAP DISCARDABLE "toolbar.bmp"
+IDR_TOOLBAR_BITMAP_GREY BITMAP DISCARDABLE "toolbarg.bmp"
+IDR_TOOLBAR_BITMAP_HOT BITMAP DISCARDABLE "toolbarh.bmp"
+IDR_NETSURF_BANNER BITMAP DISCARDABLE "banner.bmp"
+IDR_HOME_BITMAP BITMAP DISCARDABLE "home.bmp"
+
+IDR_THROBBER_FRAME0_BITMAP BITMAP DISCARDABLE "throbber/throbber0.bmp"
+IDR_THROBBER_FRAME1_BITMAP BITMAP DISCARDABLE "throbber/throbber1.bmp"
+IDR_THROBBER_FRAME2_BITMAP BITMAP DISCARDABLE "throbber/throbber2.bmp"
+IDR_THROBBER_FRAME3_BITMAP BITMAP DISCARDABLE "throbber/throbber3.bmp"
+IDR_THROBBER_FRAME4_BITMAP BITMAP DISCARDABLE "throbber/throbber4.bmp"
+IDR_THROBBER_FRAME5_BITMAP BITMAP DISCARDABLE "throbber/throbber5.bmp"
+IDR_THROBBER_FRAME6_BITMAP BITMAP DISCARDABLE "throbber/throbber6.bmp"
+IDR_THROBBER_FRAME7_BITMAP BITMAP DISCARDABLE "throbber/throbber7.bmp"
+
+IDR_MENU_MAIN MENU
+BEGIN
+ POPUP "&File"
+ BEGIN
+ MENUITEM "&New Window",IDM_FILE_OPEN_WINDOW
+ MENUITEM "Open &Location",IDM_FILE_OPEN_LOCATION
+ MENUITEM "&Close",IDM_FILE_CLOSE_WINDOW
+ MENUITEM SEPARATOR
+ MENUITEM "&Save Page",IDM_FILE_SAVE_PAGE,GRAYED,HELP
+ POPUP "Save Page &As"
+ BEGIN
+ MENUITEM "Text",IDM_FILE_SAVEAS_TEXT,GRAYED
+ MENUITEM "PDF",IDM_FILE_SAVEAS_PDF,GRAYED
+ MENUITEM "Postscript",IDM_FILE_SAVEAS_POSTSCRIPT,GRAYED
+ END
+ MENUITEM SEPARATOR
+ MENUITEM "Print Pre&view",IDM_FILE_PRINT_PREVIEW
+ MENUITEM "&Print",IDM_FILE_PRINT
+ MENUITEM SEPARATOR
+ MENUITEM "E&xit",IDM_FILE_QUIT
+ END
+ POPUP "&Edit"
+ BEGIN
+ MENUITEM "Cu&t",IDM_EDIT_CUT
+ MENUITEM "&Copy",IDM_EDIT_COPY
+ MENUITEM "&Paste",IDM_EDIT_PASTE
+ MENUITEM "&Delete",IDM_EDIT_DELETE
+ MENUITEM SEPARATOR
+ MENUITEM "Select &All",IDM_EDIT_SELECT_ALL
+ MENUITEM SEPARATOR
+ MENUITEM "&Find",IDM_EDIT_SEARCH
+ END
+ POPUP "&View"
+ BEGIN
+ MENUITEM "Stop",IDM_NAV_STOP
+ MENUITEM "Reload",IDM_NAV_RELOAD
+ MENUITEM SEPARATOR
+ POPUP "&Zoom"
+ BEGIN
+ MENUITEM "Zoom &In",IDM_VIEW_ZOOMPLUS
+ MENUITEM "Zoom &Out",IDM_VIEW_ZOOMMINUS
+ MENUITEM "&Reset",IDM_VIEW_ZOOMNORMAL
+ END
+ MENUITEM SEPARATOR
+ MENUITEM "Page S&ource",IDM_VIEW_SOURCE
+ MENUITEM "&Full Screen",IDM_VIEW_FULLSCREEN
+ END
+ POPUP "&History"
+ BEGIN
+ MENUITEM "Back",IDM_NAV_BACK
+ MENUITEM "Forward",IDM_NAV_FORWARD
+ MENUITEM "Home",IDM_NAV_HOME
+ MENUITEM SEPARATOR
+ MENUITEM "Local History",IDM_NAV_LOCALHISTORY
+ MENUITEM "Global History",IDM_NAV_GLOBALHISTORY,GRAYED
+ END
+ POPUP "&Tools"
+ BEGIN
+ MENUITEM "&Downloads",IDM_VIEW_DOWNLOADS
+ MENUITEM "Save size and location",IDM_VIEW_SAVE_WIN_METRICS
+ POPUP "Debugging"
+ BEGIN
+ MENUITEM "Debug rendering",IDM_VIEW_TOGGLE_DEBUG_RENDERING
+ MENUITEM "Save Box Tree",IDM_VIEW_DEBUGGING_SAVE_BOXTREE,GRAYED
+ MENUITEM "Save DOM Tree",IDM_VIEW_DEBUGGING_SAVE_DOMTREE,GRAYED
+ END
+ MENUITEM SEPARATOR
+ MENUITEM "Options...",IDM_EDIT_PREFERENCES
+ END
+ POPUP "&Help"
+ BEGIN
+ MENUITEM "&Contents",IDM_HELP_CONTENTS
+ MENUITEM "G&uide",IDM_HELP_GUIDE
+ MENUITEM "&Info",IDM_HELP_INFO
+ MENUITEM SEPARATOR
+ MENUITEM "&About NetSurf",IDM_HELP_ABOUT
+ END
+END
+
+IDR_MENU_CONTEXT MENU
+BEGIN
+ POPUP "Context"
+ BEGIN
+ MENUITEM "&Back",IDM_NAV_BACK
+ MENUITEM "F&orward",IDM_NAV_FORWARD
+ MENUITEM "&Home",IDM_NAV_HOME
+ MENUITEM "&Stop",IDM_NAV_STOP
+ MENUITEM "&Reload",IDM_NAV_RELOAD
+ MENUITEM SEPARATOR
+ MENUITEM "C&ut",IDM_EDIT_CUT,GRAYED
+ MENUITEM "&Copy",IDM_EDIT_COPY,GRAYED
+ MENUITEM "&Paste",IDM_EDIT_PASTE,GRAYED
+ MENUITEM "&Delete",IDM_EDIT_DELETE,GRAYED
+ END
+END
+
+IDD_DLG_ABOUT DIALOGEX 10,10,206,133
+CAPTION "About NetSurf"
+FONT 8,"MS Sans Serif",0,0,0
+STYLE WS_VISIBLE|WS_CAPTION|WS_SYSMENU
+EXSTYLE WS_EX_DLGMODALFRAME
+BEGIN
+ CONTROL IDR_NETSURF_BANNER,IDC_IMG1,"Static",SS_BITMAP|0x40L /*SS_REALSIZECONTROL*/,0,0,205,53
+ CONTROL "NetSurf",IDC_ABOUT_VERSION,"Static",SS_LEFT,10,60,185,16
+ CONTROL "NetSurf is a small fast browser",IDC_ABOUT_TEXT,"Static",SS_LEFT,10,83,185,8
+ CONTROL "Copyright 2003-2011 The NetSurf Developers",IDC_ABOUT_COPYRIGHT,"Static",SS_LEFT,10,96,185,8
+ CONTROL "&OK",IDOK,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,143,111,54,15
+ CONTROL "&Credits",IDC_BTN_CREDITS,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,10,111,54,15
+ CONTROL "&Licence",IDC_BTN_LICENCE,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,70,111,54,15
+END
+
+IDD_DLG_DOWNLOAD DIALOGEX 0,0,201,84
+CAPTION "Download"
+FONT 8,"MS Sans Serif",0,0,0
+STYLE WS_POPUP|WS_VISIBLE|WS_CAPTION|WS_SYSMENU|DS_MODALFRAME|DS_SETFONT
+EXSTYLE WS_EX_DLGMODALFRAME
+BEGIN
+ CONTROL "downloading [file] [size] from [domain] to [destination]",IDC_DOWNLOAD_LABEL,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_CENTER,6,6,189,35
+ CONTROL "progress",IDC_DOWNLOAD_PROGRESS,PROGRESS_CLASS,WS_VISIBLE,6,50,189,10
+ CONTROL "&OK",IDOK,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,141,66,54,15
+ CONTROL "&Cancel",IDCANCEL,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,81,66,54,15
+END
+
+
+IDD_DLG_OPTIONS_GENERAL DIALOGEX 0,0,220,200
+CAPTION "General"
+FONT 8,"MS Shell Dlg"
+STYLE DS_CONTROL|DS_SHELLFONT
+BEGIN
+ /* home page entry */
+ CONTROL "Home Page",IDC_STATIC,"Static",SS_LEFT,7,7,40,8
+ CONTROL "",IDC_STATIC,"Static",SS_ETCHEDFRAME,47,11,166,1
+ CONTROL IDR_HOME_BITMAP,IDC_STATIC,"Static",SS_BITMAP,15,19,24,24
+ CONTROL "",IDC_PREFS_HOMEPAGE,"Edit",WS_TABSTOP|ES_OEMCONVERT|ES_AUTOHSCROLL,43,19,170,14,WS_EX_CLIENTEDGE
+
+
+ /* Content control */
+ CONTROL "Content Control",IDC_STATIC,"Static",SS_LEFT,7,40,60,8
+ CONTROL "",IDC_STATIC,"Static",SS_ETCHEDFRAME,67,44,146,1
+
+ CONTROL "Hide Images",IDC_PREFS_IMAGES,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP|BS_AUTOCHECKBOX,43,52,67,10
+ CONTROL "Hide Advertisements",IDC_PREFS_ADVERTS,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP|BS_AUTOCHECKBOX,43,66,81,10
+ CONTROL "Send referer",IDC_PREFS_REFERER,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP|BS_AUTOCHECKBOX,43,80,55,10
+
+END
+
+IDD_DLG_OPTIONS_CONNECTIONS DIALOGEX 0,0,220,200
+CAPTION "Connections"
+FONT 8,"MS Shell Dlg"
+STYLE DS_CONTROL|DS_SHELLFONT
+BEGIN
+ /* proxy divider */
+ CONTROL "Proxy",IDC_STATIC,"Static",SS_LEFT,7,7,30,8
+ CONTROL "",IDC_STATIC,"Static",SS_ETCHEDFRAME,37,11,176,1
+
+ /* proxy controls */
+ CONTROL "Type:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_LEFT,43,22,40,8
+ CONTROL "",IDC_PREFS_PROXYTYPE,"ComboBox",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP|CBS_DROPDOWNLIST,80,19,60,60
+
+ CONTROL "Server:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_LEFT,43,39,28,8
+ CONTROL "",IDC_PREFS_PROXYHOST,"Edit",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP|ES_OEMCONVERT|ES_AUTOHSCROLL,80,36,80,14,WS_EX_CLIENTEDGE
+
+ CONTROL "Port:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_LEFT,164,39,16,8
+ CONTROL "",IDC_PREFS_PROXYPORT,"Edit",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP|ES_OEMCONVERT|ES_AUTOHSCROLL,182,36,24,14,WS_EX_CLIENTEDGE
+
+ CONTROL "Username:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_LEFT,43,60,35,8
+ CONTROL "",IDC_PREFS_PROXYNAME,"Edit",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP|ES_OEMCONVERT|ES_AUTOHSCROLL,80,57,45,14,WS_EX_CLIENTEDGE
+
+ CONTROL "Password:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_LEFT,132,60,34,8
+ CONTROL "",IDC_PREFS_PROXYPASS,"Edit",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP|ES_OEMCONVERT|ES_AUTOHSCROLL|ES_PASSWORD,168,57,45,14,WS_EX_CLIENTEDGE
+
+
+ /* fetcher divider */
+ CONTROL "Fetchers",IDC_STATIC,"Static",SS_LEFT,7,78,40,8
+ CONTROL "",IDC_STATIC,"Static",SS_ETCHEDFRAME,42,82,171,1
+
+ /* max fetchers */
+ CONTROL "Max Fetchers:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP,43,96,64,8
+ CONTROL "",IDC_PREFS_FETCHERS,"Edit",ES_NUMBER|ES_RIGHT|WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP|WS_BORDER,111,93,30,14
+ CONTROL "Max Fetchers",IDC_PREFS_FETCHERS_SPIN,UPDOWN_CLASS,UDS_AUTOBUDDY|UDS_ALIGNRIGHT|WS_VISIBLE,341,122,11,15
+
+ /* fetchers per host */
+ CONTROL "Fetches per host:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP,43,118,64,8
+ CONTROL "",IDC_PREFS_FETCH_HOST,"Edit",ES_NUMBER|ES_RIGHT|WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP|WS_BORDER,111,114,30,14
+ CONTROL "Fetches per host",IDC_PREFS_FETCH_HOST_SPIN,UPDOWN_CLASS,UDS_AUTOBUDDY|UDS_ALIGNRIGHT|WS_VISIBLE,341,140,11,15
+
+ /* cached fetchers */
+ CONTROL "Cached Fetches:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP,43,138,64,8
+ CONTROL "",IDC_PREFS_FETCH_HANDLES,"Edit",ES_NUMBER|ES_RIGHT|WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP|WS_BORDER,111,135,30,14
+ CONTROL "Cached Fetches",IDC_PREFS_FETCH_HANDLES_SPIN,UPDOWN_CLASS,UDS_AUTOBUDDY|UDS_ALIGNRIGHT|WS_VISIBLE,341,158,11,15
+
+END
+
+IDD_DLG_OPTIONS_APPERANCE DIALOGEX 10,10,220,200
+CAPTION "Apperance"
+FONT 8,"MS Shell Dlg"
+STYLE DS_CONTROL|DS_SHELLFONT
+BEGIN
+ /* proxy separator */
+ CONTROL "Fonts",IDC_STATIC,"Static",SS_LEFT,7,7,20,8
+ CONTROL "",IDC_STATIC,"Static",SS_ETCHEDFRAME,27,11,186,1
+
+ /* font controls */
+ CONTROL "Sans-serif:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_LEFT,43,22,44,8
+ CONTROL "Sans-serif",IDC_PREFS_SANS,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,89,19,50,14
+
+ CONTROL "Serif:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_LEFT,43,40,24,8
+ CONTROL "Serif",IDC_PREFS_SERIF,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,89,37,50,14
+
+ CONTROL "Monospace:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_LEFT,43,58,40,8
+ CONTROL "Monospace",IDC_PREFS_MONO,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,89,55,50,14
+
+ CONTROL "Cursive:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_LEFT,43,76,32,8
+ CONTROL "Cursive",IDC_PREFS_CURSIVE,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,89,73,50,14
+
+ CONTROL "Fantasy:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_LEFT,43,94,32,8
+ CONTROL "Fantasy",IDC_PREFS_FANTASY,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,89,91,50,14
+
+
+ CONTROL "Default:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_LEFT,43,112,38,8
+ CONTROL "",IDC_PREFS_FONTDEF,"ComboBox",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP|CBS_DROPDOWNLIST,89,109,50,60
+
+ CONTROL "Size:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_LEFT,147,112,16,8
+ CONTROL "",IDC_PREFS_FONT_SIZE,"Edit",ES_NUMBER|WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,165,109,35,14,WS_EX_CLIENTEDGE
+ CONTROL "Font Size",IDC_PREFS_FONT_SIZE_SPIN,UPDOWN_CLASS,UDS_AUTOBUDDY|UDS_ALIGNRIGHT|WS_VISIBLE,75,137,11,15
+
+ CONTROL "Minimum Size:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_LEFT,43,130,52,8
+ CONTROL "",IDC_PREFS_FONT_MINSIZE,"Edit",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,97,127,35,14,WS_EX_CLIENTEDGE
+ CONTROL "Minimum Font Size",IDC_PREFS_FONT_MINSIZE_SPIN,UPDOWN_CLASS,UDS_AUTOBUDDY|UDS_ALIGNRIGHT|WS_VISIBLE,76,159,11,15
+
+ /* animation separator */
+ CONTROL "Animation",IDC_STATIC,"Static",SS_LEFT,7,148,36,8
+ CONTROL "",IDC_STATIC,"Static",SS_ETCHEDFRAME,43,152,170,1
+
+ CONTROL "Disable",IDC_PREFS_NOANIMATION,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP|BS_AUTOCHECKBOX,43,163,39,10
+ CONTROL "Minimum delay:",IDC_STATIC,"Static",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|SS_LEFT,55,180,56,8
+ CONTROL "",IDC_PREFS_ANIMATIONDELAY,"Edit",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,113,177,35,14,WS_EX_CLIENTEDGE
+ CONTROL "Min delay",IDC_PREFS_ANIMATIONDELAY_SPIN,UPDOWN_CLASS,UDS_AUTOBUDDY|UDS_ALIGNRIGHT|WS_VISIBLE,43,210,11,15
+
+
+
+END
diff --git a/frontends/windows/res/throbber.avi b/frontends/windows/res/throbber.avi Binary files differnew file mode 100644 index 000000000..cced3a556 --- /dev/null +++ b/frontends/windows/res/throbber.avi diff --git a/frontends/windows/res/throbber/throbber0.bmp b/frontends/windows/res/throbber/throbber0.bmp Binary files differnew file mode 100644 index 000000000..2cef4da70 --- /dev/null +++ b/frontends/windows/res/throbber/throbber0.bmp diff --git a/frontends/windows/res/throbber/throbber0.png b/frontends/windows/res/throbber/throbber0.png Binary files differnew file mode 100755 index 000000000..ad13c5408 --- /dev/null +++ b/frontends/windows/res/throbber/throbber0.png diff --git a/frontends/windows/res/throbber/throbber1.bmp b/frontends/windows/res/throbber/throbber1.bmp Binary files differnew file mode 100644 index 000000000..7c7feb6b2 --- /dev/null +++ b/frontends/windows/res/throbber/throbber1.bmp diff --git a/frontends/windows/res/throbber/throbber1.png b/frontends/windows/res/throbber/throbber1.png Binary files differnew file mode 100755 index 000000000..9e4e575a3 --- /dev/null +++ b/frontends/windows/res/throbber/throbber1.png diff --git a/frontends/windows/res/throbber/throbber2.bmp b/frontends/windows/res/throbber/throbber2.bmp Binary files differnew file mode 100644 index 000000000..7d1d1147a --- /dev/null +++ b/frontends/windows/res/throbber/throbber2.bmp diff --git a/frontends/windows/res/throbber/throbber2.png b/frontends/windows/res/throbber/throbber2.png Binary files differnew file mode 100755 index 000000000..f571f7093 --- /dev/null +++ b/frontends/windows/res/throbber/throbber2.png diff --git a/frontends/windows/res/throbber/throbber3.bmp b/frontends/windows/res/throbber/throbber3.bmp Binary files differnew file mode 100644 index 000000000..1f98b12b0 --- /dev/null +++ b/frontends/windows/res/throbber/throbber3.bmp diff --git a/frontends/windows/res/throbber/throbber3.png b/frontends/windows/res/throbber/throbber3.png Binary files differnew file mode 100755 index 000000000..0bc8b66b5 --- /dev/null +++ b/frontends/windows/res/throbber/throbber3.png diff --git a/frontends/windows/res/throbber/throbber4.bmp b/frontends/windows/res/throbber/throbber4.bmp Binary files differnew file mode 100644 index 000000000..a5ddc00e3 --- /dev/null +++ b/frontends/windows/res/throbber/throbber4.bmp diff --git a/frontends/windows/res/throbber/throbber4.png b/frontends/windows/res/throbber/throbber4.png Binary files differnew file mode 100755 index 000000000..37c9ce842 --- /dev/null +++ b/frontends/windows/res/throbber/throbber4.png diff --git a/frontends/windows/res/throbber/throbber5.bmp b/frontends/windows/res/throbber/throbber5.bmp Binary files differnew file mode 100644 index 000000000..261f8cd13 --- /dev/null +++ b/frontends/windows/res/throbber/throbber5.bmp diff --git a/frontends/windows/res/throbber/throbber5.png b/frontends/windows/res/throbber/throbber5.png Binary files differnew file mode 100755 index 000000000..54f83d224 --- /dev/null +++ b/frontends/windows/res/throbber/throbber5.png diff --git a/frontends/windows/res/throbber/throbber6.bmp b/frontends/windows/res/throbber/throbber6.bmp Binary files differnew file mode 100644 index 000000000..01d3f480d --- /dev/null +++ b/frontends/windows/res/throbber/throbber6.bmp diff --git a/frontends/windows/res/throbber/throbber6.png b/frontends/windows/res/throbber/throbber6.png Binary files differnew file mode 100755 index 000000000..e36e1f872 --- /dev/null +++ b/frontends/windows/res/throbber/throbber6.png diff --git a/frontends/windows/res/throbber/throbber7.bmp b/frontends/windows/res/throbber/throbber7.bmp Binary files differnew file mode 100644 index 000000000..b5421cf0e --- /dev/null +++ b/frontends/windows/res/throbber/throbber7.bmp diff --git a/frontends/windows/res/throbber/throbber7.png b/frontends/windows/res/throbber/throbber7.png Binary files differnew file mode 100755 index 000000000..c6f2628b5 --- /dev/null +++ b/frontends/windows/res/throbber/throbber7.png diff --git a/frontends/windows/res/throbber/throbber8.png b/frontends/windows/res/throbber/throbber8.png Binary files differnew file mode 100755 index 000000000..d29d94414 --- /dev/null +++ b/frontends/windows/res/throbber/throbber8.png diff --git a/frontends/windows/res/toolbar.bmp b/frontends/windows/res/toolbar.bmp Binary files differnew file mode 100644 index 000000000..4087878a6 --- /dev/null +++ b/frontends/windows/res/toolbar.bmp diff --git a/frontends/windows/res/toolbarg.bmp b/frontends/windows/res/toolbarg.bmp Binary files differnew file mode 100644 index 000000000..9a59e8d43 --- /dev/null +++ b/frontends/windows/res/toolbarg.bmp diff --git a/frontends/windows/res/toolbarh.bmp b/frontends/windows/res/toolbarh.bmp Binary files differnew file mode 100644 index 000000000..81e666f03 --- /dev/null +++ b/frontends/windows/res/toolbarh.bmp diff --git a/frontends/windows/res/welcome.html b/frontends/windows/res/welcome.html new file mode 120000 index 000000000..28362130a --- /dev/null +++ b/frontends/windows/res/welcome.html @@ -0,0 +1 @@ +../../../!NetSurf/Resources/en/welcome.html,faf
\ No newline at end of file |