From 4ed1832fe776158c0682393ca4794e63ca53962f Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Mon, 31 Jan 2011 18:38:03 +0000 Subject: Implemented preferences window. svn path=/trunk/netsurf/; revision=11565 --- cocoa/res/MainMenu.xib | 19 +- cocoa/res/PreferencesWindow.xib | 531 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 548 insertions(+), 2 deletions(-) create mode 100644 cocoa/res/PreferencesWindow.xib (limited to 'cocoa/res') diff --git a/cocoa/res/MainMenu.xib b/cocoa/res/MainMenu.xib index a87221761..7ca05ec2b 100644 --- a/cocoa/res/MainMenu.xib +++ b/cocoa/res/MainMenu.xib @@ -12,7 +12,7 @@ YES - + YES @@ -1035,6 +1035,14 @@ 844 + + + showPreferences: + + + + 845 + @@ -1872,7 +1880,7 @@ - 844 + 845 @@ -2108,6 +2116,7 @@ YES searchBackward: searchForward: + showPreferences: showSearchWindow: @@ -2115,6 +2124,7 @@ id id id + id @@ -2123,6 +2133,7 @@ YES searchBackward: searchForward: + showPreferences: showSearchWindow: @@ -2135,6 +2146,10 @@ searchForward: id + + showPreferences: + id + showSearchWindow: id diff --git a/cocoa/res/PreferencesWindow.xib b/cocoa/res/PreferencesWindow.xib new file mode 100644 index 000000000..900ad3b6b --- /dev/null +++ b/cocoa/res/PreferencesWindow.xib @@ -0,0 +1,531 @@ + + + + 1060 + 10J567 + 804 + 1038.35 + 462.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 804 + + + YES + + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + YES + + YES + + + YES + + + + YES + + PreferencesWindowController + + + FirstResponder + + + NSApplication + + + 7 + 2 + {{196, 362}, {455, 148}} + 1618477056 + Preferences + NSWindow + + {1.79769e+308, 1.79769e+308} + + + 256 + + YES + + + 268 + {{98, 106}, {337, 22}} + + YES + + -1804468671 + 272630784 + + + LucidaGrande + 13 + 1044 + + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + 3 + MAA + + + + + + + 268 + {{17, 108}, {76, 17}} + + YES + + 68288064 + 272630784 + Homepage: + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + + + + + + 268 + {{293, 70}, {148, 32}} + + YES + + 67239424 + 134217728 + Use current page + + + -2038284033 + 129 + + + 200 + 25 + + + + + 268 + {{96, 38}, {234, 18}} + + YES + + -2080244224 + 0 + Cancel downloads without asking + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + + 268 + {{96, 18}, {241, 18}} + + YES + + -2080244224 + 0 + Close multiple tabs without asking + + + 1211912703 + 2 + + + + + 200 + 25 + + + + {455, 148} + + + {{0, 0}, {1680, 1028}} + {1.79769e+308, 1.79769e+308} + + + YES + + + + + YES + + + window + + + + 3 + + + + value: values.AlwaysCancelDownload + + + + + + value: values.AlwaysCancelDownload + value + values.AlwaysCancelDownload + 2 + + + 21 + + + + value: values.AlwaysCloseMultipleTabs + + + + + + value: values.AlwaysCloseMultipleTabs + value + values.AlwaysCloseMultipleTabs + 2 + + + 22 + + + + useCurrentPageAsHomepage: + + + + 23 + + + + value: homepageURL + + + + + + value: homepageURL + value + homepageURL + 2 + + + 25 + + + + + YES + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 2 + + + YES + + + + + + + + + + 9 + + + YES + + + + + + 10 + + + + + 11 + + + YES + + + + + + 12 + + + + + 13 + + + YES + + + + + + 14 + + + + + 15 + + + YES + + + + + + 16 + + + + + 17 + + + YES + + + + + + 18 + + + + + 19 + + + + + + + YES + + YES + 1.IBEditorWindowLastContentRect + 1.IBPluginDependency + 1.IBWindowTemplateEditedContentRect + 1.NSWindowTemplate.visibleAtLaunch + 1.WindowOrigin + 1.editorWindowContentRectSynchronizationRect + 10.IBPluginDependency + 11.IBPluginDependency + 11.IBViewBoundsToFrameTransform + 12.IBPluginDependency + 13.IBPluginDependency + 13.IBViewBoundsToFrameTransform + 14.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 17.IBViewBoundsToFrameTransform + 18.IBPluginDependency + 2.IBPluginDependency + 9.IBPluginDependency + 9.IBViewBoundsToFrameTransform + + + YES + {{222, 133}, {455, 148}} + com.apple.InterfaceBuilder.CocoaPlugin + {{222, 133}, {455, 148}} + + {196, 240} + {{202, 428}, {480, 270}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABCYAAAw2sAAA + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABClgAAw3wAAA + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABCwAAAwggAAA + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABDSQAAw2sAAA + + + + + YES + + + YES + + + + + YES + + + YES + + + + 25 + + + + YES + + NSApplication + + IBProjectSource + PSMTabBarControl/PSMTabDragAssistant.h + + + + NSObject + + IBProjectSource + PSMTabBarControl/PSMTabBarCell.h + + + + NSObject + + IBProjectSource + PSMTabBarControl/PSMTabBarControl.h + + + + PreferencesWindowController + NSWindowController + + useCurrentPageAsHomepage: + id + + + useCurrentPageAsHomepage: + + useCurrentPageAsHomepage: + id + + + + IBProjectSource + PreferencesWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + ../NetSurf.xcodeproj + 3 + + NSSwitch + {15, 15} + + + -- cgit v1.2.3