diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2012-03-23 02:47:16 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2012-03-23 02:47:16 -0700 |
commit | 3429c15790d139e94dcadab8f79803fe2e11e89c (patch) | |
tree | c12484a33eb6b55316405bdeb073a12b22df4f2a | |
parent | 13caeba5ba76c9aaf402460555b2aa2c512865e5 (diff) |
Remove experimental subdirectory
This contained student test code which should not be part of
this distributable.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
67 files changed, 0 insertions, 7922 deletions
diff --git a/experimental/bhuddle/DisplayNumberController.h b/experimental/bhuddle/DisplayNumberController.h deleted file mode 100644 index 1fde29f..0000000 --- a/experimental/bhuddle/DisplayNumberController.h +++ /dev/null @@ -1,51 +0,0 @@ - -/*Copyright (C) 2012 Aaron Skomra - - Permission is hereby granted, free of charge, to any person obtaining a copy of - this software and associated documentation files (the "Software"), to deal in - the Software without restriction, including without limitation the rights to - use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies - of the Software, and to permit persons to whom the Software is furnished to do - so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. - */ - -/** - * DisplayNumberController.h - * xtoq - * - * This is the window controller for the user input box to get the - * display number. - */ - -#import <Cocoa/Cocoa.h> - -extern NSString * const DisplayNotification; - -@interface DisplayNumberController : NSWindowController { - IBOutlet NSTextField *displayValueField; - int displayNumber; - id windowId; -} - -/** - * Create the popup for user input - */ -- (IBAction)setDisplayNumber:(id)sender; - -/** - * Return the user input - */ -- (int)getDisplayNumber; - -@end diff --git a/experimental/bhuddle/DisplayNumberController.m b/experimental/bhuddle/DisplayNumberController.m deleted file mode 100644 index 316ea58..0000000 --- a/experimental/bhuddle/DisplayNumberController.m +++ /dev/null @@ -1,69 +0,0 @@ -/** - * DisplayNumberController.m - * xtoq - * - - Copyright (C) 2012 Aaron Skomra - - Permission is hereby granted, free of charge, to any person obtaining a copy of - this software and associated documentation files (the "Software"), to deal in - the Software without restriction, including without limitation the rights to - use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies - of the Software, and to permit persons to whom the Software is furnished to do - so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. - */ - -/** - * AppController.h - * xtoq - * - * This is the controller for the Popup to retreive the display number - * from the user. - * - */ - -#import "DisplayNumberController.h" - -NSString * const DisplayNotification = @"DisplayNotify"; - -@implementation DisplayNumberController - -- (id)init -{ - NSLog(@"DisplayNumberControllerInit"); - if (!( windowId = [super initWithWindowNibName:@"DisplayNumberDialog"])) - return nil; - - return self; -} - -- (void)windowDidLoad -{ - NSLog(@"Nib file is loaded"); - [super windowDidLoad]; -} - -- (IBAction)setDisplayNumber:(id)sender{ - displayNumber = (int) [[displayValueField stringValue] intValue]; - NSLog(@"Display changed %d", displayNumber ); - - //FIXME windowId close doesn't close the Dialog - //[windowId close]; -} - -- (int)getDisplayNumber{ - return displayNumber; -} - -@end diff --git a/experimental/bhuddle/DisplayNumberDialog.xib b/experimental/bhuddle/DisplayNumberDialog.xib deleted file mode 100644 index 77537a5..0000000 --- a/experimental/bhuddle/DisplayNumberDialog.xib +++ /dev/null @@ -1,402 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10"> - <data> - <int key="IBDocument.SystemTarget">1070</int> - <string key="IBDocument.SystemVersion">11C74</string> - <string key="IBDocument.InterfaceBuilderVersion">1938</string> - <string key="IBDocument.AppKitVersion">1138.23</string> - <string key="IBDocument.HIToolboxVersion">567.00</string> - <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> - <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="NS.object.0">1938</string> - </object> - <object class="NSArray" key="IBDocument.IntegratedClassDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>NSTextField</string> - <string>NSTextFieldCell</string> - <string>NSWindowTemplate</string> - <string>NSView</string> - <string>NSNumberFormatter</string> - <string>NSCustomObject</string> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <string key="NS.key.0">PluginDependencyRecalculationVersion</string> - <integer value="1" key="NS.object.0"/> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSCustomObject" id="1001"> - <string key="NSClassName">DisplayNumberController</string> - </object> - <object class="NSCustomObject" id="1003"> - <string key="NSClassName">FirstResponder</string> - </object> - <object class="NSCustomObject" id="1004"> - <string key="NSClassName">NSApplication</string> - </object> - <object class="NSWindowTemplate" id="356210209"> - <int key="NSWindowStyleMask">31</int> - <int key="NSWindowBacking">2</int> - <string key="NSWindowRect">{{139, 81}, {225, 145}}</string> - <int key="NSWTFlags">-1535638528</int> - <string key="NSWindowTitle">Display Entry</string> - <string key="NSWindowClass">NSPanel</string> - <nil key="NSViewClass"/> - <nil key="NSUserInterfaceItemIdentifier"/> - <object class="NSView" key="NSWindowView" id="80218258"> - <reference key="NSNextResponder"/> - <int key="NSvFlags">256</int> - <object class="NSMutableArray" key="NSSubviews"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSTextField" id="103724104"> - <reference key="NSNextResponder" ref="80218258"/> - <int key="NSvFlags">268</int> - <string key="NSFrame">{{17, 100}, {175, 17}}</string> - <reference key="NSSuperview" ref="80218258"/> - <reference key="NSWindow"/> - <reference key="NSNextKeyView" ref="137154499"/> - <string key="NSReuseIdentifierKey">_NS:3944</string> - <bool key="NSEnabled">YES</bool> - <object class="NSTextFieldCell" key="NSCell" id="874082438"> - <int key="NSCellFlags">68288064</int> - <int key="NSCellFlags2">272630784</int> - <string key="NSContents">Enter Display Number:</string> - <object class="NSFont" key="NSSupport" id="553593644"> - <string key="NSName">LucidaGrande</string> - <double key="NSSize">13</double> - <int key="NSfFlags">1044</int> - </object> - <string key="NSCellIdentifier">_NS:3944</string> - <reference key="NSControlView" ref="103724104"/> - <object class="NSColor" key="NSBackgroundColor"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">controlColor</string> - <object class="NSColor" key="NSColor"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes> - </object> - </object> - <object class="NSColor" key="NSTextColor"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">controlTextColor</string> - <object class="NSColor" key="NSColor" id="807716859"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MAA</bytes> - </object> - </object> - </object> - </object> - <object class="NSTextField" id="137154499"> - <reference key="NSNextResponder" ref="80218258"/> - <int key="NSvFlags">268</int> - <string key="NSFrame">{{56, 53}, {96, 22}}</string> - <reference key="NSSuperview" ref="80218258"/> - <reference key="NSWindow"/> - <string key="NSReuseIdentifierKey">_NS:285</string> - <bool key="NSEnabled">YES</bool> - <object class="NSTextFieldCell" key="NSCell" id="23877434"> - <int key="NSCellFlags">-1804468671</int> - <int key="NSCellFlags2">272630784</int> - <reference key="NSSupport" ref="553593644"/> - <object class="NSNumberFormatter" key="NSFormatter" id="940799266"> - <object class="NSMutableDictionary" key="NS.attributes"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>allowsFloats</string> - <string>formatterBehavior</string> - <string>locale</string> - <string>negativeInfinitySymbol</string> - <string>nilSymbol</string> - <string>numberStyle</string> - <string>positiveInfinitySymbol</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <boolean value="YES"/> - <integer value="1040"/> - <object class="NSLocale"> - <string key="NS.identifier"/> - </object> - <string>-∞</string> - <string/> - <integer value="1"/> - <string>+∞</string> - </object> - </object> - <string key="NS.positiveformat">#,##0.###</string> - <string key="NS.negativeformat">#,##0.###</string> - <nil key="NS.positiveattrs"/> - <nil key="NS.negativeattrs"/> - <nil key="NS.zero"/> - <object class="NSAttributedString" key="NS.nil"> - <string key="NSString"/> - </object> - <object class="NSAttributedString" key="NS.nan"> - <string key="NSString">NaN</string> - <object class="NSDictionary" key="NSAttributes"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys" id="0"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="dict.values" ref="0"/> - </object> - </object> - <object class="NSDecimalNumberPlaceholder" key="NS.min" id="649942075"> - <int key="NS.exponent">0</int> - <int key="NS.length">0</int> - <bool key="NS.negative">YES</bool> - <bool key="NS.compact">NO</bool> - <int key="NS.mantissa.bo">1</int> - <bytes key="NS.mantissa">AAAAAAAAAAAAAAAAAAAAAA</bytes> - </object> - <reference key="NS.max" ref="649942075"/> - <object class="NSDecimalNumberHandler" key="NS.rounding"> - <int key="NS.roundingmode">3</int> - <bool key="NS.raise.overflow">YES</bool> - <bool key="NS.raise.underflow">YES</bool> - <bool key="NS.raise.dividebyzero">YES</bool> - </object> - <string key="NS.decimal">.</string> - <string key="NS.thousand">,</string> - <bool key="NS.hasthousands">YES</bool> - <bool key="NS.localized">NO</bool> - <bool key="NS.allowsfloats">YES</bool> - </object> - <string key="NSCellIdentifier">_NS:285</string> - <reference key="NSControlView" ref="137154499"/> - <bool key="NSDrawsBackground">YES</bool> - <object class="NSColor" key="NSBackgroundColor"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">textBackgroundColor</string> - <object class="NSColor" key="NSColor"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MQA</bytes> - </object> - </object> - <object class="NSColor" key="NSTextColor"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">textColor</string> - <reference key="NSColor" ref="807716859"/> - </object> - </object> - </object> - </object> - <string key="NSFrameSize">{225, 145}</string> - <reference key="NSSuperview"/> - <reference key="NSWindow"/> - <reference key="NSNextKeyView" ref="103724104"/> - <string key="NSReuseIdentifierKey">_NS:207</string> - </object> - <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string> - <string key="NSMaxSize">{10000000000000, 10000000000000}</string> - <bool key="NSWindowIsRestorable">YES</bool> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">setDisplayNumber:</string> - <reference key="source" ref="1001"/> - <reference key="destination" ref="137154499"/> - </object> - <int key="connectionID">20</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">displayValueField</string> - <reference key="source" ref="1001"/> - <reference key="destination" ref="137154499"/> - </object> - <int key="connectionID">21</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <reference key="object" ref="0"/> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="1001"/> - <reference key="parent" ref="0"/> - <string key="objectName">File's Owner</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="1003"/> - <reference key="parent" ref="0"/> - <string key="objectName">First Responder</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-3</int> - <reference key="object" ref="1004"/> - <reference key="parent" ref="0"/> - <string key="objectName">Application</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">1</int> - <reference key="object" ref="356210209"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="80218258"/> - </object> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">2</int> - <reference key="object" ref="80218258"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="103724104"/> - <reference ref="137154499"/> - </object> - <reference key="parent" ref="356210209"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">5</int> - <reference key="object" ref="103724104"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="874082438"/> - </object> - <reference key="parent" ref="80218258"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">6</int> - <reference key="object" ref="874082438"/> - <reference key="parent" ref="103724104"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">16</int> - <reference key="object" ref="137154499"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="23877434"/> - </object> - <reference key="parent" ref="80218258"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">17</int> - <reference key="object" ref="23877434"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="940799266"/> - </object> - <reference key="parent" ref="137154499"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">18</int> - <reference key="object" ref="940799266"/> - <reference key="parent" ref="23877434"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.IBPluginDependency</string> - <string>-2.IBPluginDependency</string> - <string>-3.IBPluginDependency</string> - <string>1.IBPluginDependency</string> - <string>1.NSWindowTemplate.visibleAtLaunch</string> - <string>16.IBPluginDependency</string> - <string>17.IBPluginDependency</string> - <string>18.IBNumberFormatterBehaviorMetadataKey</string> - <string>18.IBNumberFormatterLocalizesFormatMetadataKey</string> - <string>18.IBPluginDependency</string> - <string>2.IBPluginDependency</string> - <string>5.IBPluginDependency</string> - <string>6.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <boolean value="YES"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1041"/> - <boolean value="YES"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference key="dict.sortedKeys" ref="0"/> - <reference key="dict.values" ref="0"/> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference key="dict.sortedKeys" ref="0"/> - <reference key="dict.values" ref="0"/> - </object> - <nil key="sourceID"/> - <int key="maxID">21</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">DisplayNumberController</string> - <string key="superclassName">NSWindowController</string> - <object class="NSMutableDictionary" key="actions"> - <string key="NS.key.0">setDisplayNumber:</string> - <string key="NS.object.0">id</string> - </object> - <object class="NSMutableDictionary" key="actionInfosByName"> - <string key="NS.key.0">setDisplayNumber:</string> - <object class="IBActionInfo" key="NS.object.0"> - <string key="name">setDisplayNumber:</string> - <string key="candidateClassName">id</string> - </object> - </object> - <object class="NSMutableDictionary" key="outlets"> - <string key="NS.key.0">displayValueField</string> - <string key="NS.object.0">NSTextField</string> - </object> - <object class="NSMutableDictionary" key="toOneOutletInfosByName"> - <string key="NS.key.0">displayValueField</string> - <object class="IBToOneOutletInfo" key="NS.object.0"> - <string key="name">displayValueField</string> - <string key="candidateClassName">NSTextField</string> - </object> - </object> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">./Classes/DisplayNumberController.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string> - <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies"> - <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string> - <integer value="3000" key="NS.object.0"/> - </object> - <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - </data> -</archive> diff --git a/experimental/bhuddle/Hello./Hello.xcodeproj/project.pbxproj b/experimental/bhuddle/Hello./Hello.xcodeproj/project.pbxproj deleted file mode 100644 index ad025e1..0000000 --- a/experimental/bhuddle/Hello./Hello.xcodeproj/project.pbxproj +++ /dev/null @@ -1,466 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 48295E9C148C9DD500C9D6F9 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 48295E9B148C9DD500C9D6F9 /* Cocoa.framework */; }; - 48295EA6148C9DD500C9D6F9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 48295EA4148C9DD500C9D6F9 /* InfoPlist.strings */; }; - 48295EA8148C9DD500C9D6F9 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 48295EA7148C9DD500C9D6F9 /* main.m */; }; - 48295EAC148C9DD500C9D6F9 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 48295EAA148C9DD500C9D6F9 /* Credits.rtf */; }; - 48295EAF148C9DD500C9D6F9 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 48295EAE148C9DD500C9D6F9 /* AppDelegate.m */; }; - 48295EB2148C9DD500C9D6F9 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 48295EB0148C9DD500C9D6F9 /* MainMenu.xib */; }; - 48295EBA148C9DD600C9D6F9 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 48295EB9148C9DD600C9D6F9 /* SenTestingKit.framework */; }; - 48295EBB148C9DD600C9D6F9 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 48295E9B148C9DD500C9D6F9 /* Cocoa.framework */; }; - 48295EC3148C9DD600C9D6F9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 48295EC1148C9DD600C9D6F9 /* InfoPlist.strings */; }; - 48295EC6148C9DD600C9D6F9 /* HelloTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 48295EC5148C9DD600C9D6F9 /* HelloTests.m */; }; - E1C9480314CE19C40046E714 /* Mac-Logo.jpg in Resources */ = {isa = PBXBuildFile; fileRef = E1C9480114CE19C40046E714 /* Mac-Logo.jpg */; }; - E1C9480414CE19C40046E714 /* Mac-Logo2.jpg in Resources */ = {isa = PBXBuildFile; fileRef = E1C9480214CE19C40046E714 /* Mac-Logo2.jpg */; }; - E1DEF12614C22AC90014C189 /* HelloView.m in Sources */ = {isa = PBXBuildFile; fileRef = E1DEF12514C22AC90014C189 /* HelloView.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 48295EBC148C9DD600C9D6F9 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 48295E8E148C9DD500C9D6F9 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 48295E96148C9DD500C9D6F9; - remoteInfo = Hello; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 48295E97148C9DD500C9D6F9 /* Hello.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Hello.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 48295E9B148C9DD500C9D6F9 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; - 48295E9E148C9DD500C9D6F9 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; - 48295E9F148C9DD500C9D6F9 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; - 48295EA0148C9DD500C9D6F9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - 48295EA3148C9DD500C9D6F9 /* Hello-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Hello-Info.plist"; sourceTree = "<group>"; }; - 48295EA5148C9DD500C9D6F9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; - 48295EA7148C9DD500C9D6F9 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; - 48295EA9148C9DD500C9D6F9 /* Hello-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Hello-Prefix.pch"; sourceTree = "<group>"; }; - 48295EAB148C9DD500C9D6F9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; }; - 48295EAD148C9DD500C9D6F9 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; - 48295EAE148C9DD500C9D6F9 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; }; - 48295EB1148C9DD500C9D6F9 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; }; - 48295EB8148C9DD600C9D6F9 /* HelloTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HelloTests.octest; sourceTree = BUILT_PRODUCTS_DIR; }; - 48295EB9148C9DD600C9D6F9 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; - 48295EC0148C9DD600C9D6F9 /* HelloTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "HelloTests-Info.plist"; sourceTree = "<group>"; }; - 48295EC2148C9DD600C9D6F9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; - 48295EC4148C9DD600C9D6F9 /* HelloTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HelloTests.h; sourceTree = "<group>"; }; - 48295EC5148C9DD600C9D6F9 /* HelloTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HelloTests.m; sourceTree = "<group>"; }; - E1C9480114CE19C40046E714 /* Mac-Logo.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = "Mac-Logo.jpg"; path = "Resources/Mac-Logo.jpg"; sourceTree = SOURCE_ROOT; }; - E1C9480214CE19C40046E714 /* Mac-Logo2.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = "Mac-Logo2.jpg"; path = "Resources/Mac-Logo2.jpg"; sourceTree = SOURCE_ROOT; }; - E1DEF12414C22AC90014C189 /* HelloView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HelloView.h; sourceTree = "<group>"; }; - E1DEF12514C22AC90014C189 /* HelloView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HelloView.m; sourceTree = "<group>"; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 48295E94148C9DD500C9D6F9 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 48295E9C148C9DD500C9D6F9 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 48295EB4148C9DD600C9D6F9 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 48295EBA148C9DD600C9D6F9 /* SenTestingKit.framework in Frameworks */, - 48295EBB148C9DD600C9D6F9 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 48295E8C148C9DD500C9D6F9 = { - isa = PBXGroup; - children = ( - 48295EA1148C9DD500C9D6F9 /* Hello */, - 48295EBE148C9DD600C9D6F9 /* HelloTests */, - 48295E9A148C9DD500C9D6F9 /* Frameworks */, - 48295E98148C9DD500C9D6F9 /* Products */, - ); - sourceTree = "<group>"; - }; - 48295E98148C9DD500C9D6F9 /* Products */ = { - isa = PBXGroup; - children = ( - 48295E97148C9DD500C9D6F9 /* Hello.app */, - 48295EB8148C9DD600C9D6F9 /* HelloTests.octest */, - ); - name = Products; - sourceTree = "<group>"; - }; - 48295E9A148C9DD500C9D6F9 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 48295E9B148C9DD500C9D6F9 /* Cocoa.framework */, - 48295EB9148C9DD600C9D6F9 /* SenTestingKit.framework */, - 48295E9D148C9DD500C9D6F9 /* Other Frameworks */, - ); - name = Frameworks; - sourceTree = "<group>"; - }; - 48295E9D148C9DD500C9D6F9 /* Other Frameworks */ = { - isa = PBXGroup; - children = ( - 48295E9E148C9DD500C9D6F9 /* AppKit.framework */, - 48295E9F148C9DD500C9D6F9 /* CoreData.framework */, - 48295EA0148C9DD500C9D6F9 /* Foundation.framework */, - ); - name = "Other Frameworks"; - sourceTree = "<group>"; - }; - 48295EA1148C9DD500C9D6F9 /* Hello */ = { - isa = PBXGroup; - children = ( - E1DEF12414C22AC90014C189 /* HelloView.h */, - E1DEF12514C22AC90014C189 /* HelloView.m */, - 48295EAD148C9DD500C9D6F9 /* AppDelegate.h */, - 48295EAE148C9DD500C9D6F9 /* AppDelegate.m */, - 48295EB0148C9DD500C9D6F9 /* MainMenu.xib */, - 48295EA2148C9DD500C9D6F9 /* Supporting Files */, - ); - path = Hello; - sourceTree = "<group>"; - }; - 48295EA2148C9DD500C9D6F9 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E1C9480114CE19C40046E714 /* Mac-Logo.jpg */, - E1C9480214CE19C40046E714 /* Mac-Logo2.jpg */, - 48295EA3148C9DD500C9D6F9 /* Hello-Info.plist */, - 48295EA4148C9DD500C9D6F9 /* InfoPlist.strings */, - 48295EA7148C9DD500C9D6F9 /* main.m */, - 48295EA9148C9DD500C9D6F9 /* Hello-Prefix.pch */, - 48295EAA148C9DD500C9D6F9 /* Credits.rtf */, - ); - name = "Supporting Files"; - sourceTree = "<group>"; - }; - 48295EBE148C9DD600C9D6F9 /* HelloTests */ = { - isa = PBXGroup; - children = ( - 48295EC4148C9DD600C9D6F9 /* HelloTests.h */, - 48295EC5148C9DD600C9D6F9 /* HelloTests.m */, - 48295EBF148C9DD600C9D6F9 /* Supporting Files */, - ); - path = HelloTests; - sourceTree = "<group>"; - }; - 48295EBF148C9DD600C9D6F9 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 48295EC0148C9DD600C9D6F9 /* HelloTests-Info.plist */, - 48295EC1148C9DD600C9D6F9 /* InfoPlist.strings */, - ); - name = "Supporting Files"; - sourceTree = "<group>"; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 48295E96148C9DD500C9D6F9 /* Hello */ = { - isa = PBXNativeTarget; - buildConfigurationList = 48295EC9148C9DD600C9D6F9 /* Build configuration list for PBXNativeTarget "Hello" */; - buildPhases = ( - 48295E93148C9DD500C9D6F9 /* Sources */, - 48295E94148C9DD500C9D6F9 /* Frameworks */, - 48295E95148C9DD500C9D6F9 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Hello; - productName = Hello; - productReference = 48295E97148C9DD500C9D6F9 /* Hello.app */; - productType = "com.apple.product-type.application"; - }; - 48295EB7148C9DD600C9D6F9 /* HelloTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 48295ECC148C9DD600C9D6F9 /* Build configuration list for PBXNativeTarget "HelloTests" */; - buildPhases = ( - 48295EB3148C9DD600C9D6F9 /* Sources */, - 48295EB4148C9DD600C9D6F9 /* Frameworks */, - 48295EB5148C9DD600C9D6F9 /* Resources */, - 48295EB6148C9DD600C9D6F9 /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - 48295EBD148C9DD600C9D6F9 /* PBXTargetDependency */, - ); - name = HelloTests; - productName = HelloTests; - productReference = 48295EB8148C9DD600C9D6F9 /* HelloTests.octest */; - productType = "com.apple.product-type.bundle"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 48295E8E148C9DD500C9D6F9 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0420; - }; - buildConfigurationList = 48295E91148C9DD500C9D6F9 /* Build configuration list for PBXProject "Hello" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 48295E8C148C9DD500C9D6F9; - productRefGroup = 48295E98148C9DD500C9D6F9 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 48295E96148C9DD500C9D6F9 /* Hello */, - 48295EB7148C9DD600C9D6F9 /* HelloTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 48295E95148C9DD500C9D6F9 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 48295EA6148C9DD500C9D6F9 /* InfoPlist.strings in Resources */, - 48295EAC148C9DD500C9D6F9 /* Credits.rtf in Resources */, - 48295EB2148C9DD500C9D6F9 /* MainMenu.xib in Resources */, - E1C9480314CE19C40046E714 /* Mac-Logo.jpg in Resources */, - E1C9480414CE19C40046E714 /* Mac-Logo2.jpg in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 48295EB5148C9DD600C9D6F9 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 48295EC3148C9DD600C9D6F9 /* InfoPlist.strings in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 48295EB6148C9DD600C9D6F9 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 48295E93148C9DD500C9D6F9 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 48295EA8148C9DD500C9D6F9 /* main.m in Sources */, - 48295EAF148C9DD500C9D6F9 /* AppDelegate.m in Sources */, - E1DEF12614C22AC90014C189 /* HelloView.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 48295EB3148C9DD600C9D6F9 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 48295EC6148C9DD600C9D6F9 /* HelloTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 48295EBD148C9DD600C9D6F9 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 48295E96148C9DD500C9D6F9 /* Hello */; - targetProxy = 48295EBC148C9DD600C9D6F9 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 48295EA4148C9DD500C9D6F9 /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - 48295EA5148C9DD500C9D6F9 /* en */, - ); - name = InfoPlist.strings; - sourceTree = "<group>"; - }; - 48295EAA148C9DD500C9D6F9 /* Credits.rtf */ = { - isa = PBXVariantGroup; - children = ( - 48295EAB148C9DD500C9D6F9 /* en */, - ); - name = Credits.rtf; - sourceTree = "<group>"; - }; - 48295EB0148C9DD500C9D6F9 /* MainMenu.xib */ = { - isa = PBXVariantGroup; - children = ( - 48295EB1148C9DD500C9D6F9 /* en */, - ); - name = MainMenu.xib; - sourceTree = "<group>"; - }; - 48295EC1148C9DD600C9D6F9 /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - 48295EC2148C9DD600C9D6F9 /* en */, - ); - name = InfoPlist.strings; - sourceTree = "<group>"; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 48295EC7148C9DD600C9D6F9 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - CLANG_ENABLE_OBJC_ARC = YES; - COPY_PHASE_STRIP = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - }; - name = Debug; - }; - 48295EC8148C9DD600C9D6F9 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - CLANG_ENABLE_OBJC_ARC = YES; - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; - SDKROOT = macosx; - }; - name = Release; - }; - 48295ECA148C9DD600C9D6F9 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Hello/Hello-Prefix.pch"; - INFOPLIST_FILE = "Hello/Hello-Info.plist"; - PRODUCT_NAME = "$(TARGET_NAME)"; - WRAPPER_EXTENSION = app; - }; - name = Debug; - }; - 48295ECB148C9DD600C9D6F9 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Hello/Hello-Prefix.pch"; - INFOPLIST_FILE = "Hello/Hello-Info.plist"; - PRODUCT_NAME = "$(TARGET_NAME)"; - WRAPPER_EXTENSION = app; - }; - name = Release; - }; - 48295ECD148C9DD600C9D6F9 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Hello.app/Contents/MacOS/Hello"; - FRAMEWORK_SEARCH_PATHS = "$(DEVELOPER_LIBRARY_DIR)/Frameworks"; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Hello/Hello-Prefix.pch"; - INFOPLIST_FILE = "HelloTests/HelloTests-Info.plist"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUNDLE_LOADER)"; - WRAPPER_EXTENSION = octest; - }; - name = Debug; - }; - 48295ECE148C9DD600C9D6F9 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Hello.app/Contents/MacOS/Hello"; - FRAMEWORK_SEARCH_PATHS = "$(DEVELOPER_LIBRARY_DIR)/Frameworks"; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Hello/Hello-Prefix.pch"; - INFOPLIST_FILE = "HelloTests/HelloTests-Info.plist"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUNDLE_LOADER)"; - WRAPPER_EXTENSION = octest; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 48295E91148C9DD500C9D6F9 /* Build configuration list for PBXProject "Hello" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 48295EC7148C9DD600C9D6F9 /* Debug */, - 48295EC8148C9DD600C9D6F9 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 48295EC9148C9DD600C9D6F9 /* Build configuration list for PBXNativeTarget "Hello" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 48295ECA148C9DD600C9D6F9 /* Debug */, - 48295ECB148C9DD600C9D6F9 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 48295ECC148C9DD600C9D6F9 /* Build configuration list for PBXNativeTarget "HelloTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 48295ECD148C9DD600C9D6F9 /* Debug */, - 48295ECE148C9DD600C9D6F9 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 48295E8E148C9DD500C9D6F9 /* Project object */; -} diff --git a/experimental/bhuddle/Hello./Hello.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/experimental/bhuddle/Hello./Hello.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 6f82f67..0000000 --- a/experimental/bhuddle/Hello./Hello.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Workspace - version = "1.0"> - <FileRef - location = "self:Hello.xcodeproj"> - </FileRef> -</Workspace> diff --git a/experimental/bhuddle/Hello./Hello.xcodeproj/project.xcworkspace/xcuserdata/aas.xcuserdatad/UserInterfaceState.xcuserstate b/experimental/bhuddle/Hello./Hello.xcodeproj/project.xcworkspace/xcuserdata/aas.xcuserdatad/UserInterfaceState.xcuserstate Binary files differdeleted file mode 100644 index dfda57a..0000000 --- a/experimental/bhuddle/Hello./Hello.xcodeproj/project.xcworkspace/xcuserdata/aas.xcuserdatad/UserInterfaceState.xcuserstate +++ /dev/null diff --git a/experimental/bhuddle/Hello./Hello.xcodeproj/xcuserdata/aas.xcuserdatad/xcschemes/Hello.xcscheme b/experimental/bhuddle/Hello./Hello.xcodeproj/xcuserdata/aas.xcuserdatad/xcschemes/Hello.xcscheme deleted file mode 100644 index afd62ee..0000000 --- a/experimental/bhuddle/Hello./Hello.xcodeproj/xcuserdata/aas.xcuserdatad/xcschemes/Hello.xcscheme +++ /dev/null @@ -1,94 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Scheme - version = "1.3"> - <BuildAction - parallelizeBuildables = "YES" - buildImplicitDependencies = "YES"> - <BuildActionEntries> - <BuildActionEntry - buildForTesting = "YES" - buildForRunning = "YES" - buildForProfiling = "YES" - buildForArchiving = "YES" - buildForAnalyzing = "YES"> - <BuildableReference - BuildableIdentifier = "primary" - BlueprintIdentifier = "48295E96148C9DD500C9D6F9" - BuildableName = "Hello.app" - BlueprintName = "Hello" - ReferencedContainer = "container:Hello.xcodeproj"> - </BuildableReference> - </BuildActionEntry> - </BuildActionEntries> - </BuildAction> - <TestAction - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB" - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB" - shouldUseLaunchSchemeArgsEnv = "YES" - buildConfiguration = "Debug"> - <Testables> - <TestableReference - skipped = "NO"> - <BuildableReference - BuildableIdentifier = "primary" - BlueprintIdentifier = "48295EB7148C9DD600C9D6F9" - BuildableName = "HelloTests.octest" - BlueprintName = "HelloTests" - ReferencedContainer = "container:Hello.xcodeproj"> - </BuildableReference> - </TestableReference> - </Testables> - <MacroExpansion> - <BuildableReference - BuildableIdentifier = "primary" - BlueprintIdentifier = "48295E96148C9DD500C9D6F9" - BuildableName = "Hello.app" - BlueprintName = "Hello" - ReferencedContainer = "container:Hello.xcodeproj"> - </BuildableReference> - </MacroExpansion> - </TestAction> - <LaunchAction - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB" - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB" - launchStyle = "0" - useCustomWorkingDirectory = "NO" - buildConfiguration = "Debug" - debugDocumentVersioning = "YES" - allowLocationSimulation = "YES"> - <BuildableProductRunnable> - <BuildableReference - BuildableIdentifier = "primary" - BlueprintIdentifier = "48295E96148C9DD500C9D6F9" - BuildableName = "Hello.app" - BlueprintName = "Hello" - ReferencedContainer = "container:Hello.xcodeproj"> - </BuildableReference> - </BuildableProductRunnable> - <AdditionalOptions> - </AdditionalOptions> - </LaunchAction> - <ProfileAction - shouldUseLaunchSchemeArgsEnv = "YES" - savedToolIdentifier = "" - useCustomWorkingDirectory = "NO" - buildConfiguration = "Release" - debugDocumentVersioning = "YES"> - <BuildableProductRunnable> - <BuildableReference - BuildableIdentifier = "primary" - BlueprintIdentifier = "48295E96148C9DD500C9D6F9" - BuildableName = "Hello.app" - BlueprintName = "Hello" - ReferencedContainer = "container:Hello.xcodeproj"> - </BuildableReference> - </BuildableProductRunnable> - </ProfileAction> - <AnalyzeAction - buildConfiguration = "Debug"> - </AnalyzeAction> - <ArchiveAction - buildConfiguration = "Release" - revealArchiveInOrganizer = "YES"> - </ArchiveAction> -</Scheme> diff --git a/experimental/bhuddle/Hello./Hello.xcodeproj/xcuserdata/aas.xcuserdatad/xcschemes/xcschememanagement.plist b/experimental/bhuddle/Hello./Hello.xcodeproj/xcuserdata/aas.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index d730186..0000000 --- a/experimental/bhuddle/Hello./Hello.xcodeproj/xcuserdata/aas.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>SchemeUserState</key> - <dict> - <key>Hello.xcscheme</key> - <dict> - <key>orderHint</key> - <integer>0</integer> - </dict> - </dict> - <key>SuppressBuildableAutocreation</key> - <dict> - <key>48295E96148C9DD500C9D6F9</key> - <dict> - <key>primary</key> - <true/> - </dict> - <key>48295EB7148C9DD600C9D6F9</key> - <dict> - <key>primary</key> - <true/> - </dict> - </dict> -</dict> -</plist> diff --git a/experimental/bhuddle/Hello./Hello/AppDelegate.h b/experimental/bhuddle/Hello./Hello/AppDelegate.h deleted file mode 100644 index f5fbf91..0000000 --- a/experimental/bhuddle/Hello./Hello/AppDelegate.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// AppDelegate.h -// Hello -// -// Created by Aaron on 12/4/11. -// Copyright (c) 2011 __MyCompanyName__. All rights reserved. -// - -#import <Cocoa/Cocoa.h> - -@interface AppDelegate : NSObject <NSApplicationDelegate> - -@property (assign) IBOutlet NSWindow *window; - -@end diff --git a/experimental/bhuddle/Hello./Hello/AppDelegate.m b/experimental/bhuddle/Hello./Hello/AppDelegate.m deleted file mode 100644 index 5f0defd..0000000 --- a/experimental/bhuddle/Hello./Hello/AppDelegate.m +++ /dev/null @@ -1,20 +0,0 @@ -// -// AppDelegate.m -// Hello -// -// Created by Aaron on 12/4/11. -// Copyright (c) 2011 __MyCompanyName__. All rights reserved. -// - -#import "AppDelegate.h" - -@implementation AppDelegate - -@synthesize window = _window; - -- (void)applicationDidFinishLaunching:(NSNotification *)aNotification -{ - // Insert code here to initialize your application -} - -@end diff --git a/experimental/bhuddle/Hello./Hello/Hello-Info.plist b/experimental/bhuddle/Hello./Hello/Hello-Info.plist deleted file mode 100644 index 9e64769..0000000 --- a/experimental/bhuddle/Hello./Hello/Hello-Info.plist +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIconFile</key> - <string></string> - <key>CFBundleIdentifier</key> - <string>aas.${PRODUCT_NAME:rfc1034identifier}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>APPL</string> - <key>CFBundleShortVersionString</key> - <string>1.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>1</string> - <key>LSMinimumSystemVersion</key> - <string>${MACOSX_DEPLOYMENT_TARGET}</string> - <key>NSHumanReadableCopyright</key> - <string>Copyright © 2011 __MyCompanyName__. All rights reserved.</string> - <key>NSMainNibFile</key> - <string>MainMenu</string> - <key>NSPrincipalClass</key> - <string>NSApplication</string> -</dict> -</plist> diff --git a/experimental/bhuddle/Hello./Hello/Hello-Prefix.pch b/experimental/bhuddle/Hello./Hello/Hello-Prefix.pch deleted file mode 100644 index f44d960..0000000 --- a/experimental/bhuddle/Hello./Hello/Hello-Prefix.pch +++ /dev/null @@ -1,7 +0,0 @@ -// -// Prefix header for all source files of the 'Hello' target in the 'Hello' project -// - -#ifdef __OBJC__ - #import <Cocoa/Cocoa.h> -#endif diff --git a/experimental/bhuddle/Hello./Hello/HelloView.h b/experimental/bhuddle/Hello./Hello/HelloView.h deleted file mode 100644 index c52d685..0000000 --- a/experimental/bhuddle/Hello./Hello/HelloView.h +++ /dev/null @@ -1,40 +0,0 @@ -/*Copyright (C) 2012 Aaron Skomra and Ben Huddle - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -*/ - -/** - * HelloView.h - * Hello - * - * Create an window that displays an image from a file, - * that toggles between another when the down arrow key is pressed. - */ - -#import <Cocoa/Cocoa.h> - -@interface HelloView : NSView { - NSString *file; - NSString *file2; - BOOL ourBool; - NSImage *image; - NSImage *image2; -} -@end - diff --git a/experimental/bhuddle/Hello./Hello/HelloView.m b/experimental/bhuddle/Hello./Hello/HelloView.m deleted file mode 100644 index a3b6ebc..0000000 --- a/experimental/bhuddle/Hello./Hello/HelloView.m +++ /dev/null @@ -1,111 +0,0 @@ -/*Copyright (C) 2012 Aaron Skomra and Ben Huddle - - Permission is hereby granted, free of charge, to any person obtaining a copy of - this software and associated documentation files (the "Software"), to deal in - the Software without restriction, including without limitation the rights to - use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies - of the Software, and to permit persons to whom the Software is furnished to do - so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. - */ - -/** - * HelloView.m - * Hello - * - * Copyright (c) Aaron Skomra and Ben Huddle on January 12, 2012. - * - * Create an window that displays an image from a file, - * that toggles between another when the down arrow key is pressed. - * - * Note: The image used was hardcoded in the directory we used. - * It must be changed to the current users directory. - */ - -#import "HelloView.h" - -@implementation HelloView - -/** - * This is the initializer. - */ -- (id) -initWithFrame:(NSRect)frame { - self = [super initWithFrame:frame]; - - if (self) { - ourBool = YES; - // This must be changed to users personal directory. - file = @"Hello.app/Contents/Resources/Mac-Logo.jpg"; - file2 = @"Hello.app/Contents/Resources/Mac-Logo2.jpg"; - image = [[NSImage alloc] initWithContentsOfFile:file]; - image2 = [[NSImage alloc] initWithContentsOfFile:file2]; - } - - return self; -} - -/** - * This function draws the initial image to the window. - */ -- (void) -drawRect:(NSRect)dirtyRect { - [[NSGraphicsContext currentContext] - setImageInterpolation:NSImageInterpolationHigh]; - - NSSize imageSize = { 350, 300 }; - NSRect destRect; - destRect.size = imageSize; - [image drawInRect:destRect fromRect:NSZeroRect - operation:NSCompositeSourceOver fraction:1.0]; -} - -/** - * This is necessary for accepting input. - */ -- (BOOL) -acceptsFirstResponder { - return YES; -} - -/** - * This is the function that captures the event which is - * the down arrow key, not the numpad down arrow key. - * It changes the image on the screen when the down arrow is pressed. - */ -- (void) -keyDown:(NSEvent *)theEvent { - NSString *characters = [theEvent characters]; - int key = [characters characterAtIndex:0]; - NSSize imageSize = { 350, 300 }; - NSRect destRect; - destRect.size = imageSize; - - if (key == NSDownArrowFunctionKey) { - if (ourBool == YES) { - ourBool = NO; - [image2 drawInRect:destRect fromRect:NSZeroRect - operation:NSCompositeSourceOver fraction:1.0]; - } else { - ourBool = YES; - [image drawInRect:destRect fromRect:NSZeroRect - operation:NSCompositeSourceOver fraction:1.0]; - } - [[self window] flushWindow]; - } else { - [super keyDown:theEvent]; - } -} - -@end - diff --git a/experimental/bhuddle/Hello./Hello/Makefile b/experimental/bhuddle/Hello./Hello/Makefile deleted file mode 100644 index 2113b39..0000000 --- a/experimental/bhuddle/Hello./Hello/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# Makefile for /Hello folder - -CFLAGS = -g -O0 -FRAMEWORKS = -framework Cocoa -IBTOOL = ibtool - -SOURCES = main.m AppDelegate.m HelloView.m -XIBDIR = en.lproj - -all: imageflip - -imageflip: $(SOURCES) $(XIBDIR)/MainMenu.nib Info.plist - $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $(SOURCES) $(FRAMEWORKS) - -$(XIBDIR)/MainMenu.nib: $(XIBDIR)/MainMenu.xib - $(IBTOOL) $(XIBDIR)/MainMenu.xib --compile $(XIBDIR)/MainMenu.nib - -Info.plist: $(XCODEPROJNAME)-Info.plist - cp $(XCODEPROJNAME)-Info.plist Info.plist - sed -e 's/$${EXECUTABLE_NAME}/$(PACKAGE)/' \ - -e 's/$${PRODUCT_NAME.*}/$(PACKAGE)/' \ - -e 's/$${MACOSX_DEPLOYMENT_TARGET}/$(MACOSXTARGET)/' \ - -e 's/$${NETSURF_VERSION}/$(VERSION)/' \ - < $(XCODEPROJNAME)-Info.plist > Info.plist - -clean: - rm -f $(PACKAGE) - rm -rf $(PACKAGE).dSYM - rm -f Info.plist - rm -r $(XIBDIR)/MainMenu.nib - -.PHONY: all clean
\ No newline at end of file diff --git a/experimental/bhuddle/Hello./Hello/en.lproj/Credits.rtf b/experimental/bhuddle/Hello./Hello/en.lproj/Credits.rtf deleted file mode 100644 index 46576ef..0000000 --- a/experimental/bhuddle/Hello./Hello/en.lproj/Credits.rtf +++ /dev/null @@ -1,29 +0,0 @@ -{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;} -{\colortbl;\red255\green255\blue255;} -\paperw9840\paperh8400 -\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural - -\f0\b\fs24 \cf0 Engineering: -\b0 \ - Some people\ -\ - -\b Human Interface Design: -\b0 \ - Some other people\ -\ - -\b Testing: -\b0 \ - Hopefully not nobody\ -\ - -\b Documentation: -\b0 \ - Whoever\ -\ - -\b With special thanks to: -\b0 \ - Mom\ -} diff --git a/experimental/bhuddle/Hello./Hello/en.lproj/InfoPlist.strings b/experimental/bhuddle/Hello./Hello/en.lproj/InfoPlist.strings deleted file mode 100644 index 477b28f..0000000 --- a/experimental/bhuddle/Hello./Hello/en.lproj/InfoPlist.strings +++ /dev/null @@ -1,2 +0,0 @@ -/* Localized versions of Info.plist keys */ - diff --git a/experimental/bhuddle/Hello./Hello/en.lproj/MainMenu.xib b/experimental/bhuddle/Hello./Hello/en.lproj/MainMenu.xib deleted file mode 100644 index b04beb3..0000000 --- a/experimental/bhuddle/Hello./Hello/en.lproj/MainMenu.xib +++ /dev/null @@ -1,3411 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="8.00"> - <data> - <int key="IBDocument.SystemTarget">1070</int> - <string key="IBDocument.SystemVersion">11C74</string> - <string key="IBDocument.InterfaceBuilderVersion">1938</string> - <string key="IBDocument.AppKitVersion">1138.23</string> - <string key="IBDocument.HIToolboxVersion">567.00</string> - <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> - <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="NS.object.0">1938</string> - </object> - <array key="IBDocument.IntegratedClassDependencies"> - <string>NSView</string> - <string>NSMenu</string> - <string>NSWindowTemplate</string> - <string>NSMenuItem</string> - <string>NSTextField</string> - <string>NSTextFieldCell</string> - <string>NSCustomView</string> - <string>NSButtonCell</string> - <string>NSButton</string> - <string>NSCustomObject</string> - </array> - <array key="IBDocument.PluginDependencies"> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - </array> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <string key="NS.key.0">PluginDependencyRecalculationVersion</string> - <integer value="1" key="NS.object.0"/> - </object> - <array class="NSMutableArray" key="IBDocument.RootObjects" id="1048"> - <object class="NSCustomObject" id="1021"> - <string key="NSClassName">NSApplication</string> - </object> - <object class="NSCustomObject" id="1014"> - <string key="NSClassName">FirstResponder</string> - </object> - <object class="NSCustomObject" id="1050"> - <string key="NSClassName">NSApplication</string> - </object> - <object class="NSMenu" id="649796088"> - <string key="NSTitle">AMainMenu</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="694149608"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">Hello</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <object class="NSCustomResource" key="NSOnImage" id="35465992"> - <string key="NSClassName">NSImage</string> - <string key="NSResourceName">NSMenuCheckmark</string> - </object> - <object class="NSCustomResource" key="NSMixedImage" id="502551668"> - <string key="NSClassName">NSImage</string> - <string key="NSResourceName">NSMenuMixedState</string> - </object> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="110575045"> - <string key="NSTitle">Hello</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="238522557"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">About Hello</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="304266470"> - <reference key="NSMenu" ref="110575045"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="609285721"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Preferences…</string> - <string key="NSKeyEquiv">,</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="481834944"> - <reference key="NSMenu" ref="110575045"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1046388886"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Services</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="752062318"> - <string key="NSTitle">Services</string> - <array class="NSMutableArray" key="NSMenuItems"/> - <string key="NSName">_NSServicesMenu</string> - </object> - </object> - <object class="NSMenuItem" id="646227648"> - <reference key="NSMenu" ref="110575045"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="755159360"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Hide Hello</string> - <string key="NSKeyEquiv">h</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="342932134"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Hide Others</string> - <string key="NSKeyEquiv">h</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="908899353"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Show All</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1056857174"> - <reference key="NSMenu" ref="110575045"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="632727374"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Quit Hello</string> - <string key="NSKeyEquiv">q</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - <string key="NSName">_NSAppleMenu</string> - </object> - </object> - <object class="NSMenuItem" id="379814623"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">File</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="720053764"> - <string key="NSTitle">File</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="705341025"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">New</string> - <string key="NSKeyEquiv">n</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="722745758"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Open…</string> - <string key="NSKeyEquiv">o</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1025936716"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Open Recent</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="1065607017"> - <string key="NSTitle">Open Recent</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="759406840"> - <reference key="NSMenu" ref="1065607017"/> - <string key="NSTitle">Clear Menu</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - <string key="NSName">_NSRecentDocumentsMenu</string> - </object> - </object> - <object class="NSMenuItem" id="425164168"> - <reference key="NSMenu" ref="720053764"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="776162233"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Close</string> - <string key="NSKeyEquiv">w</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1023925487"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Save…</string> - <string key="NSKeyEquiv">s</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="579971712"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Revert to Saved</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1010469920"> - <reference key="NSMenu" ref="720053764"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="294629803"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Page Setup...</string> - <string key="NSKeyEquiv">P</string> - <int key="NSKeyEquivModMask">1179648</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSToolTip"/> - </object> - <object class="NSMenuItem" id="49223823"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Print…</string> - <string key="NSKeyEquiv">p</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="952259628"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">Edit</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="789758025"> - <string key="NSTitle">Edit</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="1058277027"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Undo</string> - <string key="NSKeyEquiv">z</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="790794224"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Redo</string> - <string key="NSKeyEquiv">Z</string> - <int key="NSKeyEquivModMask">1179648</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1040322652"> - <reference key="NSMenu" ref="789758025"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="296257095"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Cut</string> - <string key="NSKeyEquiv">x</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="860595796"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Copy</string> - <string key="NSKeyEquiv">c</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="29853731"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Paste</string> - <string key="NSKeyEquiv">v</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="82994268"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Paste and Match Style</string> - <string key="NSKeyEquiv">V</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="437104165"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Delete</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="583158037"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Select All</string> - <string key="NSKeyEquiv">a</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="212016141"> - <reference key="NSMenu" ref="789758025"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="892235320"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Find</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="963351320"> - <string key="NSTitle">Find</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="447796847"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Find…</string> - <string key="NSKeyEquiv">f</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">1</int> - </object> - <object class="NSMenuItem" id="738670835"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Find and Replace…</string> - <string key="NSKeyEquiv">f</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">12</int> - </object> - <object class="NSMenuItem" id="326711663"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Find Next</string> - <string key="NSKeyEquiv">g</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">2</int> - </object> - <object class="NSMenuItem" id="270902937"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Find Previous</string> - <string key="NSKeyEquiv">G</string> - <int key="NSKeyEquivModMask">1179648</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">3</int> - </object> - <object class="NSMenuItem" id="159080638"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Use Selection for Find</string> - <string key="NSKeyEquiv">e</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">7</int> - </object> - <object class="NSMenuItem" id="88285865"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Jump to Selection</string> - <string key="NSKeyEquiv">j</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="972420730"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Spelling and Grammar</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="769623530"> - <string key="NSTitle">Spelling and Grammar</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="679648819"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Show Spelling and Grammar</string> - <string key="NSKeyEquiv">:</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="96193923"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Check Document Now</string> - <string key="NSKeyEquiv">;</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="859480356"> - <reference key="NSMenu" ref="769623530"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="948374510"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Check Spelling While Typing</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="967646866"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Check Grammar With Spelling</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="795346622"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Correct Spelling Automatically</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="507821607"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Substitutions</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="698887838"> - <string key="NSTitle">Substitutions</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="65139061"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Show Substitutions</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="19036812"> - <reference key="NSMenu" ref="698887838"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="605118523"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Smart Copy/Paste</string> - <string key="NSKeyEquiv">f</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">1</int> - </object> - <object class="NSMenuItem" id="197661976"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Smart Quotes</string> - <string key="NSKeyEquiv">g</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">2</int> - </object> - <object class="NSMenuItem" id="672708820"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Smart Dashes</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="708854459"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Smart Links</string> - <string key="NSKeyEquiv">G</string> - <int key="NSKeyEquivModMask">1179648</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">3</int> - </object> - <object class="NSMenuItem" id="537092702"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Text Replacement</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="288088188"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Transformations</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="579392910"> - <string key="NSTitle">Transformations</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="1060694897"> - <reference key="NSMenu" ref="579392910"/> - <string key="NSTitle">Make Upper Case</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="879586729"> - <reference key="NSMenu" ref="579392910"/> - <string key="NSTitle">Make Lower Case</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="56570060"> - <reference key="NSMenu" ref="579392910"/> - <string key="NSTitle">Capitalize</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="676164635"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Speech</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="785027613"> - <string key="NSTitle">Speech</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="731782645"> - <reference key="NSMenu" ref="785027613"/> - <string key="NSTitle">Start Speaking</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="680220178"> - <reference key="NSMenu" ref="785027613"/> - <string key="NSTitle">Stop Speaking</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="302598603"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">Format</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="941447902"> - <string key="NSTitle">Format</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="792887677"> - <reference key="NSMenu" ref="941447902"/> - <string key="NSTitle">Font</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="786677654"> - <string key="NSTitle">Font</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="159677712"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Show Fonts</string> - <string key="NSKeyEquiv">t</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="305399458"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Bold</string> - <string key="NSKeyEquiv">b</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">2</int> - </object> - <object class="NSMenuItem" id="814362025"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Italic</string> - <string key="NSKeyEquiv">i</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">1</int> - </object> - <object class="NSMenuItem" id="330926929"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Underline</string> - <string key="NSKeyEquiv">u</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="533507878"> - <reference key="NSMenu" ref="786677654"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="158063935"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Bigger</string> - <string key="NSKeyEquiv">+</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">3</int> - </object> - <object class="NSMenuItem" id="885547335"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Smaller</string> - <string key="NSKeyEquiv">-</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">4</int> - </object> - <object class="NSMenuItem" id="901062459"> - <reference key="NSMenu" ref="786677654"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="767671776"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Kern</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="175441468"> - <string key="NSTitle">Kern</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="252969304"> - <reference key="NSMenu" ref="175441468"/> - <string key="NSTitle">Use Default</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="766922938"> - <reference key="NSMenu" ref="175441468"/> - <string key="NSTitle">Use None</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="677519740"> - <reference key="NSMenu" ref="175441468"/> - <string key="NSTitle">Tighten</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="238351151"> - <reference key="NSMenu" ref="175441468"/> - <string key="NSTitle">Loosen</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="691570813"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Ligature</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="1058217995"> - <string key="NSTitle">Ligature</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="706297211"> - <reference key="NSMenu" ref="1058217995"/> - <string key="NSTitle">Use Default</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="568384683"> - <reference key="NSMenu" ref="1058217995"/> - <string key="NSTitle">Use None</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="663508465"> - <reference key="NSMenu" ref="1058217995"/> - <string key="NSTitle">Use All</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="769124883"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Baseline</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="18263474"> - <string key="NSTitle">Baseline</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="257962622"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Use Default</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="644725453"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Superscript</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1037576581"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Subscript</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="941806246"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Raise</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1045724900"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Lower</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="739652853"> - <reference key="NSMenu" ref="786677654"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1012600125"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Show Colors</string> - <string key="NSKeyEquiv">C</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="214559597"> - <reference key="NSMenu" ref="786677654"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="596732606"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Copy Style</string> - <string key="NSKeyEquiv">c</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="393423671"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Paste Style</string> - <string key="NSKeyEquiv">v</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - <string key="NSName">_NSFontMenu</string> - </object> - </object> - <object class="NSMenuItem" id="215659978"> - <reference key="NSMenu" ref="941447902"/> - <string key="NSTitle">Text</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="446991534"> - <string key="NSTitle">Text</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="875092757"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Align Left</string> - <string key="NSKeyEquiv">{</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="630155264"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Center</string> - <string key="NSKeyEquiv">|</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="945678886"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Justify</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="512868991"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Align Right</string> - <string key="NSKeyEquiv">}</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="163117631"> - <reference key="NSMenu" ref="446991534"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="31516759"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Writing Direction</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="956096989"> - <string key="NSTitle">Writing Direction</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="257099033"> - <reference key="NSMenu" ref="956096989"/> - <bool key="NSIsDisabled">YES</bool> - <string key="NSTitle">Paragraph</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="551969625"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CURlZmF1bHQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="249532473"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CUxlZnQgdG8gUmlnaHQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="607364498"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CVJpZ2h0IHRvIExlZnQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="508151438"> - <reference key="NSMenu" ref="956096989"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="981751889"> - <reference key="NSMenu" ref="956096989"/> - <bool key="NSIsDisabled">YES</bool> - <string key="NSTitle">Selection</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="380031999"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CURlZmF1bHQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="825984362"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CUxlZnQgdG8gUmlnaHQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="560145579"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CVJpZ2h0IHRvIExlZnQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="908105787"> - <reference key="NSMenu" ref="446991534"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="644046920"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Show Ruler</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="231811626"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Copy Ruler</string> - <string key="NSKeyEquiv">c</string> - <int key="NSKeyEquivModMask">1310720</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="883618387"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Paste Ruler</string> - <string key="NSKeyEquiv">v</string> - <int key="NSKeyEquivModMask">1310720</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="586577488"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">View</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="466310130"> - <string key="NSTitle">View</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="102151532"> - <reference key="NSMenu" ref="466310130"/> - <string key="NSTitle">Show Toolbar</string> - <string key="NSKeyEquiv">t</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="237841660"> - <reference key="NSMenu" ref="466310130"/> - <string key="NSTitle">Customize Toolbar…</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="713487014"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">Window</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="835318025"> - <string key="NSTitle">Window</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="1011231497"> - <reference key="NSMenu" ref="835318025"/> - <string key="NSTitle">Minimize</string> - <string key="NSKeyEquiv">m</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="575023229"> - <reference key="NSMenu" ref="835318025"/> - <string key="NSTitle">Zoom</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="299356726"> - <reference key="NSMenu" ref="835318025"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="625202149"> - <reference key="NSMenu" ref="835318025"/> - <string key="NSTitle">Bring All to Front</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - <string key="NSName">_NSWindowsMenu</string> - </object> - </object> - <object class="NSMenuItem" id="448692316"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">Help</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="992780483"> - <string key="NSTitle">Help</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="105068016"> - <reference key="NSMenu" ref="992780483"/> - <string key="NSTitle">Hello Help</string> - <string key="NSKeyEquiv">?</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - <string key="NSName">_NSHelpMenu</string> - </object> - </object> - </array> - <string key="NSName">_NSMainMenu</string> - </object> - <object class="NSWindowTemplate" id="972006081"> - <int key="NSWindowStyleMask">15</int> - <int key="NSWindowBacking">2</int> - <string key="NSWindowRect">{{335, 390}, {480, 360}}</string> - <int key="NSWTFlags">1954021376</int> - <string key="NSWindowTitle">Hello</string> - <string key="NSWindowClass">NSWindow</string> - <nil key="NSViewClass"/> - <nil key="NSUserInterfaceItemIdentifier"/> - <object class="NSView" key="NSWindowView" id="439893737"> - <reference key="NSNextResponder"/> - <int key="NSvFlags">256</int> - <array class="NSMutableArray" key="NSSubviews"> - <object class="NSCustomView" id="229185816"> - <reference key="NSNextResponder" ref="439893737"/> - <int key="NSvFlags">268</int> - <string key="NSFrameSize">{480, 368}</string> - <reference key="NSSuperview" ref="439893737"/> - <reference key="NSWindow"/> - <string key="NSReuseIdentifierKey">_NS:1192</string> - <string key="NSClassName">HelloView</string> - </object> - </array> - <string key="NSFrameSize">{480, 360}</string> - <reference key="NSSuperview"/> - <reference key="NSWindow"/> - <reference key="NSNextKeyView" ref="229185816"/> - </object> - <string key="NSScreenRect">{{0, 0}, {1152, 842}}</string> - <string key="NSMaxSize">{10000000000000, 10000000000000}</string> - <bool key="NSWindowIsRestorable">YES</bool> - </object> - <object class="NSCustomObject" id="976324537"> - <string key="NSClassName">AppDelegate</string> - </object> - <object class="NSCustomObject" id="755631768"> - <string key="NSClassName">NSFontManager</string> - </object> - <object class="NSButton" id="204650252"> - <reference key="NSNextResponder"/> - <int key="NSvFlags">268</int> - <string key="NSFrameSize">{82, 32}</string> - <reference key="NSSuperview"/> - <reference key="NSWindow"/> - <string key="NSReuseIdentifierKey">_NS:687</string> - <bool key="NSEnabled">YES</bool> - <object class="NSButtonCell" key="NSCell" id="1020642038"> - <int key="NSCellFlags">67239424</int> - <int key="NSCellFlags2">134217728</int> - <string key="NSContents">Connect</string> - <object class="NSFont" key="NSSupport" id="344805463"> - <string key="NSName">LucidaGrande</string> - <double key="NSSize">13</double> - <int key="NSfFlags">1044</int> - </object> - <string key="NSCellIdentifier">_NS:687</string> - <reference key="NSControlView" ref="204650252"/> - <int key="NSButtonFlags">-2038284033</int> - <int key="NSButtonFlags2">129</int> - <string key="NSAlternateContents"/> - <string key="NSKeyEquivalent"/> - <int key="NSPeriodicDelay">200</int> - <int key="NSPeriodicInterval">25</int> - </object> - </object> - <object class="NSTextField" id="259992234"> - <reference key="NSNextResponder"/> - <int key="NSvFlags">268</int> - <string key="NSFrameSize">{152, 17}</string> - <reference key="NSSuperview"/> - <reference key="NSWindow"/> - <string key="NSReuseIdentifierKey">_NS:3944</string> - <bool key="NSEnabled">YES</bool> - <object class="NSTextFieldCell" key="NSCell" id="169441016"> - <int key="NSCellFlags">68288064</int> - <int key="NSCellFlags2">272630784</int> - <string key="NSContents">Enter Display Number</string> - <reference key="NSSupport" ref="344805463"/> - <string key="NSCellIdentifier">_NS:3944</string> - <reference key="NSControlView" ref="259992234"/> - <object class="NSColor" key="NSBackgroundColor"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">controlColor</string> - <object class="NSColor" key="NSColor"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes> - </object> - </object> - <object class="NSColor" key="NSTextColor"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">controlTextColor</string> - <object class="NSColor" key="NSColor" id="829557286"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MAA</bytes> - </object> - </object> - </object> - </object> - <object class="NSTextField" id="18368935"> - <reference key="NSNextResponder"/> - <int key="NSvFlags">268</int> - <string key="NSFrameSize">{96, 22}</string> - <reference key="NSSuperview"/> - <reference key="NSWindow"/> - <string key="NSReuseIdentifierKey">_NS:903</string> - <bool key="NSEnabled">YES</bool> - <object class="NSTextFieldCell" key="NSCell" id="325942930"> - <int key="NSCellFlags">-1804468671</int> - <int key="NSCellFlags2">272630784</int> - <string key="NSContents"/> - <reference key="NSSupport" ref="344805463"/> - <string key="NSCellIdentifier">_NS:903</string> - <reference key="NSControlView" ref="18368935"/> - <bool key="NSDrawsBackground">YES</bool> - <object class="NSColor" key="NSBackgroundColor"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">textBackgroundColor</string> - <object class="NSColor" key="NSColor"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MQA</bytes> - </object> - </object> - <object class="NSColor" key="NSTextColor"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">textColor</string> - <reference key="NSColor" ref="829557286"/> - </object> - </object> - </object> - </array> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <array class="NSMutableArray" key="connectionRecords"> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">terminate:</string> - <reference key="source" ref="1050"/> - <reference key="destination" ref="632727374"/> - </object> - <int key="connectionID">449</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">orderFrontStandardAboutPanel:</string> - <reference key="source" ref="1021"/> - <reference key="destination" ref="238522557"/> - </object> - <int key="connectionID">142</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">delegate</string> - <reference key="source" ref="1021"/> - <reference key="destination" ref="976324537"/> - </object> - <int key="connectionID">495</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performMiniaturize:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1011231497"/> - </object> - <int key="connectionID">37</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">arrangeInFront:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="625202149"/> - </object> - <int key="connectionID">39</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">print:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="49223823"/> - </object> - <int key="connectionID">86</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">runPageLayout:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="294629803"/> - </object> - <int key="connectionID">87</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">clearRecentDocuments:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="759406840"/> - </object> - <int key="connectionID">127</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performClose:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="776162233"/> - </object> - <int key="connectionID">193</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleContinuousSpellChecking:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="948374510"/> - </object> - <int key="connectionID">222</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">undo:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1058277027"/> - </object> - <int key="connectionID">223</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">copy:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="860595796"/> - </object> - <int key="connectionID">224</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">checkSpelling:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="96193923"/> - </object> - <int key="connectionID">225</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">paste:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="29853731"/> - </object> - <int key="connectionID">226</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">stopSpeaking:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="680220178"/> - </object> - <int key="connectionID">227</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">cut:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="296257095"/> - </object> - <int key="connectionID">228</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">showGuessPanel:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="679648819"/> - </object> - <int key="connectionID">230</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">redo:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="790794224"/> - </object> - <int key="connectionID">231</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">selectAll:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="583158037"/> - </object> - <int key="connectionID">232</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">startSpeaking:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="731782645"/> - </object> - <int key="connectionID">233</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">delete:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="437104165"/> - </object> - <int key="connectionID">235</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performZoom:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="575023229"/> - </object> - <int key="connectionID">240</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performFindPanelAction:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="447796847"/> - </object> - <int key="connectionID">241</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">centerSelectionInVisibleArea:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="88285865"/> - </object> - <int key="connectionID">245</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleGrammarChecking:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="967646866"/> - </object> - <int key="connectionID">347</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleSmartInsertDelete:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="605118523"/> - </object> - <int key="connectionID">355</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticQuoteSubstitution:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="197661976"/> - </object> - <int key="connectionID">356</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticLinkDetection:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="708854459"/> - </object> - <int key="connectionID">357</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">saveDocument:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1023925487"/> - </object> - <int key="connectionID">362</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">revertDocumentToSaved:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="579971712"/> - </object> - <int key="connectionID">364</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">runToolbarCustomizationPalette:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="237841660"/> - </object> - <int key="connectionID">365</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleToolbarShown:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="102151532"/> - </object> - <int key="connectionID">366</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">hide:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="755159360"/> - </object> - <int key="connectionID">367</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">hideOtherApplications:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="342932134"/> - </object> - <int key="connectionID">368</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">unhideAllApplications:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="908899353"/> - </object> - <int key="connectionID">370</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">newDocument:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="705341025"/> - </object> - <int key="connectionID">373</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">openDocument:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="722745758"/> - </object> - <int key="connectionID">374</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">raiseBaseline:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="941806246"/> - </object> - <int key="connectionID">426</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">lowerBaseline:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1045724900"/> - </object> - <int key="connectionID">427</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">copyFont:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="596732606"/> - </object> - <int key="connectionID">428</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">subscript:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1037576581"/> - </object> - <int key="connectionID">429</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">superscript:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="644725453"/> - </object> - <int key="connectionID">430</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">tightenKerning:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="677519740"/> - </object> - <int key="connectionID">431</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">underline:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="330926929"/> - </object> - <int key="connectionID">432</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">orderFrontColorPanel:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1012600125"/> - </object> - <int key="connectionID">433</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">useAllLigatures:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="663508465"/> - </object> - <int key="connectionID">434</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">loosenKerning:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="238351151"/> - </object> - <int key="connectionID">435</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">pasteFont:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="393423671"/> - </object> - <int key="connectionID">436</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">unscript:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="257962622"/> - </object> - <int key="connectionID">437</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">useStandardKerning:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="252969304"/> - </object> - <int key="connectionID">438</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">useStandardLigatures:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="706297211"/> - </object> - <int key="connectionID">439</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">turnOffLigatures:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="568384683"/> - </object> - <int key="connectionID">440</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">turnOffKerning:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="766922938"/> - </object> - <int key="connectionID">441</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticSpellingCorrection:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="795346622"/> - </object> - <int key="connectionID">456</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">orderFrontSubstitutionsPanel:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="65139061"/> - </object> - <int key="connectionID">458</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticDashSubstitution:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="672708820"/> - </object> - <int key="connectionID">461</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticTextReplacement:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="537092702"/> - </object> - <int key="connectionID">463</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">uppercaseWord:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1060694897"/> - </object> - <int key="connectionID">464</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">capitalizeWord:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="56570060"/> - </object> - <int key="connectionID">467</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">lowercaseWord:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="879586729"/> - </object> - <int key="connectionID">468</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">pasteAsPlainText:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="82994268"/> - </object> - <int key="connectionID">486</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performFindPanelAction:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="326711663"/> - </object> - <int key="connectionID">487</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performFindPanelAction:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="270902937"/> - </object> - <int key="connectionID">488</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performFindPanelAction:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="159080638"/> - </object> - <int key="connectionID">489</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">showHelp:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="105068016"/> - </object> - <int key="connectionID">493</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">alignCenter:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="630155264"/> - </object> - <int key="connectionID">518</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">pasteRuler:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="883618387"/> - </object> - <int key="connectionID">519</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleRuler:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="644046920"/> - </object> - <int key="connectionID">520</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">alignRight:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="512868991"/> - </object> - <int key="connectionID">521</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">copyRuler:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="231811626"/> - </object> - <int key="connectionID">522</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">alignJustified:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="945678886"/> - </object> - <int key="connectionID">523</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">alignLeft:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="875092757"/> - </object> - <int key="connectionID">524</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeBaseWritingDirectionNatural:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="551969625"/> - </object> - <int key="connectionID">525</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeBaseWritingDirectionLeftToRight:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="249532473"/> - </object> - <int key="connectionID">526</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeBaseWritingDirectionRightToLeft:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="607364498"/> - </object> - <int key="connectionID">527</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeTextWritingDirectionNatural:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="380031999"/> - </object> - <int key="connectionID">528</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeTextWritingDirectionLeftToRight:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="825984362"/> - </object> - <int key="connectionID">529</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeTextWritingDirectionRightToLeft:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="560145579"/> - </object> - <int key="connectionID">530</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performFindPanelAction:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="738670835"/> - </object> - <int key="connectionID">535</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">addFontTrait:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="305399458"/> - </object> - <int key="connectionID">421</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">addFontTrait:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="814362025"/> - </object> - <int key="connectionID">422</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">modifyFont:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="885547335"/> - </object> - <int key="connectionID">423</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">orderFrontFontPanel:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="159677712"/> - </object> - <int key="connectionID">424</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">modifyFont:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="158063935"/> - </object> - <int key="connectionID">425</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">window</string> - <reference key="source" ref="976324537"/> - <reference key="destination" ref="972006081"/> - </object> - <int key="connectionID">532</int> - </object> - </array> - <object class="IBMutableOrderedSet" key="objectRecords"> - <array key="orderedObjects"> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <array key="object" id="0"/> - <reference key="children" ref="1048"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="1021"/> - <reference key="parent" ref="0"/> - <string key="objectName">File's Owner</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="1014"/> - <reference key="parent" ref="0"/> - <string key="objectName">First Responder</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-3</int> - <reference key="object" ref="1050"/> - <reference key="parent" ref="0"/> - <string key="objectName">Application</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">29</int> - <reference key="object" ref="649796088"/> - <array class="NSMutableArray" key="children"> - <reference ref="713487014"/> - <reference ref="694149608"/> - <reference ref="952259628"/> - <reference ref="379814623"/> - <reference ref="586577488"/> - <reference ref="302598603"/> - <reference ref="448692316"/> - </array> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">19</int> - <reference key="object" ref="713487014"/> - <array class="NSMutableArray" key="children"> - <reference ref="835318025"/> - </array> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">56</int> - <reference key="object" ref="694149608"/> - <array class="NSMutableArray" key="children"> - <reference ref="110575045"/> - </array> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">217</int> - <reference key="object" ref="952259628"/> - <array class="NSMutableArray" key="children"> - <reference ref="789758025"/> - </array> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">83</int> - <reference key="object" ref="379814623"/> - <array class="NSMutableArray" key="children"> - <reference ref="720053764"/> - </array> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">81</int> - <reference key="object" ref="720053764"/> - <array class="NSMutableArray" key="children"> - <reference ref="1023925487"/> - <reference ref="49223823"/> - <reference ref="722745758"/> - <reference ref="705341025"/> - <reference ref="1025936716"/> - <reference ref="294629803"/> - <reference ref="776162233"/> - <reference ref="425164168"/> - <reference ref="579971712"/> - <reference ref="1010469920"/> - </array> - <reference key="parent" ref="379814623"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">75</int> - <reference key="object" ref="1023925487"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">78</int> - <reference key="object" ref="49223823"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">72</int> - <reference key="object" ref="722745758"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">82</int> - <reference key="object" ref="705341025"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">124</int> - <reference key="object" ref="1025936716"/> - <array class="NSMutableArray" key="children"> - <reference ref="1065607017"/> - </array> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">77</int> - <reference key="object" ref="294629803"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">73</int> - <reference key="object" ref="776162233"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">79</int> - <reference key="object" ref="425164168"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">112</int> - <reference key="object" ref="579971712"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">74</int> - <reference key="object" ref="1010469920"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">125</int> - <reference key="object" ref="1065607017"/> - <array class="NSMutableArray" key="children"> - <reference ref="759406840"/> - </array> - <reference key="parent" ref="1025936716"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">126</int> - <reference key="object" ref="759406840"/> - <reference key="parent" ref="1065607017"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">205</int> - <reference key="object" ref="789758025"/> - <array class="NSMutableArray" key="children"> - <reference ref="437104165"/> - <reference ref="583158037"/> - <reference ref="1058277027"/> - <reference ref="212016141"/> - <reference ref="296257095"/> - <reference ref="29853731"/> - <reference ref="860595796"/> - <reference ref="1040322652"/> - <reference ref="790794224"/> - <reference ref="892235320"/> - <reference ref="972420730"/> - <reference ref="676164635"/> - <reference ref="507821607"/> - <reference ref="288088188"/> - <reference ref="82994268"/> - </array> - <reference key="parent" ref="952259628"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">202</int> - <reference key="object" ref="437104165"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">198</int> - <reference key="object" ref="583158037"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">207</int> - <reference key="object" ref="1058277027"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">214</int> - <reference key="object" ref="212016141"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">199</int> - <reference key="object" ref="296257095"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">203</int> - <reference key="object" ref="29853731"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">197</int> - <reference key="object" ref="860595796"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">206</int> - <reference key="object" ref="1040322652"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">215</int> - <reference key="object" ref="790794224"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">218</int> - <reference key="object" ref="892235320"/> - <array class="NSMutableArray" key="children"> - <reference ref="963351320"/> - </array> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">216</int> - <reference key="object" ref="972420730"/> - <array class="NSMutableArray" key="children"> - <reference ref="769623530"/> - </array> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">200</int> - <reference key="object" ref="769623530"/> - <array class="NSMutableArray" key="children"> - <reference ref="948374510"/> - <reference ref="96193923"/> - <reference ref="679648819"/> - <reference ref="967646866"/> - <reference ref="859480356"/> - <reference ref="795346622"/> - </array> - <reference key="parent" ref="972420730"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">219</int> - <reference key="object" ref="948374510"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">201</int> - <reference key="object" ref="96193923"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">204</int> - <reference key="object" ref="679648819"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">220</int> - <reference key="object" ref="963351320"/> - <array class="NSMutableArray" key="children"> - <reference ref="270902937"/> - <reference ref="88285865"/> - <reference ref="159080638"/> - <reference ref="326711663"/> - <reference ref="447796847"/> - <reference ref="738670835"/> - </array> - <reference key="parent" ref="892235320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">213</int> - <reference key="object" ref="270902937"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">210</int> - <reference key="object" ref="88285865"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">221</int> - <reference key="object" ref="159080638"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">208</int> - <reference key="object" ref="326711663"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">209</int> - <reference key="object" ref="447796847"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">57</int> - <reference key="object" ref="110575045"/> - <array class="NSMutableArray" key="children"> - <reference ref="238522557"/> - <reference ref="755159360"/> - <reference ref="908899353"/> - <reference ref="632727374"/> - <reference ref="646227648"/> - <reference ref="609285721"/> - <reference ref="481834944"/> - <reference ref="304266470"/> - <reference ref="1046388886"/> - <reference ref="1056857174"/> - <reference ref="342932134"/> - </array> - <reference key="parent" ref="694149608"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">58</int> - <reference key="object" ref="238522557"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">134</int> - <reference key="object" ref="755159360"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">150</int> - <reference key="object" ref="908899353"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">136</int> - <reference key="object" ref="632727374"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">144</int> - <reference key="object" ref="646227648"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">129</int> - <reference key="object" ref="609285721"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">143</int> - <reference key="object" ref="481834944"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">236</int> - <reference key="object" ref="304266470"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">131</int> - <reference key="object" ref="1046388886"/> - <array class="NSMutableArray" key="children"> - <reference ref="752062318"/> - </array> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">149</int> - <reference key="object" ref="1056857174"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">145</int> - <reference key="object" ref="342932134"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">130</int> - <reference key="object" ref="752062318"/> - <reference key="parent" ref="1046388886"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">24</int> - <reference key="object" ref="835318025"/> - <array class="NSMutableArray" key="children"> - <reference ref="299356726"/> - <reference ref="625202149"/> - <reference ref="575023229"/> - <reference ref="1011231497"/> - </array> - <reference key="parent" ref="713487014"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">92</int> - <reference key="object" ref="299356726"/> - <reference key="parent" ref="835318025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">5</int> - <reference key="object" ref="625202149"/> - <reference key="parent" ref="835318025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">239</int> - <reference key="object" ref="575023229"/> - <reference key="parent" ref="835318025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">23</int> - <reference key="object" ref="1011231497"/> - <reference key="parent" ref="835318025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">295</int> - <reference key="object" ref="586577488"/> - <array class="NSMutableArray" key="children"> - <reference ref="466310130"/> - </array> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">296</int> - <reference key="object" ref="466310130"/> - <array class="NSMutableArray" key="children"> - <reference ref="102151532"/> - <reference ref="237841660"/> - </array> - <reference key="parent" ref="586577488"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">297</int> - <reference key="object" ref="102151532"/> - <reference key="parent" ref="466310130"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">298</int> - <reference key="object" ref="237841660"/> - <reference key="parent" ref="466310130"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">211</int> - <reference key="object" ref="676164635"/> - <array class="NSMutableArray" key="children"> - <reference ref="785027613"/> - </array> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">212</int> - <reference key="object" ref="785027613"/> - <array class="NSMutableArray" key="children"> - <reference ref="680220178"/> - <reference ref="731782645"/> - </array> - <reference key="parent" ref="676164635"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">195</int> - <reference key="object" ref="680220178"/> - <reference key="parent" ref="785027613"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">196</int> - <reference key="object" ref="731782645"/> - <reference key="parent" ref="785027613"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">346</int> - <reference key="object" ref="967646866"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">348</int> - <reference key="object" ref="507821607"/> - <array class="NSMutableArray" key="children"> - <reference ref="698887838"/> - </array> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">349</int> - <reference key="object" ref="698887838"/> - <array class="NSMutableArray" key="children"> - <reference ref="605118523"/> - <reference ref="197661976"/> - <reference ref="708854459"/> - <reference ref="65139061"/> - <reference ref="19036812"/> - <reference ref="672708820"/> - <reference ref="537092702"/> - </array> - <reference key="parent" ref="507821607"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">350</int> - <reference key="object" ref="605118523"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">351</int> - <reference key="object" ref="197661976"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">354</int> - <reference key="object" ref="708854459"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">371</int> - <reference key="object" ref="972006081"/> - <array class="NSMutableArray" key="children"> - <reference ref="439893737"/> - </array> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">372</int> - <reference key="object" ref="439893737"/> - <array class="NSMutableArray" key="children"> - <reference ref="229185816"/> - </array> - <reference key="parent" ref="972006081"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">375</int> - <reference key="object" ref="302598603"/> - <array class="NSMutableArray" key="children"> - <reference ref="941447902"/> - </array> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">376</int> - <reference key="object" ref="941447902"/> - <array class="NSMutableArray" key="children"> - <reference ref="792887677"/> - <reference ref="215659978"/> - </array> - <reference key="parent" ref="302598603"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">377</int> - <reference key="object" ref="792887677"/> - <array class="NSMutableArray" key="children"> - <reference ref="786677654"/> - </array> - <reference key="parent" ref="941447902"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">388</int> - <reference key="object" ref="786677654"/> - <array class="NSMutableArray" key="children"> - <reference ref="159677712"/> - <reference ref="305399458"/> - <reference ref="814362025"/> - <reference ref="330926929"/> - <reference ref="533507878"/> - <reference ref="158063935"/> - <reference ref="885547335"/> - <reference ref="901062459"/> - <reference ref="767671776"/> - <reference ref="691570813"/> - <reference ref="769124883"/> - <reference ref="739652853"/> - <reference ref="1012600125"/> - <reference ref="214559597"/> - <reference ref="596732606"/> - <reference ref="393423671"/> - </array> - <reference key="parent" ref="792887677"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">389</int> - <reference key="object" ref="159677712"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">390</int> - <reference key="object" ref="305399458"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">391</int> - <reference key="object" ref="814362025"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">392</int> - <reference key="object" ref="330926929"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">393</int> - <reference key="object" ref="533507878"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">394</int> - <reference key="object" ref="158063935"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">395</int> - <reference key="object" ref="885547335"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">396</int> - <reference key="object" ref="901062459"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">397</int> - <reference key="object" ref="767671776"/> - <array class="NSMutableArray" key="children"> - <reference ref="175441468"/> - </array> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">398</int> - <reference key="object" ref="691570813"/> - <array class="NSMutableArray" key="children"> - <reference ref="1058217995"/> - </array> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">399</int> - <reference key="object" ref="769124883"/> - <array class="NSMutableArray" key="children"> - <reference ref="18263474"/> - </array> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">400</int> - <reference key="object" ref="739652853"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">401</int> - <reference key="object" ref="1012600125"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">402</int> - <reference key="object" ref="214559597"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">403</int> - <reference key="object" ref="596732606"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">404</int> - <reference key="object" ref="393423671"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">405</int> - <reference key="object" ref="18263474"/> - <array class="NSMutableArray" key="children"> - <reference ref="257962622"/> - <reference ref="644725453"/> - <reference ref="1037576581"/> - <reference ref="941806246"/> - <reference ref="1045724900"/> - </array> - <reference key="parent" ref="769124883"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">406</int> - <reference key="object" ref="257962622"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">407</int> - <reference key="object" ref="644725453"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">408</int> - <reference key="object" ref="1037576581"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">409</int> - <reference key="object" ref="941806246"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">410</int> - <reference key="object" ref="1045724900"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">411</int> - <reference key="object" ref="1058217995"/> - <array class="NSMutableArray" key="children"> - <reference ref="706297211"/> - <reference ref="568384683"/> - <reference ref="663508465"/> - </array> - <reference key="parent" ref="691570813"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">412</int> - <reference key="object" ref="706297211"/> - <reference key="parent" ref="1058217995"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">413</int> - <reference key="object" ref="568384683"/> - <reference key="parent" ref="1058217995"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">414</int> - <reference key="object" ref="663508465"/> - <reference key="parent" ref="1058217995"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">415</int> - <reference key="object" ref="175441468"/> - <array class="NSMutableArray" key="children"> - <reference ref="252969304"/> - <reference ref="766922938"/> - <reference ref="677519740"/> - <reference ref="238351151"/> - </array> - <reference key="parent" ref="767671776"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">416</int> - <reference key="object" ref="252969304"/> - <reference key="parent" ref="175441468"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">417</int> - <reference key="object" ref="766922938"/> - <reference key="parent" ref="175441468"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">418</int> - <reference key="object" ref="677519740"/> - <reference key="parent" ref="175441468"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">419</int> - <reference key="object" ref="238351151"/> - <reference key="parent" ref="175441468"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">420</int> - <reference key="object" ref="755631768"/> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">450</int> - <reference key="object" ref="288088188"/> - <array class="NSMutableArray" key="children"> - <reference ref="579392910"/> - </array> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">451</int> - <reference key="object" ref="579392910"/> - <array class="NSMutableArray" key="children"> - <reference ref="1060694897"/> - <reference ref="879586729"/> - <reference ref="56570060"/> - </array> - <reference key="parent" ref="288088188"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">452</int> - <reference key="object" ref="1060694897"/> - <reference key="parent" ref="579392910"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">453</int> - <reference key="object" ref="859480356"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">454</int> - <reference key="object" ref="795346622"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">457</int> - <reference key="object" ref="65139061"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">459</int> - <reference key="object" ref="19036812"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">460</int> - <reference key="object" ref="672708820"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">462</int> - <reference key="object" ref="537092702"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">465</int> - <reference key="object" ref="879586729"/> - <reference key="parent" ref="579392910"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">466</int> - <reference key="object" ref="56570060"/> - <reference key="parent" ref="579392910"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">485</int> - <reference key="object" ref="82994268"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">490</int> - <reference key="object" ref="448692316"/> - <array class="NSMutableArray" key="children"> - <reference ref="992780483"/> - </array> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">491</int> - <reference key="object" ref="992780483"/> - <array class="NSMutableArray" key="children"> - <reference ref="105068016"/> - </array> - <reference key="parent" ref="448692316"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">492</int> - <reference key="object" ref="105068016"/> - <reference key="parent" ref="992780483"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">494</int> - <reference key="object" ref="976324537"/> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">496</int> - <reference key="object" ref="215659978"/> - <array class="NSMutableArray" key="children"> - <reference ref="446991534"/> - </array> - <reference key="parent" ref="941447902"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">497</int> - <reference key="object" ref="446991534"/> - <array class="NSMutableArray" key="children"> - <reference ref="875092757"/> - <reference ref="630155264"/> - <reference ref="945678886"/> - <reference ref="512868991"/> - <reference ref="163117631"/> - <reference ref="31516759"/> - <reference ref="908105787"/> - <reference ref="644046920"/> - <reference ref="231811626"/> - <reference ref="883618387"/> - </array> - <reference key="parent" ref="215659978"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">498</int> - <reference key="object" ref="875092757"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">499</int> - <reference key="object" ref="630155264"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">500</int> - <reference key="object" ref="945678886"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">501</int> - <reference key="object" ref="512868991"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">502</int> - <reference key="object" ref="163117631"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">503</int> - <reference key="object" ref="31516759"/> - <array class="NSMutableArray" key="children"> - <reference ref="956096989"/> - </array> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">504</int> - <reference key="object" ref="908105787"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">505</int> - <reference key="object" ref="644046920"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">506</int> - <reference key="object" ref="231811626"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">507</int> - <reference key="object" ref="883618387"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">508</int> - <reference key="object" ref="956096989"/> - <array class="NSMutableArray" key="children"> - <reference ref="257099033"/> - <reference ref="551969625"/> - <reference ref="249532473"/> - <reference ref="607364498"/> - <reference ref="508151438"/> - <reference ref="981751889"/> - <reference ref="380031999"/> - <reference ref="825984362"/> - <reference ref="560145579"/> - </array> - <reference key="parent" ref="31516759"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">509</int> - <reference key="object" ref="257099033"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">510</int> - <reference key="object" ref="551969625"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">511</int> - <reference key="object" ref="249532473"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">512</int> - <reference key="object" ref="607364498"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">513</int> - <reference key="object" ref="508151438"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">514</int> - <reference key="object" ref="981751889"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">515</int> - <reference key="object" ref="380031999"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">516</int> - <reference key="object" ref="825984362"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">517</int> - <reference key="object" ref="560145579"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">534</int> - <reference key="object" ref="738670835"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">536</int> - <reference key="object" ref="229185816"/> - <reference key="parent" ref="439893737"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">537</int> - <reference key="object" ref="204650252"/> - <array class="NSMutableArray" key="children"> - <reference ref="1020642038"/> - </array> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">538</int> - <reference key="object" ref="1020642038"/> - <reference key="parent" ref="204650252"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">539</int> - <reference key="object" ref="259992234"/> - <array class="NSMutableArray" key="children"> - <reference ref="169441016"/> - </array> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">540</int> - <reference key="object" ref="169441016"/> - <reference key="parent" ref="259992234"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">541</int> - <reference key="object" ref="18368935"/> - <array class="NSMutableArray" key="children"> - <reference ref="325942930"/> - </array> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">542</int> - <reference key="object" ref="325942930"/> - <reference key="parent" ref="18368935"/> - </object> - </array> - </object> - <dictionary class="NSMutableDictionary" key="flattenedProperties"> - <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="-3.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="112.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="124.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="125.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="126.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="129.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="130.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="131.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="134.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="136.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="143.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="144.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="145.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="149.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="150.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="19.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="195.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="196.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="197.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="198.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="199.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="200.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="201.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="202.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="203.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="204.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="205.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="206.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="207.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="208.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="209.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="210.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="211.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="212.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="213.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="214.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="215.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="216.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="217.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="218.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="219.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="220.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="221.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="23.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="236.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="239.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="24.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="29.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="295.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="296.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="297.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="298.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="346.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="348.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="349.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="350.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="351.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="354.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="371.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="371.IBWindowTemplateEditedContentRect">{{380, 496}, {480, 360}}</string> - <integer value="1" key="371.NSWindowTemplate.visibleAtLaunch"/> - <string key="372.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="375.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="376.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="377.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="388.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="389.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="390.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="391.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="392.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="393.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="394.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="395.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="396.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="397.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="398.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="399.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="400.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="401.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="402.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="403.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="404.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="405.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="406.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="407.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="408.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="409.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="410.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="411.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="412.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="413.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="414.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="415.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="416.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="417.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="418.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="419.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="420.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="450.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="451.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="452.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="453.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="454.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="457.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="459.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="460.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="462.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="465.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="466.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="485.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="490.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="491.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="492.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="494.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="496.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="497.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="498.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="499.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="5.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="500.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="501.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="502.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="503.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="504.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="505.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="506.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="507.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="508.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="509.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="510.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="511.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="512.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="513.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="514.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="515.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="516.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="517.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="534.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="536.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="537.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="538.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="539.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="540.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="541.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="542.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="56.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="57.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="58.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="72.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="73.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="74.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="75.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="77.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="78.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="79.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="81.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="82.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="83.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="92.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - </dictionary> - <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/> - <nil key="activeLocalization"/> - <dictionary class="NSMutableDictionary" key="localizations"/> - <nil key="sourceID"/> - <int key="maxID">542</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <array class="NSMutableArray" key="referencedPartialClassDescriptions"> - <object class="IBPartialClassDescription"> - <string key="className">AppDelegate</string> - <string key="superclassName">NSObject</string> - <object class="NSMutableDictionary" key="outlets"> - <string key="NS.key.0">window</string> - <string key="NS.object.0">NSWindow</string> - </object> - <object class="NSMutableDictionary" key="toOneOutletInfosByName"> - <string key="NS.key.0">window</string> - <object class="IBToOneOutletInfo" key="NS.object.0"> - <string key="name">window</string> - <string key="candidateClassName">NSWindow</string> - </object> - </object> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">./Classes/AppDelegate.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">HelloView</string> - <string key="superclassName">NSView</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">./Classes/HelloView.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSDocument</string> - <dictionary class="NSMutableDictionary" key="actions"> - <string key="printDocument:">id</string> - <string key="revertDocumentToSaved:">id</string> - <string key="runPageLayout:">id</string> - <string key="saveDocument:">id</string> - <string key="saveDocumentAs:">id</string> - <string key="saveDocumentTo:">id</string> - </dictionary> - <dictionary class="NSMutableDictionary" key="actionInfosByName"> - <object class="IBActionInfo" key="printDocument:"> - <string key="name">printDocument:</string> - <string key="candidateClassName">id</string> - </object> - <object class="IBActionInfo" key="revertDocumentToSaved:"> - <string key="name">revertDocumentToSaved:</string> - <string key="candidateClassName">id</string> - </object> - <object class="IBActionInfo" key="runPageLayout:"> - <string key="name">runPageLayout:</string> - <string key="candidateClassName">id</string> - </object> - <object class="IBActionInfo" key="saveDocument:"> - <string key="name">saveDocument:</string> - <string key="candidateClassName">id</string> - </object> - <object class="IBActionInfo" key="saveDocumentAs:"> - <string key="name">saveDocumentAs:</string> - <string key="candidateClassName">id</string> - </object> - <object class="IBActionInfo" key="saveDocumentTo:"> - <string key="name">saveDocumentTo:</string> - <string key="candidateClassName">id</string> - </object> - </dictionary> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">./Classes/NSDocument.h</string> - </object> - </object> - </array> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string> - <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - <dictionary class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes"> - <string key="NSMenuCheckmark">{9, 8}</string> - <string key="NSMenuMixedState">{7, 2}</string> - </dictionary> - </data> -</archive> diff --git a/experimental/bhuddle/Hello./Hello/main.m b/experimental/bhuddle/Hello./Hello/main.m deleted file mode 100644 index 01b8cd6..0000000 --- a/experimental/bhuddle/Hello./Hello/main.m +++ /dev/null @@ -1,14 +0,0 @@ -// -// main.m -// Hello -// -// Created by Aaron on 12/4/11. -// Copyright (c) 2011 __MyCompanyName__. All rights reserved. -// - -#import <Cocoa/Cocoa.h> - -int main(int argc, char *argv[]) -{ - return NSApplicationMain(argc, (const char **)argv); -} diff --git a/experimental/bhuddle/Hello./HelloTests/HelloTests-Info.plist b/experimental/bhuddle/Hello./HelloTests/HelloTests-Info.plist deleted file mode 100644 index 9d445a1..0000000 --- a/experimental/bhuddle/Hello./HelloTests/HelloTests-Info.plist +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIdentifier</key> - <string>aas.${PRODUCT_NAME:rfc1034identifier}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundlePackageType</key> - <string>BNDL</string> - <key>CFBundleShortVersionString</key> - <string>1.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>1</string> -</dict> -</plist> diff --git a/experimental/bhuddle/Hello./HelloTests/HelloTests.h b/experimental/bhuddle/Hello./HelloTests/HelloTests.h deleted file mode 100644 index e9f0480..0000000 --- a/experimental/bhuddle/Hello./HelloTests/HelloTests.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// HelloTests.h -// HelloTests -// -// Created by Aaron on 12/4/11. -// Copyright (c) 2011 __MyCompanyName__. All rights reserved. -// - -#import <SenTestingKit/SenTestingKit.h> - -@interface HelloTests : SenTestCase - -@end diff --git a/experimental/bhuddle/Hello./HelloTests/HelloTests.m b/experimental/bhuddle/Hello./HelloTests/HelloTests.m deleted file mode 100644 index 77feaee..0000000 --- a/experimental/bhuddle/Hello./HelloTests/HelloTests.m +++ /dev/null @@ -1,32 +0,0 @@ -// -// HelloTests.m -// HelloTests -// -// Created by Aaron on 12/4/11. -// Copyright (c) 2011 __MyCompanyName__. All rights reserved. -// - -#import "HelloTests.h" - -@implementation HelloTests - -- (void)setUp -{ - [super setUp]; - - // Set-up code here. -} - -- (void)tearDown -{ - // Tear-down code here. - - [super tearDown]; -} - -- (void)testExample -{ - STFail(@"Unit tests are not implemented yet in HelloTests"); -} - -@end diff --git a/experimental/bhuddle/Hello./HelloTests/en.lproj/InfoPlist.strings b/experimental/bhuddle/Hello./HelloTests/en.lproj/InfoPlist.strings deleted file mode 100644 index 477b28f..0000000 --- a/experimental/bhuddle/Hello./HelloTests/en.lproj/InfoPlist.strings +++ /dev/null @@ -1,2 +0,0 @@ -/* Localized versions of Info.plist keys */ - diff --git a/experimental/bhuddle/Hello./Makefile b/experimental/bhuddle/Hello./Makefile deleted file mode 100644 index aca8c01..0000000 --- a/experimental/bhuddle/Hello./Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# Top level Makefile for imageflip.app (which is using the Hello -# project from Xcode) - -PACKAGE = imageflip -XCODEPROJNAME = Hello -VERSION = 0.1 -APPNAME = $(PACKAGE).app -SOURCEDIR = Hello -RESOURCEDIR = Resources -MACOSTARGET = 10.7 - -export PACKAGE -export XCODEPROJNAME -export VERSION -export APPNAME -export SOURCEDIR -export RESOURCEDIR -export MACOSTARGET - -all clean imageflip: - cd $(SOURCEDIR) && $(MAKE) $@ - -$(APPNAME): FORCE - mkdir -p $(APPNAME)/Contents/MacOS - cp $(SOURCEDIR)/$(PACKAGE) $(APPNAME)/Contents/MacOS - mkdir -p $(APPNAME)/Contents/Resources/en.lproj - cp -r $(SOURCEDIR)/en.lproj $(APPNAME)/Contents/Resources/ - cp $(RESOURCEDIR)/* $(APPNAME)/Contents/Resources/ - cp $(SOURCEDIR)/Info.plist $(APPNAME)/Contents/. - echo 'APPL????' > $(APPNAME)/Contents/PkgInfo - -FORCE: - rm -rf $(APPNAME) - -.PHONY: FORCE all clean
\ No newline at end of file diff --git a/experimental/bhuddle/Hello./README b/experimental/bhuddle/Hello./README deleted file mode 100644 index f5fc548..0000000 --- a/experimental/bhuddle/Hello./README +++ /dev/null @@ -1,16 +0,0 @@ -Hello - -This is a setup project to make a Coco application -which switches between two images when given keyboard -input (the down arrow key). - -To run the project in Xcode follow these steps: - -To the run image flipper from the repo: -1. Cleared recent projects in x code (If you've recently - opened this project). -2. In Xcode Go to file > open and navigate the source - tree to the "Hello.xcodeproj" file. Open this project. -3. You may need to change some of the views (Views > - navigator > show project navigator) after opening - the project this way. diff --git a/experimental/bhuddle/Hello./Resources/Mac-Logo.jpg b/experimental/bhuddle/Hello./Resources/Mac-Logo.jpg Binary files differdeleted file mode 100644 index 09af714..0000000 --- a/experimental/bhuddle/Hello./Resources/Mac-Logo.jpg +++ /dev/null diff --git a/experimental/bhuddle/Hello./Resources/Mac-Logo2.jpg b/experimental/bhuddle/Hello./Resources/Mac-Logo2.jpg Binary files differdeleted file mode 100644 index e486352..0000000 --- a/experimental/bhuddle/Hello./Resources/Mac-Logo2.jpg +++ /dev/null diff --git a/experimental/bhuddle/check.txt b/experimental/bhuddle/check.txt deleted file mode 100644 index b899740..0000000 --- a/experimental/bhuddle/check.txt +++ /dev/null @@ -1 +0,0 @@ -Just checking to make sure that I have git working properly. diff --git a/experimental/carrbs/list/Makefile b/experimental/carrbs/list/Makefile deleted file mode 100644 index 10ff128..0000000 --- a/experimental/carrbs/list/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (c) 2012 Benjamin Carr -# -# Makefile for the context_list project -# - -CC = gcc -CFLAGS = -I/opt/X11/include/ -Wall -g -c -LDFLAGS = `pkg-config --libs xcb xcb-aux xcb-damage xcb-composite xcb-image` - -# Sources -SOURCES = context_list.h context_list.c -OBJECTS = $(SOURCES:.c=.o) - -# Name of executable target: -EXECUTABLE = context_list - -# XCB specific flags: -CFLAGS += `pkg-config --libs xcb xcb-aux xcb-damage xcb-composite xcb-image` - - -all: $(SOURCES) $(EXECUTABLE) - -$(EXECUTABLE): $(OBJECTS) - $(CC) $(CFLAGS) $(OBJECTS) -o $@ - -.c.o: - $(CC) $(CFLAGS) $< -o $@ - -clean: - rm $(OBJECTS) $(EXECUTABLE) diff --git a/experimental/carrbs/rootimg/rootimg.c b/experimental/carrbs/rootimg/rootimg.c deleted file mode 100644 index 45469bc..0000000 --- a/experimental/carrbs/rootimg/rootimg.c +++ /dev/null @@ -1,178 +0,0 @@ -/* Copyright (c) 2012 Jess VanDerwalker - * - * rootimg.c - */ - -#include <stdlib.h> -#include <stdio.h> -#include <xcb/xcb.h> -#include <xcb/xcb_image.h> -#include <xcb/xcb_aux.h> - - -/* Utility function to ease checking for request errors */ -int -RequestCheck (xcb_connection_t *conn, xcb_void_cookie_t cookie, - char *msg) -{ - xcb_generic_error_t *err; - - err = xcb_request_check(conn, cookie); - if (err) { - if (msg) { - fprintf(stderr, "ERROR: "); - fprintf(stderr, "%s\n",msg); - printf("ERROR: type: %d, error: %d, major: %d, minor: %d, res:%d\n", - err->response_type, err->error_code,err->major_code, - err->minor_code,err->resource_id); - //fprintf(stderr, "Error code: %d\n", error->error_code); - } - return err->error_code; - } - return 0; -} - -/* Utility function to get the geometry of the given window. Memory - * allocated for the xcb_get_geometry_reply_t must be freed by the - * caller */ -xcb_get_geometry_reply_t * -GetWindowGeometry (xcb_connection_t *conn, xcb_window_t window) -{ - xcb_get_geometry_cookie_t cookie; - cookie = xcb_get_geometry(conn, window); - return xcb_get_geometry_reply(conn, cookie, NULL); -} - -/* Main driver */ -int -main (int argc, char **argv) -{ - int conn_screen; - xcb_connection_t *from = xcb_connect(argv[1], &conn_screen); - xcb_connection_t *to = xcb_connect(NULL, NULL); - xcb_screen_t *root_screen; - xcb_drawable_t root_window; - xcb_drawable_t window; - - uint32_t mask; - uint32_t values[1]; - - xcb_void_cookie_t cookie; - - xcb_get_geometry_reply_t *geom_reply; - - xcb_image_t *image; - xcb_pixmap_t pixmap; - xcb_gcontext_t gc; - - /* By using NULL as first argument, the value of $DISPLAY is used */ - // conn = xcb_connect(NULL, &conn_screen); // this is already set. - root_screen = xcb_aux_get_screen(from, conn_screen); - root_window = root_screen->root; - - /* Get the geometry of the root window */ - geom_reply = GetWindowGeometry(from, root_window); - - /* Get the image of the root window */ - image = xcb_image_get(from, - root_window, - geom_reply->x, - geom_reply->y, - geom_reply->width, - geom_reply->height, - (unsigned int) ~0L, - XCB_IMAGE_FORMAT_Z_PIXMAP); - - /* Set up the events the window will recognize */ - mask = XCB_CW_EVENT_MASK; - values[0] = XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_KEY_PRESS; - - /* Create our new window. Make it half the size */ - window = xcb_generate_id(from); - cookie = xcb_create_window_checked(from, - XCB_COPY_FROM_PARENT, - window, - root_window, - geom_reply->x / 2, - geom_reply->y / 2, - geom_reply->width / 2, - geom_reply->height / 2, - geom_reply->border_width, - XCB_WINDOW_CLASS_INPUT_OUTPUT, - root_screen->root_visual, - mask, - values); - if (RequestCheck(from, cookie, "Failed to create new window")) { - exit(1); - } - - /* Map the window and flush the connection so it draws to the screen */ - xcb_map_window(to, window); - xcb_flush(to); - - /* Create the pixmap and associate it with our new window. */ - pixmap = xcb_generate_id(to); - cookie = xcb_create_pixmap(to, - geom_reply->depth, - pixmap, - window, - geom_reply->width, - geom_reply->height); - if (RequestCheck(to, cookie, "Failed to create pixmap")) { - exit(1); - } - - /* Put the root_window image into the pixmap. Note that a gc is - * created, but I believe it is ignored. */ - gc = xcb_generate_id(to); - xcb_create_gc(to, gc, window, 0, 0); - cookie = xcb_image_put(to, - pixmap, - gc, - image, - 0, - 0, - 0); - if (RequestCheck(to, cookie, "Failed to put image into pixmap")) { - exit(1); - } - - /* Copy the pixmap into the new window */ - cookie = xcb_copy_area(to, - pixmap, - window, - gc, - 0, - 0, - 0, - 0, - geom_reply->width, - geom_reply->height); - if (RequestCheck(to, cookie, "Failed to put image into pixmap")) { - exit(1); - } - - xcb_flush(to); - printf("hi!\n"); - while(1); -/* - //Enter infinte loop so the window stays open - while ((event = xcb_wait_for_event(conn))) { - switch (event->response_type & ~0x80) { - case XCB_KEY_PRESS: { - kpevent = (xcb_key_press_event_t *) event; - printf("A key was pressed\n"); - } - default: { - break; - } - } - } -*/ - /* Never get here, but if we could, would still want to clean up memory */ - free(geom_reply); - xcb_disconnect(to); - xcb_disconnect(from); - - return 0; -} diff --git a/experimental/dsnyder/Makefile b/experimental/dsnyder/Makefile deleted file mode 100644 index 545ca36..0000000 --- a/experimental/dsnyder/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (c) 2012 David Snyder -# -# Makefile for the rootimg project -# - -CC = gcc -CFLAGS = -I/opt/X11/include/ -Wall -g -c -LDFLAGS = `pkg-config --libs xcb xcb-aux xcb-damage xcb-composite xcb-image` - -# Sources -SOURCES = main.c rootimg_api.c util.c -OBJECTS = $(SOURCES:.c=.o) - -# Name of executable target: -EXECUTABLE = rootimg - -# XCB specific flags: -CFLAGS += `pkg-config --libs xcb xcb-aux xcb-damage xcb-composite xcb-image` - - -all: $(SOURCES) $(EXECUTABLE) - -$(EXECUTABLE): $(OBJECTS) - $(CC) $(LDFLAGS) $(OBJECTS) -o $@ - -.c.o: - $(CC) $(CFLAGS) $< -o $@ - -clean: - rm $(OBJECTS) $(EXECUTABLE) diff --git a/experimental/dsnyder/main.c b/experimental/dsnyder/main.c deleted file mode 100644 index 7a49772..0000000 --- a/experimental/dsnyder/main.c +++ /dev/null @@ -1,12 +0,0 @@ -#include <stdlib.h> -#include <stdio.h> -#include <xcb/xcb.h> -#include "rootimg_api.h" - -int -main(int argc, char **argv) { - - context_t context = init(argv[1]); - int ret = get_image(context); - return 0; -}
\ No newline at end of file diff --git a/experimental/dsnyder/rootimg.c b/experimental/dsnyder/rootimg.c deleted file mode 100644 index 6e30ba8..0000000 --- a/experimental/dsnyder/rootimg.c +++ /dev/null @@ -1,176 +0,0 @@ -/* Copyright (c) 2012 Jess VanDerwalker - * - * rootimg.c - * - * Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, copy, - * modify, merge, publish, distribute, sublicense, and/or sell copies - * of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - - -#include <stdlib.h> -#include <stdio.h> -#include <xcb/xcb.h> -#include <xcb/xcb_image.h> -#include <xcb/xcb_aux.h> -#include "util.h" - -/* Main driver */ -int -main (int argc, char **argv) -{ - xcb_connection_t *conn; - int conn_screen; - xcb_screen_t *root_screen; - xcb_drawable_t root_window; - xcb_connection_t *conn_two; - int conn_two_screen; - xcb_screen_t *root_two_screen; - xcb_drawable_t root_two_window; - xcb_drawable_t window; - - uint32_t mask; - uint32_t values[1]; - - xcb_void_cookie_t cookie; - - xcb_get_geometry_reply_t *geom_reply; - - xcb_generic_event_t *event; - - image_data_t img_data; - xcb_image_t *image; - xcb_pixmap_t pixmap; - xcb_gcontext_t gc; - - /* Check the first argument to see what display to connect to. If - empty, then use default display. */ - if (argc > 1) { - conn = xcb_connect(argv[1], &conn_screen); - } else { - conn = xcb_connect(NULL, &conn_screen); - } - root_screen = xcb_aux_get_screen(conn, conn_screen); - root_window = root_screen->root; - - /* Get the geometry of the root window */ - geom_reply = GetWindowGeometry(conn, root_window); - - WriteWindowInfo(conn, root_window); - WriteAllChildrenWindowInfo(conn, root_window); - img_data = GetWindowImageData(conn, root_window); - - xcb_flush(conn); - /* Get the image of the root window */ - image = xcb_image_get(conn, - root_window, - geom_reply->x, - geom_reply->y, - geom_reply->width, - geom_reply->height, - (unsigned int) ~0L, - XCB_IMAGE_FORMAT_Z_PIXMAP); - /* Set up the events the window will recognize */ - mask = XCB_CW_EVENT_MASK; - values[0] = XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_KEY_PRESS; - - /* Create our new window on the default display. Make it half the size */ - conn_two = xcb_connect(NULL, &conn_two_screen); - root_two_screen = xcb_aux_get_screen(conn_two, conn_two_screen); - root_two_window = root_two_screen->root; - window = xcb_generate_id(conn_two); - cookie = xcb_create_window_checked(conn_two, - XCB_COPY_FROM_PARENT, - window, - root_two_window, - geom_reply->x, - geom_reply->y, - geom_reply->width / 2, - geom_reply->height / 2, - geom_reply->border_width, - XCB_WINDOW_CLASS_INPUT_OUTPUT, - root_two_screen->root_visual, - mask, - values); - if (RequestCheck(conn_two, cookie, "Falied to create new window")) { - exit(1); - } - - WriteWindowInfo(conn_two, window); - /* Map the window and flush the connection so it draws to the screen */ - xcb_map_window(conn_two, window); - xcb_flush(conn_two); - WriteWindowInfo(conn_two, window); - - /* Create the pixmap and associate it with our new window. */ - pixmap = xcb_generate_id(conn_two); - cookie = xcb_create_pixmap(conn_two, - geom_reply->depth, - pixmap, - window, - geom_reply->width, - geom_reply->height); - if (RequestCheck(conn_two, cookie, "Failed to create pixmap")) { - exit(1); - } - - /* Put the root_window image into the pixmap. Note that a gc is - * created, but I believe it is ignored. */ - gc = xcb_generate_id(conn_two); - xcb_create_gc(conn_two, gc, window, 0, 0); - cookie = xcb_image_put(conn_two, - pixmap, - gc, - image, - 0, - 0, - 0); - if (RequestCheck(conn_two, cookie, "Failed to put image into pixmap")) { - exit(1); - } - - /* Copy the pixmap into the new window */ - cookie = xcb_copy_area(conn_two, - pixmap, - window, - gc, - 0, - 0, - 0, - 0, - geom_reply->width / 2, - geom_reply->height / 2); - if (RequestCheck(conn_two, cookie, "Failed to put image into pixmap")) { - exit(1); - } - - xcb_flush(conn_two); - WriteWindowInfo(conn_two, window); - - /* Enter infinte loop so the window stays open */ - while (1) { - } - - /* Never get here, but if we could, would still want to clean up memory */ - free(geom_reply); - xcb_disconnect(conn); - xcb_disconnect(conn_two); - - return 0; -} diff --git a/experimental/dsnyder/rootimg_api.c b/experimental/dsnyder/rootimg_api.c deleted file mode 100644 index 12f366c..0000000 --- a/experimental/dsnyder/rootimg_api.c +++ /dev/null @@ -1,197 +0,0 @@ -/* Copyright (c) 2012 David Snyder - * - * rootimg_api.h - * - * Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, copy, - * modify, merge, publish, distribute, sublicense, and/or sell copies - * of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -#ifndef _ROOTIMG_API_C_ -#define _ROOTIMG_API_C_ - -#include "rootimg_api.h" - - -context_t -init(char *screen) { - xcb_connection_t *conn; - int conn_screen; - xcb_screen_t *root_screen; - xcb_drawable_t root_window; - xcb_drawable_t window; // Is this one needed here? - xcb_void_cookie_t cookie; - - xcb_get_geometry_reply_t *geom_reply; - - xcb_generic_event_t *event; - - xcb_gcontext_t gc; - - conn = xcb_connect(screen, &conn_screen); - - root_screen = xcb_aux_get_screen(conn, conn_screen); - root_window = root_screen->root; - - /* Get the geometry of the root window */ - geom_reply = GetWindowGeometry(conn, root_window); - - WriteWindowInfo(conn, root_window); - WriteAllChildrenWindowInfo(conn, root_window); - - xcb_flush(conn); - - context_t init_reply; - init_reply.conn = conn; - init_reply.window = root_window; - - return init_reply; -} - -int -get_image(context_t context) { - - // TEMP until we can return an image - xcb_connection_t *conn_two; - int conn_two_screen; - xcb_screen_t *root_two_screen; - xcb_drawable_t root_two_window; - xcb_drawable_t window; - uint32_t mask; - uint32_t values[1]; - xcb_void_cookie_t cookie; - xcb_pixmap_t pixmap; - xcb_gcontext_t gc; - // END TEMP - - xcb_get_geometry_reply_t *geom_reply; - - image_data_t img_data; - xcb_image_t *image; - - geom_reply = GetWindowGeometry(context.conn, context.window); - - WriteWindowInfo(context.conn, context.window); - WriteAllChildrenWindowInfo(context.conn, context.window); - img_data = GetWindowImageData(context.conn, context.window); - - xcb_flush(context.conn); - /* Get the image of the root window */ - image = xcb_image_get(context.conn, - context.window, - geom_reply->x, - geom_reply->y, - geom_reply->width, - geom_reply->height, - (unsigned int) ~0L, - XCB_IMAGE_FORMAT_Z_PIXMAP); - /* Set up the events the window will recognize */ - mask = XCB_CW_EVENT_MASK; - values[0] = XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_KEY_PRESS; - - /* Create our new window on the default display. Make it half the size */ - conn_two = xcb_connect(NULL, &conn_two_screen); - root_two_screen = xcb_aux_get_screen(conn_two, conn_two_screen); - root_two_window = root_two_screen->root; - window = xcb_generate_id(conn_two); - cookie = xcb_create_window_checked(conn_two, - XCB_COPY_FROM_PARENT, - window, - root_two_window, - geom_reply->x, - geom_reply->y, - geom_reply->width / 2, - geom_reply->height / 2, - geom_reply->border_width, - XCB_WINDOW_CLASS_INPUT_OUTPUT, - root_two_screen->root_visual, - mask, - values); - if (RequestCheck(conn_two, cookie, "Falied to create new window")) { - exit(1); - } - - WriteWindowInfo(conn_two, window); - /* Map the window and flush the connection so it draws to the screen */ - xcb_map_window(conn_two, window); - xcb_flush(conn_two); - WriteWindowInfo(conn_two, window); - - /* Create the pixmap and associate it with our new window. */ - pixmap = xcb_generate_id(conn_two); - cookie = xcb_create_pixmap(conn_two, - geom_reply->depth, - pixmap, - window, - geom_reply->width, - geom_reply->height); - if (RequestCheck(conn_two, cookie, "Failed to create pixmap")) { - exit(1); - } - - /* Put the root_window image into the pixmap. Note that a gc is - * created, but I believe it is ignored. */ - gc = xcb_generate_id(conn_two); - xcb_create_gc(conn_two, gc, window, 0, 0); - cookie = xcb_image_put(conn_two, - pixmap, - gc, - image, - 0, - 0, - 0); - if (RequestCheck(conn_two, cookie, "Failed to put image into pixmap")) { - exit(1); - } - - /* Copy the pixmap into the new window */ - cookie = xcb_copy_area(conn_two, - pixmap, - window, - gc, - 0, - 0, - 0, - 0, - geom_reply->width / 2, - geom_reply->height / 2); - if (RequestCheck(conn_two, cookie, "Failed to put image into pixmap")) { - exit(1); - } - - xcb_flush(conn_two); - WriteWindowInfo(conn_two, window); - - //Remove later - /* Enter infinte loop so the window stays open */ - while (1) { - } - - - /* Never get here, but if we could, would still want to clean up memory */ - free(geom_reply); - - // Move disconnects into destructor function - xcb_disconnect(context.conn); - xcb_disconnect(conn_two); - - return 0; -} - -#endif _ROOTIMG_API_C_
\ No newline at end of file diff --git a/experimental/dsnyder/rootimg_api.h b/experimental/dsnyder/rootimg_api.h deleted file mode 100644 index f4f9364..0000000 --- a/experimental/dsnyder/rootimg_api.h +++ /dev/null @@ -1,54 +0,0 @@ -/* Copyright (c) 2012 David Snyder - * - * rootimg_api.h - * - * Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, copy, - * modify, merge, publish, distribute, sublicense, and/or sell copies - * of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - - -#ifndef _ROOTIMG_API_H_ -#define _ROOTIMG_API_H_ - -#include <stdlib.h> -#include <stdio.h> -#include <xcb/xcb.h> -#include <xcb/xcb_image.h> -#include <xcb/xcb_aux.h> -#include "util.h" - - -typedef struct context_t { - xcb_connection_t *conn; - xcb_drawable_t window; -} context_t; - - -/** - * Sets up the connection and grabs the root window from the specified screen - * @param screen The screen that we wish to connect to - */ -context_t -init(char *screen); - -int -get_image(context_t context); - -#endif _ROOTIMG_API_H_
\ No newline at end of file diff --git a/experimental/dsnyder/util.c b/experimental/dsnyder/util.c deleted file mode 100644 index afd7fc8..0000000 --- a/experimental/dsnyder/util.c +++ /dev/null @@ -1,186 +0,0 @@ -/* Copyright (c) 2012 Jess VanDerwalker - * - * util.c - * - * Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, copy, - * modify, merge, publish, distribute, sublicense, and/or sell copies - * of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -#include "util.h" - -xcb_get_window_attributes_reply_t * -GetWindowAttributes (xcb_connection_t *conn, xcb_window_t window) -{ - xcb_get_window_attributes_reply_t *reply; - xcb_generic_error_t *error; - xcb_get_window_attributes_cookie_t cookie; - - cookie = xcb_get_window_attributes(conn, window); - reply = xcb_get_window_attributes_reply(conn, cookie, &error); - if (error) { - fprintf(stderr, "ERROR: Failed to get window attributes: %d\n", - error->error_code); - return NULL; - } - return reply; -} - -xcb_get_geometry_reply_t * -GetWindowGeometry (xcb_connection_t *conn, xcb_window_t window) -{ - xcb_get_geometry_cookie_t cookie; - cookie = xcb_get_geometry(conn, window); - return xcb_get_geometry_reply(conn, cookie, NULL); -} - - -void WriteAllChildrenWindowInfo (xcb_connection_t *conn, - xcb_window_t root) -{ - - xcb_query_tree_reply_t *reply; - xcb_query_tree_cookie_t tree_cookie; - xcb_window_t *children; /* The children of the given root */ - image_data_t img_data; - xcb_generic_error_t *error; - int len; - int i; - - tree_cookie = xcb_query_tree(conn, root); - reply = xcb_query_tree_reply(conn, tree_cookie, &error); - if (error) { - fprintf(stderr, "ERROR: Failed to get query tree: %d\n", - error->error_code); - return; - } - /* Get the number of children */ - len = xcb_query_tree_children_length(reply); - children = xcb_query_tree_children(reply); - - /* Iterate thorough all the children and get their pixmap (hopefully) */ - printf("--- Iterating through children of window %ld ---\n", - root); - for (i = 0; i < len; i++) { - WriteWindowInfo(conn, children[i]); - img_data = GetWindowImageData(conn, children[i]); - if (!img_data.data) { - printf("Image data is empty\n"); - } - } - printf("--- End window iteration ---\n"); - - /* Free the stuff allocated by XCB */ - free(reply); -} - -image_data_t -GetWindowImageData (xcb_connection_t *conn, xcb_drawable_t window) -{ - image_data_t image_data; - xcb_get_image_cookie_t img_cookie; - xcb_get_image_reply_t *reply; - xcb_generic_error_t *error; - xcb_get_geometry_reply_t *geom_reply; - - image_data.data = NULL; - image_data.length = 0; - - geom_reply = GetWindowGeometry(conn, window); - if (!geom_reply) { - fprintf(stderr, "ERROR: Failed to get window image data.\n"); - return image_data; - } - - img_cookie = xcb_get_image(conn, - XCB_IMAGE_FORMAT_Z_PIXMAP, - window, - 0, - 0, - geom_reply->width, - geom_reply->height, - (unsigned int) ~0L); - - reply = xcb_get_image_reply(conn, img_cookie, &error); - if (error) { - fprintf(stderr, "ERROR: Failed to get window image data reply: %d\n", - error->error_code); - return image_data; - } - image_data.data = xcb_get_image_data(reply); - image_data.length = xcb_get_image_data_length(reply); - - free(geom_reply); - /* free(reply); */ - - return image_data; -} - -void -WriteWindowInfo (xcb_connection_t *conn, xcb_window_t window) -{ - xcb_get_geometry_reply_t *geom_reply; - xcb_get_window_attributes_reply_t *attr_reply; - - geom_reply = GetWindowGeometry(conn, window); - if (!geom_reply) { - printf("Failed to get geometry for window %ld\n", window); - return; - } - attr_reply = GetWindowAttributes(conn, window); - if (!attr_reply) { - printf("Failed to get attributes for window %ld\n", window); - return; - } - - /* Print out the geometry and attributes we're interested in */ - printf("Window Id: %ld\n", window); - printf("x: %d\ty: %d\n", geom_reply->x, geom_reply->y); - printf("width: %d\theight: %d\n", geom_reply->width, geom_reply->height); - - printf("Map state: "); - if (attr_reply->map_state == XCB_MAP_STATE_UNMAPPED) { - printf("Unmapped\n"); - } else if (attr_reply->map_state == XCB_MAP_STATE_UNVIEWABLE) { - printf("Unviewable\n"); - } else { - printf("Viewable\n"); - } - - free(geom_reply); - free(attr_reply); -} - -int -RequestCheck (xcb_connection_t *conn, xcb_void_cookie_t cookie, - char *msg) -{ - xcb_generic_error_t *error; - - error = xcb_request_check(conn, cookie); - if (error) { - if (msg) { - fprintf(stderr, "ERROR: "); - fprintf(stderr, msg); - fprintf(stderr, "\nError code: %d\n", error->error_code); - } - return error->error_code; - } - return 0; -} diff --git a/experimental/dsnyder/util.h b/experimental/dsnyder/util.h deleted file mode 100644 index 9e3a041..0000000 --- a/experimental/dsnyder/util.h +++ /dev/null @@ -1,95 +0,0 @@ -/* Copyright (c) 2012 Jess VanDerwalker - * - * util.h - * - * Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, copy, - * modify, merge, publish, distribute, sublicense, and/or sell copies - * of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -#ifndef _UTIL_H_ -#define _UTIL_H_ - -#include <stdlib.h> -#include <stdio.h> -#include <xcb/xcb.h> - -typedef struct image_data_t { - uint8_t *data; - int length; -} image_data_t; - -/** - * Return the given windows attributes reply. Caller must free memory - * allocated for reply. - * @param conn The windows connection. - * @param window The window. - * @return The window attributes reply. Null if the request fails. - */ -xcb_get_window_attributes_reply_t * -GetWindowAttributes (xcb_connection_t *conn, xcb_window_t window); - -/** - * Return the geometry of the window in a geometry reply. Caller must free - * memory allocated for reply. - * @param conn The windows connection. - * @param window The window. - * @return The window's geometry reply. Null if the request for reply fails. - */ -xcb_get_geometry_reply_t * -GetWindowGeometry (xcb_connection_t *conn, xcb_window_t window); - -/** - * Print out information about the existing windows attached to our - * root. Most of this code is taken from src/manage.c from the i3 code - * by Michael Stapelberg - */ -void WriteAllChildrenWindowInfo (xcb_connection_t *conn, - xcb_window_t root); - -/** - * Get the image data for a window. - * @param conn The connection to the xserver. - * @param window The window. - * @return Structure containing data and data length - */ -image_data_t -GetWindowImageData (xcb_connection_t *conn, xcb_window_t window); - -/** - * Write information about a window out to stdio. - * TODO: Add the ability to pass in the stream to write to. - * @param conn The connection with the window. - * @param window The window. - */ -void -WriteWindowInfo (xcb_connection_t *conn, xcb_window_t window); - -/** - * Check the request cookie and determine if there is an error. - * @param conn The connection the request was sent on. - * @param cookie The cookie returned by the request. - * @param msg the string to display if there is an error with the request. - * @return int The number of the error code, if any. Otherwise zero. - */ -int -RequestCheck (xcb_connection_t *conn, xcb_void_cookie_t cookie, - char *msg); - -#endif /* _UTIL_H_ */ diff --git a/experimental/jvanderw/lp-xcb/Makefile b/experimental/jvanderw/lp-xcb/Makefile deleted file mode 100644 index b9bd3f9..0000000 --- a/experimental/jvanderw/lp-xcb/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright (c) 2011 Jess VanDerwalker -# - -CC = gcc -CFLAGS = -Wall -g -c -LDFLAGS = `pkg-config --libs xcb xcb-aux xcb-damage xcb-composite xcb-image` - -# Sources -SOURCES = lpxcb.c lpxcb_table.c lpxcb_damage.c lpxcb_event.c lpxcb_util.c lpxcb_api.c lpxcb_data.h -OBJECTS = $(SOURCES:.c=.o) - -# Name of executable target: -EXECUTABLE = lpxcb-ex - -# XCB specific flags: -CFLAGS += `pkg-config --libs xcb xcb-aux xcb-damage xcb-composite xcb-image` - - -all: $(SOURCES) $(EXECUTABLE) - -$(EXECUTABLE): $(OBJECTS) - $(CC) $(LDFLAGS) $(OBJECTS) -o $@ - -.c.o: - $(CC) $(CFLAGS) $< -o $@ - -clean: - rm $(OBJECTS) $(EXECUTABLE) diff --git a/experimental/jvanderw/lp-xcb/lpxcb.c b/experimental/jvanderw/lp-xcb/lpxcb.c deleted file mode 100644 index c9ee727..0000000 --- a/experimental/jvanderw/lp-xcb/lpxcb.c +++ /dev/null @@ -1,190 +0,0 @@ -/* Copyright (c) 2011 Jess VanDerwalker - * - * lpxcb is an attempt to recreate Keith Packards lightpipe using the - * XCB library instead Xlib */ - -#include <stdlib.h> -#include <unistd.h> -#include <stdio.h> -#include <string.h> -#include <xcb/xcb.h> -#include <xcb/xcb_image.h> -#include "lpxcb_data.h" -#include "lpxcb_api.h" -#include "lpxcb_table.h" -#include "lpxcb_util.h" -#include "lpxcb_damage.h" - -int -main (int argc, char **argv) -{ - xcb_connection_t *conn; - xcb_connection_t *new_conn; - int conn_screen; /* Number of the screen we're be connected to */ - xcb_screen_t *root_screen; - xcb_drawable_t root_window; - xcb_drawable_t new_window = 0; - lpxcb_window_t *lpxcb_window; - uint8_t root_depth; - xcb_query_pointer_cookie_t ptr_cookie; - xcb_void_cookie_t void_cookie; - xcb_get_geometry_reply_t *geom_reply; - uint32_t mask; - uint32_t values[1]; - xcb_generic_event_t *event; - int error; - - /* Get the connection, root screen and root window - as well as - * geometry of root window, its depth and the query pointer? */ - conn = xcb_connect(NULL, &conn_screen); - root_screen = xcb_aux_get_screen(conn, conn_screen); - root_window = root_screen->root; - lpxcb_set_root_window(root_window); - root_depth = root_screen->root_depth; - ptr_cookie = xcb_query_pointer(conn, root_window); - - geom_reply = lpxcb_get_window_geometry(conn, root_window); - if (geom_reply == NULL) { - fprintf(stderr, "ERROR: Could not get geometry of the root window, exiting\n"); - return 1; - } - printf("For window id: %ld\n", (unsigned int)((uint32_t)root_window) ); - printf("x: %d, y: %d\n", geom_reply->x, geom_reply->y); - printf("height: %d, width: %d\n", geom_reply->height, geom_reply->width); - - mask = XCB_CW_EVENT_MASK; - values[0] = XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT | - XCB_EVENT_MASK_POINTER_MOTION | - XCB_EVENT_MASK_PROPERTY_CHANGE | - XCB_EVENT_MASK_ENTER_WINDOW; - - /* Get the image from the root window */ - xcb_get_image_cookie_t img_cookie; - img_cookie = xcb_get_image(conn, XCB_IMAGE_FORMAT_Z_PIXMAP, root_window, - geom_reply->x, geom_reply->y, - geom_reply->width, geom_reply->height, - (unsigned int) ~0L); - - xcb_get_image_reply_t *img_reply; - img_reply = xcb_get_image_reply(conn, img_cookie, NULL); - - uint8_t *img_data; - img_data = xcb_get_image_data(img_reply); - error = xcb_get_image_data_length(img_reply); - - - xcb_image_t *image; - image = xcb_image_get(conn, root_window, - geom_reply->x, geom_reply->y, - geom_reply->width, geom_reply->height, - (unsigned int) ~0L, - XCB_IMAGE_FORMAT_Z_PIXMAP); - - /* Add the window to our data structure */ - lpxcb_window = lpxcb_add_window(conn, root_window); - - xcb_flush(conn); - - /* Start the event loop before we create our window */ - while (1) { - lpxcb_window = lpxcb_check_window(conn, root_window); - if (!new_window) { - /* Right now, assume the same screen as the first connection */ - /* new_conn = xcb_connect(NULL, &conn_screen); */ - /* root_screen = xcb_aux_get_screen(conn, conn_screen); */ - /* geom_reply = lpxcb_get_window_geometry(conn, lpxcb_window->window); */ - /* new_window = xcb_generate_id(new_conn); */ - /* void_cookie = xcb_create_window_checked(new_conn, */ - /* XCB_COPY_FROM_PARENT, */ - /* new_window, */ - /* root_screen->root, */ - /* geom_reply->x, */ - /* geom_reply->y, */ - /* geom_reply->height, */ - /* geom_reply->width, */ - /* geom_reply->border_width, */ - /* XCB_WINDOW_CLASS_INPUT_OUTPUT, */ - /* root_screen->root_visual, */ - /* 0, */ - /* 0); */ - /* error = lpxcb_check_request(new_conn, void_cookie, "Failed to create new window"); */ - /* if (error) { */ - /* exit(1); */ - /* } */ - - /* /\* xcb_map_window(new_conn, new_window); *\/ */ - /* xcb_flush(new_conn); */ - - xcb_drawable_t p_window; - p_window = xcb_generate_id(conn); - void_cookie = xcb_create_window_checked(conn, - XCB_COPY_FROM_PARENT, - p_window, - root_screen->root, - geom_reply->x, - geom_reply->y, - geom_reply->height, - geom_reply->width, - geom_reply->border_width, - XCB_WINDOW_CLASS_INPUT_OUTPUT, - root_screen->root_visual, - 0, - 0); - error = lpxcb_check_request(conn, void_cookie, "Failed to create new window"); - - xcb_map_window(conn, p_window); - - xcb_gcontext_t gc = xcb_generate_id (conn); - void_cookie = xcb_create_gc_checked(conn, gc, p_window, 0, 0); - lpxcb_check_request(conn, void_cookie, "Failed to create gc"); - - - - xcb_pixmap_t pixmap = xcb_generate_id(conn); - void_cookie = xcb_create_pixmap(conn, - geom_reply->depth, - pixmap, - p_window, - geom_reply->width, - geom_reply->height); - lpxcb_check_request(conn, void_cookie, "Failed to create pixmap"); - - void_cookie = xcb_image_put(conn, pixmap, gc, image, - 0, 0, 0); - lpxcb_check_request(conn, void_cookie, "Failed to put image"); - - /* void_cookie = xcb_copy_area (conn, */ - /* root_window, */ - /* pixmap, */ - /* gc, */ - /* 500, */ - /* 500, */ - /* 0, */ - /* 0, */ - /* 800, */ - /* 800); */ - /* lpxcb_check_request(conn, void_cookie, "Failed to copy area"); */ - - void_cookie = xcb_copy_area (conn, - pixmap, - p_window, - gc, - 0, - 0, - 0, - 0, - 800, - 800); - lpxcb_check_request(conn, void_cookie, "Failed to copy area"); - - - lpxcb_remove_damage(lpxcb_window); - - xcb_flush(conn); - } - } - - free(geom_reply); - xcb_disconnect(conn); - return 0; -} diff --git a/experimental/jvanderw/lp-xcb/lpxcb_api.c b/experimental/jvanderw/lp-xcb/lpxcb_api.c deleted file mode 100644 index 77593b4..0000000 --- a/experimental/jvanderw/lp-xcb/lpxcb_api.c +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (c) 2011 Jess VanDerwalker - * - * lpxcb_api.c - */ - - -#include "lpxcb_api.h" - -/** - * Return an lpxcb_window_t if there is damage, otherwise 0 - */ - -lpxcb_window_t * -lpxcb_check_window (xcb_connection_t *conn, xcb_window_t window) -{ - lpxcb_window_t *lpxcb_window; - - lpxcb_handle_events(conn); - - lpxcb_window = lpxcb_find_damaged(conn); - - while (lpxcb_window) { - if (lpxcb_window->window == window) { - lpxcb_update_window(lpxcb_window); - return lpxcb_window; - } - lpxcb_window = lpxcb_window->next_damaged; - } - - return lpxcb_window; -} diff --git a/experimental/jvanderw/lp-xcb/lpxcb_api.h b/experimental/jvanderw/lp-xcb/lpxcb_api.h deleted file mode 100644 index b7695db..0000000 --- a/experimental/jvanderw/lp-xcb/lpxcb_api.h +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (c) 2011 Jess VanDerwalker - * - * lpxcb.h - */ - -#ifndef _LPXCB_API_H_ -#define _LPXCB_API_H_ - -#include <stdlib.h> -#include <stdio.h> -#include <xcb/xcb.h> - -#include "lpxcb_data.h" -#include "lpxcb_damage.h" -#include "lpxcb_event.h" - - - -/** - * Return an lpxcb_window_t if there is damage, otherwise 0 - */ -lpxcb_window_t * -lpxcb_check_window (xcb_connection_t *conn, xcb_window_t window); - -#endif /* _LPXCB_API_H_ */ diff --git a/experimental/jvanderw/lp-xcb/lpxcb_damage.c b/experimental/jvanderw/lp-xcb/lpxcb_damage.c deleted file mode 100644 index 65a70e8..0000000 --- a/experimental/jvanderw/lp-xcb/lpxcb_damage.c +++ /dev/null @@ -1,178 +0,0 @@ -/* Copyright (c) 2011 Jess VanDerwalker - * - * lpxcb_damage.c - */ - - -#include "lpxcb_damage.h" -#include "lpxcb_table.h" - - -lpxcb_window_t * -lpxcb_find_damaged (xcb_connection_t *conn) -{ - lpxcb_connection_t *lpxcb_conn; - - lpxcb_conn = lpxcb_find_connection(conn); - return lpxcb_conn->damaged; -} - -/* Most of this code is taken directly from Keith Packard's - * _xlightpipe_damage_window function in his Lightpipe */ -void -lpxcb_damage_window(lpxcb_window_t *lpxcb_window, int x, int y, int width, int height) -{ - lpxcb_connection_t *lpxcb_conn; - lpxcb_window_t **prev; - int old_x; - int new_x; - int old_y; - int new_y; - xcb_rectangle_t rect; - xcb_xfixes_region_t new_region; - xcb_void_cookie_t cookie; - - /* Add this window as the "next damaged" in the chain of "damaged" - * windows. Chain starts with the lpxcb_conn->damaged */ - lpxcb_conn = lpxcb_find_connection(lpxcb_window->conn); - if (!lpxcb_conn) - return; - for (prev = &lpxcb_conn->damaged; *prev; prev = &(*prev)->next_damaged) { - if ((*prev) == lpxcb_window) - return; - } - lpxcb_window->next_damaged = *prev; - *prev = lpxcb_window; - - /* If we have no existing values for damage area, just use given - * dimentions. */ - if (lpxcb_window->damage_rect.width == 0) { - lpxcb_window->damage_rect.x = x; - lpxcb_window->damage_rect.y = y; - lpxcb_window->damage_rect.width = width; - lpxcb_window->damage_rect.height = height; - } else { - /* If we have existing dimentions, have the new dimentions - * include the area given by the existing dimentions, and the - * new ones. */ - old_x = lpxcb_window->damage_rect.x + lpxcb_window->damage_rect.width; - old_y = lpxcb_window->damage_rect.y + lpxcb_window->damage_rect.height; - new_x = x + width; - new_y = y + height; - - if (x < lpxcb_window->damage_rect.x) - lpxcb_window->damage_rect.x = x; - if (new_x > old_x) - old_x = new_x; - lpxcb_window->damage_rect.width = old_x - lpxcb_window->damage_rect.x; - if (y < lpxcb_window->damage_rect.y) - lpxcb_window->damage_rect.y = y; - if (new_y > old_y) - old_y = new_y; - lpxcb_window->damage_rect.height = old_y - lpxcb_window->damage_rect.y; - } - - /* If there is a damage region, union the new rectangle with the existing region */ - if (lpxcb_window->region) - { - rect.x = x; - rect.y = y; - rect.width = width; - rect.height = height; - - new_region = xcb_generate_id(lpxcb_conn->conn); - xcb_xfixes_region_t dest; - dest = xcb_generate_id(lpxcb_conn->conn); - cookie = xcb_xfixes_create_region_checked(lpxcb_conn->conn, new_region, 1, &rect); - if (lpxcb_check_request(lpxcb_conn->conn, cookie, - "Failed to set new region from rectangle")) { - return; - } - xcb_aux_sync(lpxcb_conn->conn); - lpxcb_get_region_rects(lpxcb_conn->conn, new_region); - lpxcb_get_region_rects(lpxcb_conn->conn, lpxcb_window->region); - cookie = xcb_xfixes_union_region_checked(lpxcb_conn->conn, - new_region, - lpxcb_window->region, - lpxcb_window->region); - if (lpxcb_check_request(lpxcb_conn->conn, cookie, - "Failed to union regions")) { - return; - } - } -} - - -/* Most of this code is taken directly from Keith Packard's - * _xlightpipe_undamage_window function in his Lightpipe */ -void -lpxcb_remove_damage (lpxcb_window_t *lpxcb_window) -{ - lpxcb_connection_t *lpxcb_conn; - lpxcb_window_t **prev; - xcb_xfixes_region_t empty_region; - xcb_void_cookie_t cookie; - - /* Remove the window from the links of damaged windows */ - lpxcb_conn = lpxcb_find_connection(lpxcb_window->conn); - if (!lpxcb_conn) - return; - for (prev = &lpxcb_conn->damaged; *prev; prev = &(*prev)->next_damaged) { - if ((*prev) == lpxcb_window) - { - *prev = lpxcb_window->next_damaged; - break; - } - } - - /* Clear the damage rectangle */ - lpxcb_window->damage_rect.x = 0; - lpxcb_window->damage_rect.y = 0; - lpxcb_window->damage_rect.width = 0; - lpxcb_window->damage_rect.height = 0; - - if (lpxcb_window->region) { - empty_region = xcb_generate_id(lpxcb_conn->conn); - cookie = xcb_xfixes_create_region_checked(lpxcb_conn->conn, empty_region, - 1, &lpxcb_window->damage_rect); - if (lpxcb_check_request(lpxcb_conn->conn, cookie, - "Failed to create empty region")) { - return; - } - - cookie = xcb_xfixes_destroy_region_checked(lpxcb_conn->conn, - empty_region); - if (lpxcb_check_request(lpxcb_conn->conn, cookie, - "Failed to destroy empty region")) { - return; - } - } -} - - -void -lpxcb_update_window(lpxcb_window_t *lpxcb_window) -{ - xcb_void_cookie_t cookie; - - /* Set the damage dimentions we have into a region */ - cookie = xcb_xfixes_set_region_checked(lpxcb_window->conn, - lpxcb_window->repair, - 1, - &lpxcb_window->damage_rect); - if (lpxcb_check_request(lpxcb_window->conn, cookie, - "Failed to set region with damage_rect")) { - return; - } - - cookie = xcb_damage_subtract_checked(lpxcb_window->conn, - lpxcb_window->damage, - lpxcb_window->repair, - NULL); - if (lpxcb_check_request(lpxcb_window->conn, cookie, - "Failed to subtract damage")) { - return; - } - - /* TODO: Need to copy the image */ -} diff --git a/experimental/jvanderw/lp-xcb/lpxcb_damage.h b/experimental/jvanderw/lp-xcb/lpxcb_damage.h deleted file mode 100644 index 98bffde..0000000 --- a/experimental/jvanderw/lp-xcb/lpxcb_damage.h +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright (c) 2011 Jess VanDerwalker - * - * lpxcb_damage.h - */ - -#ifndef _LPXCB_DAMAGE_H_ -#define _LPXCB_DAMAGE_H_ - -#include <xcb/xcb.h> -#include "lpxcb_data.h" -#include "lpxcb_table.h" -#include "lpxcb_util.h" - -/** - * Find the next damaged window - */ -lpxcb_window_t * -lpxcb_find_damaged (xcb_connection_t *conn); - -/** - * Add damage to the given window - */ -void -lpxcb_damage_window(lpxcb_window_t *lpxcb_window, - int x, int y, - int width, int height); - -/** - * Remove damage from the given window - */ -void -lpxcb_remove_damage(lpxcb_window_t *lpxcb_window); - -/** - * Update the damage of the window - */ -void -lpxcb_update_window(lpxcb_window_t *lpxcb_window); - -#endif /* _LPXCB_DAMAGE_H_ */ diff --git a/experimental/jvanderw/lp-xcb/lpxcb_data.h b/experimental/jvanderw/lp-xcb/lpxcb_data.h deleted file mode 100644 index ba11a6f..0000000 --- a/experimental/jvanderw/lp-xcb/lpxcb_data.h +++ /dev/null @@ -1,61 +0,0 @@ -/* Copyright (c) 2012 Jess VanDerwalker - * - * lpxcb_data.h - */ - -#ifndef _LPXCB_DATA_H_ -#define _LPXCB_DATA_H_ - -#include <xcb/xcb.h> -#include <xcb/xproto.h> -#include <xcb/damage.h> -#include <xcb/xfixes.h> -#include <xcb/xcb_aux.h> - -/* Holds information for a window */ -typedef struct lpxcb_window_t { - /* The connection associated with this window */ - xcb_connection_t *conn; - /* The id of this window */ - xcb_drawable_t window; - /* The id of this parent's window, if it has one. */ - xcb_drawable_t parent; - /* Rectangle used to manage damage */ - xcb_rectangle_t damage_rect; - /* Damage associated with this window */ - xcb_damage_damage_t damage; - /* Region of window marked as damage area */ - xcb_xfixes_region_t region; - xcb_xfixes_region_t repair; - /* The next window with damage */ - struct lpxcb_window_t *next_damaged; - /* Should we have something for the pixmap? */ -} lpxcb_window_t; - - -/* Node to hold window in table */ -typedef struct table_node_t { - lpxcb_window_t *entry; - struct table_node_t *prev; - struct table_node_t *next; -} table_node_t; - - -/* Connection */ -typedef struct lpxcb_connection_t { - /* The XCB connection */ - xcb_connection_t *conn; - /* Damaged lpxcb_window_t */ - lpxcb_window_t *damaged; -} lpxcb_connection_t; - - -/* Node for connection data structure */ -typedef struct conn_node_t { - lpxcb_connection_t *lpxcb_conn; - struct conn_node_t *next; - struct conn_node_t *prev; -} conn_node_t; - - -#endif /* _LPXCB_DATA_H_ */ diff --git a/experimental/jvanderw/lp-xcb/lpxcb_event.c b/experimental/jvanderw/lp-xcb/lpxcb_event.c deleted file mode 100644 index 53a147b..0000000 --- a/experimental/jvanderw/lp-xcb/lpxcb_event.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright (c) 2011 Jess VanDerwalker - * - * lpxcb_event.c - */ - -#include "lpxcb_event.h" - -void -lpxcb_handle_events(xcb_connection_t *conn) -{ - xcb_generic_event_t *event; - - while ((event = xcb_poll_for_event(conn))) { - /* Handle the events here */ - } -} - diff --git a/experimental/jvanderw/lp-xcb/lpxcb_event.h b/experimental/jvanderw/lp-xcb/lpxcb_event.h deleted file mode 100644 index c06183d..0000000 --- a/experimental/jvanderw/lp-xcb/lpxcb_event.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (c) 2011 Jess VanDerwalker - * - * lpxcb_event.h - */ - -#ifndef _LPXCB_EVENT_H_ -#define _LPXCB_EVENT_H_ - - -#include <xcb/xcb.h> -#include "lpxcb_api.h" - -/** - * Handle all the pending events for the given connection - */ -void -lpxcb_handle_event (xcb_connection_t *conn); - -/** - * - */ - - -#endif /* _LPXCB_EVENT_H_ */ diff --git a/experimental/jvanderw/lp-xcb/lpxcb_table.c b/experimental/jvanderw/lp-xcb/lpxcb_table.c deleted file mode 100644 index 7a3e528..0000000 --- a/experimental/jvanderw/lp-xcb/lpxcb_table.c +++ /dev/null @@ -1,282 +0,0 @@ -/* Copyright (c) 2011 Jess VanDerwalker - * - * lpxcb_table.c - */ - -#include <stdlib.h> -#include <stdio.h> -#include <xcb/composite.h> -#include "lpxcb_util.h" -#include "lpxcb_table.h" -#include "lpxcb_damage.h" - - -void -lpxcb_set_root_window (xcb_window_t window) -{ - root_window = window; -} - -lpxcb_window_t * -lpxcb_init_window (xcb_connection_t *conn, xcb_window_t win) -{ - lpxcb_window_t *lpxcb_win; - xcb_void_cookie_t cookie; - xcb_get_geometry_reply_t *geom; - xcb_damage_damage_t damage; - xcb_get_window_attributes_reply_t *attrs; - xcb_rectangle_t rect; - - lpxcb_win = malloc(sizeof(lpxcb_window_t)); - if (!lpxcb_win) { - return NULL; - } - - lpxcb_win->conn = conn; - lpxcb_win->window = win; - lpxcb_win->parent = 0; /* Not used at the moment */ - lpxcb_win->damage = 0; - geom = lpxcb_get_window_geometry(conn, win); - lpxcb_set_window_dimensions(conn, win, - geom->x, geom->y, - geom->height, geom->width, - geom->border_width); - - /* Set the damage rectangle */ - lpxcb_win->damage_rect.x = 0; - lpxcb_win->damage_rect.y = 0; - lpxcb_win->damage_rect.width = 0; - lpxcb_win->damage_rect.height = 0; - - /* Set up our damage */ - damage = xcb_generate_id(conn); - cookie = xcb_damage_create_checked(conn, damage, win, - XCB_DAMAGE_REPORT_LEVEL_BOUNDING_BOX); - if (lpxcb_check_request(conn, cookie, "Could not create new Damage")) { - return NULL; - } - lpxcb_win->damage = damage; - - /* Create region that I think we'll use to track the damage area */ - lpxcb_win->region = xcb_generate_id(conn); - rect.x = 0; - rect.y = 0; - rect.width = 0; - rect.height= 0; - - cookie = xcb_xfixes_create_region_checked(conn, - lpxcb_win->region, - 1, &rect); - if (lpxcb_check_request(conn, cookie, "Could not set region")) { - return NULL; - } - - lpxcb_win->repair = xcb_generate_id(conn); - cookie = xcb_xfixes_create_region_checked(conn, - lpxcb_win->repair, - 1, &rect); - if (lpxcb_check_request(conn, cookie, "Could not set region")) { - return NULL; - } - - /* If the window is viewable, then add damage to it */ - attrs = lpxcb_get_window_attrs(conn, lpxcb_win->window); - if (attrs->map_state == XCB_MAP_STATE_VIEWABLE) { - /* TODO: Need to figure out why we are using the dimentions - * that we are */ - lpxcb_damage_window(lpxcb_win, 0, 0, geom->width, geom->height); - } - - if (lpxcb_win->window != root_window) { - uint32_t values[] = { 1 }; - xcb_change_window_attributes (conn, lpxcb_win->window, - XCB_CW_OVERRIDE_REDIRECT, - values); - cookie = xcb_composite_redirect_window_checked(conn, - lpxcb_win->window, - 1); - if (lpxcb_check_request(conn, cookie, - "Failed to set up compositing for window")) { - } - } - - /* Free memory */ - free(geom); - free(attrs); - - return lpxcb_win; -} - - -/* We'll use a simple double linked list for now as our data structure - * to hold the windows were "managing" */ - -lpxcb_window_t * -lpxcb_add_window (xcb_connection_t *conn, xcb_window_t window) -{ - lpxcb_connection_t *lpxcb_conn; - lpxcb_window_t *lpxcb_window = NULL; - table_node_t *new; - table_node_t *curr; - table_node_t *prev; - - lpxcb_conn = lpxcb_find_connection(conn); - - /* Does the window already exist */ - lpxcb_window = lpxcb_find_window(conn, window); - if (lpxcb_window) { - return lpxcb_window; - } - - /* Create new lpxcb_window to hold window */ - lpxcb_window = lpxcb_init_window(conn, window); - if (!lpxcb_window) { - exit(1); - } - - /* Create node to hold the new lpxcb_window */ - new = malloc(sizeof(table_node_t)); - if (!new) { - exit(1); /* Should we handle this differently? */ - } - new->entry = lpxcb_window; - - /* Handle the case where this is the first node added */ - if (!window_table) { - new->prev = NULL; - new->next = NULL; - window_table = new; - } else { - curr = window_table; - while (curr->next) { - prev = curr; - curr = curr->next; - } - curr->next = new; - new->prev = curr; - new->next = NULL; - } - - - return lpxcb_window; -} - - -lpxcb_window_t * -lpxcb_find_window (xcb_connection_t *conn, xcb_window_t window) -{ - table_node_t *curr; - - if (!window_table) { - return NULL; - } - - curr = window_table; - while (curr) { - if (curr->entry->window == window) { - return curr->entry; - } - curr = curr->next; - } - return NULL; -} - -void -lpxcb_remove_window (xcb_connection_t *conn, xcb_window_t window) -{ - table_node_t *curr; - - curr = window_table; - while (curr) { - if (curr->entry->window == window) { - curr->next->prev = curr->prev; - if (curr->prev) { - curr->prev->next = curr->next; - } - free(curr); - return; - } - } - return; -} - -/* Connection table functions */ - -lpxcb_connection_t * -lpxcb_find_connection (xcb_connection_t *conn) -{ - conn_node_t *curr; - - curr = conn_table; - while (curr) { - if (curr->lpxcb_conn->conn == conn) { - return curr->lpxcb_conn; - } - curr = curr->next; - } - - return lpxcb_add_connection(conn); -} - -lpxcb_connection_t * -lpxcb_add_connection (xcb_connection_t *conn) -{ - lpxcb_connection_t *lpxcb_conn = NULL; - conn_node_t *new; - conn_node_t *curr; - conn_node_t *prev = NULL; - xcb_damage_query_version_cookie_t dmg_ver_cookie; - xcb_damage_query_version_reply_t *dmg_ver_reply; - xcb_xfixes_query_version_cookie_t xfix_ver_cookie; - xcb_xfixes_query_version_reply_t *xfix_ver_reply; - xcb_composite_query_version_cookie_t comp_ver_cookie; - xcb_composite_query_version_reply_t *comp_ver_reply; - - new = malloc(sizeof(conn_node_t)); - if (!new) { - return NULL; - } - new->next = NULL; - new->prev = NULL; - - lpxcb_conn = malloc(sizeof(lpxcb_connection_t)); - if (!lpxcb_conn) { - return NULL; - } - lpxcb_conn->conn = conn; - lpxcb_conn->damaged = NULL; - new->lpxcb_conn = lpxcb_conn; - - /* Do the initializations for xfixes and damage extensions */ - dmg_ver_cookie = xcb_damage_query_version(conn, 1, 1); - dmg_ver_reply = xcb_damage_query_version_reply(conn, dmg_ver_cookie, NULL); - - xfix_ver_cookie = xcb_xfixes_query_version(conn, 4, 0); - xfix_ver_reply = xcb_xfixes_query_version_reply(conn, xfix_ver_cookie, NULL); - free(xfix_ver_reply); - - comp_ver_cookie = xcb_composite_query_version(conn, - XCB_COMPOSITE_MAJOR_VERSION, - XCB_COMPOSITE_MINOR_VERSION); - comp_ver_reply = xcb_composite_query_version_reply(conn, comp_ver_cookie, NULL); - if (!comp_ver_reply) { - fprintf(stderr, "Composite extenstion is not available"); - } else { - free(comp_ver_reply); - } - - if (!conn_table) { - conn_table = new; - return lpxcb_conn; - } - - curr = conn_table; - while (curr) { - prev = curr; - curr = curr->next; - } - prev->next = new; - new->prev = prev; - - return lpxcb_conn; -} diff --git a/experimental/jvanderw/lp-xcb/lpxcb_table.h b/experimental/jvanderw/lp-xcb/lpxcb_table.h deleted file mode 100644 index 97e82f9..0000000 --- a/experimental/jvanderw/lp-xcb/lpxcb_table.h +++ /dev/null @@ -1,68 +0,0 @@ -/* Copyright (c) 2011 Jess VanDerwalker - * - * lpxcb_table.h - */ - -#ifndef _LPXCB_TABLE_H_ -#define _LPXCB_TABLE_H_ - -#include <xcb/xproto.h> -#include <xcb/composite.h> -#include <xcb/damage.h> -#include "lpxcb_data.h" - -/* The root window */ -xcb_window_t root_window; - -/* Data structure to hold managed windows */ -table_node_t *window_table; - -/* Data structure to hold the connections */ -conn_node_t *conn_table; - -/** - * Set the root window. - */ -void -lpxcb_set_root_window (xcb_window_t window); - -/** - * Allocate and initialize a new lpxcb_window_t using the given the connection and window. - * @param *conn The connection - * @param win The window - * @return The initialized lpxcb_window_t structure - */ -lpxcb_window_t * -lpxcb_init_window (xcb_connection_t *conn, xcb_window_t win); - -/* Find a window in the table */ -lpxcb_window_t * -lpxcb_find_window (xcb_connection_t *conn, xcb_window_t window); - -/* Add a window to the table */ -lpxcb_window_t * -lpxcb_add_window (xcb_connection_t *conn, xcb_window_t window); - -/* Remove a window from the table */ -void -lpxcb_remove_window (xcb_connection_t *conn, xcb_window_t window); - -/** - * Return the lpxcb_connection_t that contains the given - * xcb_connection_t - * @param conn The connection - * @return The matching lpxcb_connection_t - */ -lpxcb_connection_t * -lpxcb_find_connection (xcb_connection_t *conn); - -/** - * Add a connection to the connection table. - * @param conn The connection to add - * @return The lpxcb_connection containing conn - */ -lpxcb_connection_t * -lpxcb_add_connection (xcb_connection_t *conn); - - -#endif /* _LPXCB_TABLE_H_ */ diff --git a/experimental/jvanderw/lp-xcb/lpxcb_util.c b/experimental/jvanderw/lp-xcb/lpxcb_util.c deleted file mode 100644 index a200c6a..0000000 --- a/experimental/jvanderw/lp-xcb/lpxcb_util.c +++ /dev/null @@ -1,89 +0,0 @@ -/* Copyright (c) 2011 Jess VanDerwalker - * - * lpxcb_util.c - */ - -#include <string.h> -#include <stdio.h> -#include "lpxcb_util.h" - -int -lpxcb_check_request (xcb_connection_t *conn, xcb_void_cookie_t cookie, - char *msg) -{ - xcb_generic_error_t *error; - - error = xcb_request_check(conn, cookie); - if (error) { - if (msg) { - fprintf(stderr, "ERROR: "); - fprintf(stderr, msg); - fprintf(stderr, "\nError code: %d\n", error->error_code); - } - return error->error_code; - } - return 0; -} - -xcb_get_geometry_reply_t * -lpxcb_get_window_geometry (xcb_connection_t *conn, xcb_window_t window) -{ - xcb_get_geometry_cookie_t cookie; - cookie = xcb_get_geometry(conn, window); - return xcb_get_geometry_reply(conn, cookie, NULL); -} - -void -lpxcb_set_window_dimensions (xcb_connection_t *conn, xcb_window_t window, - uint16_t x, uint16_t y, - uint16_t height, uint16_t width, - uint16_t border_width) -{ - uint32_t values[] = {x , y, height, width, border_width}; - xcb_void_cookie_t cookie; - - cookie = xcb_configure_window_checked(conn, window, - XCB_CONFIG_WINDOW_X | - XCB_CONFIG_WINDOW_Y | - XCB_CONFIG_WINDOW_WIDTH | - XCB_CONFIG_WINDOW_HEIGHT, - values); - lpxcb_check_request(conn, cookie, "Failed to set new window position and dimentions"); -} - -xcb_get_window_attributes_reply_t * -lpxcb_get_window_attrs (xcb_connection_t *conn, xcb_window_t window) -{ - xcb_get_window_attributes_cookie_t cookie; - xcb_generic_error_t *error; - xcb_get_window_attributes_reply_t *reply; - - cookie = xcb_get_window_attributes(conn, window); - reply = xcb_get_window_attributes_reply(conn, cookie, &error); - if (error) { - fprintf(stderr, "ERROR: Failed to get window attributes: %d\n", - error->error_code); - return NULL; - } - return reply; -} - -void -lpxcb_get_region_rects (xcb_connection_t *conn, xcb_xfixes_region_t region) -{ - xcb_xfixes_fetch_region_cookie_t cookie; - xcb_xfixes_fetch_region_reply_t *reply; - xcb_rectangle_t *rects; - int num_rects; - - cookie = xcb_xfixes_fetch_region(conn, region); - reply = xcb_xfixes_fetch_region_reply(conn, cookie, NULL); - rects = xcb_xfixes_fetch_region_rectangles(reply); - num_rects = xcb_xfixes_fetch_region_rectangles_length(reply); - - fprintf(stderr, "Region number: %ld\n", region); - fprintf(stderr, "Number of rectangles: %d\n", num_rects); - - return; -} - diff --git a/experimental/jvanderw/lp-xcb/lpxcb_util.h b/experimental/jvanderw/lp-xcb/lpxcb_util.h deleted file mode 100644 index 256c7e4..0000000 --- a/experimental/jvanderw/lp-xcb/lpxcb_util.h +++ /dev/null @@ -1,55 +0,0 @@ -/* Copyright (c) 2011 Jess VanDerwalker - * - * lpxcb_util.h - */ - -#ifndef _LPXCB_UTIL_H_ -#define _LPXCB_UTIL_H_ - -#include <xcb/xcb.h> -#include <xcb/xfixes.h> -#include "lpxcb_data.h" - -/** - * Check a request with given cookie and return the error code if - * there was one. - */ -int -lpxcb_check_request (xcb_connection_t *conn, - xcb_void_cookie_t cookie, - char *msg); - -/** - * Get geometry for the given window. The returned structure must be - * freed by the caller. - */ -xcb_get_geometry_reply_t * -lpxcb_get_window_geometry (xcb_connection_t *conn, xcb_window_t window); - -/** - * Set the x, y, width, height, and border width for a given window. - */ -void -lpxcb_set_window_dimensions (xcb_connection_t *conn, - xcb_window_t window, - uint16_t x, - uint16_t y, - uint16_t height, - uint16_t width, - uint16_t border_width); - - -/** - * Get the window attributes for the given window. Retuned structure - * must be freed by the caller - */ -xcb_get_window_attributes_reply_t * -lpxcb_get_window_attrs (xcb_connection_t *conn, xcb_window_t window); - -/** - * Get the array of rectangles from a given region. This is just for debugging. - */ -void -lpxcb_get_region_rects (xcb_connection_t *conn, xcb_xfixes_region_t region); - -#endif /* _LPXCB_UTIL_H_ */ diff --git a/experimental/jvanderw/obj-c/.DS_Store b/experimental/jvanderw/obj-c/.DS_Store Binary files differdeleted file mode 100644 index 70562c0..0000000 --- a/experimental/jvanderw/obj-c/.DS_Store +++ /dev/null diff --git a/experimental/jvanderw/obj-c/GNUmakefile b/experimental/jvanderw/obj-c/GNUmakefile deleted file mode 100644 index c0470b1..0000000 --- a/experimental/jvanderw/obj-c/GNUmakefile +++ /dev/null @@ -1,27 +0,0 @@ -# -# A GNUmakefile -# - -# Check that the GNUSTEP_MAKEFILES environment variable is set -ifeq ($(GNUSTEP_MAKEFILES),) -GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null) - ifeq ($(GNUSTEP_MAKEFILES),) - $(error You need to set GNUSTEP_MAKEFILES before compiling!) - endif -endif - -# Include the common variables -include $(GNUSTEP_MAKEFILES)/common.make - -# Build an Objective-C program -TOOL_NAME = Moder - -# Objective-C files requiring compilation -Moder_OBJC_FILES = ModUtil.m main.m - --include GNUmakefile.preamble - -# Include in the rules for making command line tools -include $(GNUSTEP_MAKEFILES)/tool.make - --include GNUmakefile.postamble
\ No newline at end of file diff --git a/experimental/jvanderw/obj-c/ModUtil.h b/experimental/jvanderw/obj-c/ModUtil.h deleted file mode 100644 index 27cffa3..0000000 --- a/experimental/jvanderw/obj-c/ModUtil.h +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (c) 2011 Jess VanDerwalker -// -// Interface for utility functions for calulating the modulus in -// various circumstances. -// - -#import <Foundation/NSObject.h> - -@interface ModUtil: NSObject { - int value; // The value on the lhs of mod operation - int mod; // The modulus to use - int pwr; // The power x will be raised to - int rem; // The rhs of the mod operation -} - --(void) setValueModPower: (int) x andSetMod: (int) n andSetPower: (int) p; --(int) getMod; - -@end diff --git a/experimental/jvanderw/obj-c/ModUtil.m b/experimental/jvanderw/obj-c/ModUtil.m deleted file mode 100644 index e1e03ae..0000000 --- a/experimental/jvanderw/obj-c/ModUtil.m +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) 2011 Jess VanDerwalker -// -// Implemetation of the modutil functions -// - -#import <stdio.h> -#import "ModUtil.h" - -@implementation ModUtil --(void) setValueModPower: (int) x andSetMod: (int) n andSetPower: (int) p { - value = x; - mod = n; - pwr = p; -} - --(int) getMod { - rem = value % mod; - return rem; -} - -@end diff --git a/experimental/jvanderw/obj-c/main.m b/experimental/jvanderw/obj-c/main.m deleted file mode 100644 index d1edf88..0000000 --- a/experimental/jvanderw/obj-c/main.m +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright (c) JessVanDerwalker -// -// Driver for ModUtil -// - -#import <stdio.h> -#import "ModUtil.h" - -int main(int argc, char **argv) { - - ModUtil *mod = [[ModUtil alloc] init]; - - // Set initial values - [mod setValueModPower: 5 andSetMod: 3 andSetPower: 1]; - - printf("The modulus is: %d\n", [mod getMod]); - - // Free any memory - [mod release]; - - return 0; -} diff --git a/experimental/jvanderw/rootimg/AUTHORS b/experimental/jvanderw/rootimg/AUTHORS deleted file mode 100644 index e69de29..0000000 --- a/experimental/jvanderw/rootimg/AUTHORS +++ /dev/null diff --git a/experimental/jvanderw/rootimg/COPYING b/experimental/jvanderw/rootimg/COPYING deleted file mode 120000 index ee6c552..0000000 --- a/experimental/jvanderw/rootimg/COPYING +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/../share/automake-1.10/COPYING
\ No newline at end of file diff --git a/experimental/jvanderw/rootimg/ChangeLog b/experimental/jvanderw/rootimg/ChangeLog deleted file mode 100644 index e69de29..0000000 --- a/experimental/jvanderw/rootimg/ChangeLog +++ /dev/null diff --git a/experimental/jvanderw/rootimg/INSTALL b/experimental/jvanderw/rootimg/INSTALL deleted file mode 120000 index 9b1fde7..0000000 --- a/experimental/jvanderw/rootimg/INSTALL +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/../share/automake-1.10/INSTALL
\ No newline at end of file diff --git a/experimental/jvanderw/rootimg/Makefile b/experimental/jvanderw/rootimg/Makefile deleted file mode 100644 index 60ae12b..0000000 --- a/experimental/jvanderw/rootimg/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2012 Jess VanDerwalker <washu@sonic.net> -# -# Top level Makefile for rootimg project - -all clean rootimg: - cd src && $(MAKE) $@ - -.PHONY: all clean diff --git a/experimental/jvanderw/rootimg/NEWS b/experimental/jvanderw/rootimg/NEWS deleted file mode 100644 index e69de29..0000000 --- a/experimental/jvanderw/rootimg/NEWS +++ /dev/null diff --git a/experimental/jvanderw/rootimg/README b/experimental/jvanderw/rootimg/README deleted file mode 100644 index 99639eb..0000000 --- a/experimental/jvanderw/rootimg/README +++ /dev/null @@ -1,39 +0,0 @@ -Copyright (c) 2012 Jess VanDerwalker <washu@sonic.net> - -rootimg -======= - -The rootimg program is a simple command line application that takes -the number of a display, and creates a new window on the default -display with the image from the root window display given on the -command line. If no argument is given on the command line, the value -of $DISPLAY is assumed. - -Builing and Running -=================== - -1) cd into the rootimg directory and enter "make". There are some - warnings regarding types in the printf statements, but there should - be no errors. - *** NOTE: You have to set the PKG_CONFIG_PATH env variable with: - $ PKG_CONFIG_PATH = "/opt/X11/lib/pkgconfig" - $ export PKG_CONFIG_PATH - -2) In a new terminal window start Xorg with: - $ Xorg :1 - -3) In another terminal window start an X application that takes the - "-display" command line argument. Such as: - $ xeyes -display :1 & - -4) Now run rootimg with - $ ./rootimg :1 - You should see the xeyes image in a new Xquartz window. - - -ISSUES -====== - -I have encountered an odd bug where, if I have not already opened an -Xquartz window, when rootimg is run, Xquartz tries to open but fails, -then tries to open again and fails. diff --git a/experimental/jvanderw/rootimg/src/Makefile b/experimental/jvanderw/rootimg/src/Makefile deleted file mode 100644 index ddfccfc..0000000 --- a/experimental/jvanderw/rootimg/src/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (c) 2012 Jess VanDerwalker -# -# Makefile for the rootimg project -# - -CC = gcc -CFLAGS = -I/opt/X11/include/ -Wall -g -c -LDFLAGS = `pkg-config --libs xcb xcb-aux xcb-damage xcb-composite xcb-image` - -# Sources -SOURCES = rootimg.c util.c -OBJECTS = $(SOURCES:.c=.o) - -# Name of executable target: -EXECUTABLE = rootimg - -# XCB specific flags: -CFLAGS += `pkg-config --libs xcb xcb-aux xcb-damage xcb-composite xcb-image` - - -all: $(SOURCES) $(EXECUTABLE) - -$(EXECUTABLE): $(OBJECTS) - $(CC) $(LDFLAGS) $(OBJECTS) -o $@ - -.c.o: - $(CC) $(CFLAGS) $< -o $@ - -clean: - rm $(OBJECTS) $(EXECUTABLE) diff --git a/experimental/jvanderw/rootimg/src/rootimg.c b/experimental/jvanderw/rootimg/src/rootimg.c deleted file mode 100644 index 4ef1c8a..0000000 --- a/experimental/jvanderw/rootimg/src/rootimg.c +++ /dev/null @@ -1,173 +0,0 @@ -/* Copyright (c) 2012 Jess VanDerwalker - * - * rootimg.c - * - * Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, copy, - * modify, merge, publish, distribute, sublicense, and/or sell copies - * of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - - -#include <stdlib.h> -#include <stdio.h> -#include <xcb/xcb.h> -#include <xcb/xcb_image.h> -#include <xcb/xcb_aux.h> -#include "util.h" - -/* Main driver */ -int -main (int argc, char **argv) -{ - xcb_connection_t *conn; - int conn_screen; - xcb_screen_t *root_screen; - xcb_drawable_t root_window; - xcb_connection_t *conn_two; - int conn_two_screen; - xcb_screen_t *root_two_screen; - xcb_drawable_t root_two_window; - xcb_drawable_t window; - - uint32_t mask; - uint32_t values[1]; - - xcb_void_cookie_t cookie; - - xcb_get_geometry_reply_t *geom_reply; - - xcb_generic_event_t *event; - - image_data_t img_data; - xcb_image_t *image; - xcb_pixmap_t pixmap; - xcb_gcontext_t gc; - - /* Check the first argument to see what display to connect to. If - empty, then use default display. */ - if (argc > 1) { - conn = xcb_connect(argv[1], &conn_screen); - } else { - conn = xcb_connect(NULL, &conn_screen); - } - root_screen = xcb_aux_get_screen(conn, conn_screen); - root_window = root_screen->root; - - /* Get the geometry of the root window */ - geom_reply = GetWindowGeometry(conn, root_window); - - WriteWindowInfo(conn, root_window); - WriteAllChildrenWindowInfo(conn, root_window); - - /* Get the image of the root window */ - image = xcb_image_get(conn, - root_window, - geom_reply->x, - geom_reply->y, - geom_reply->width, - geom_reply->height, - (unsigned int) ~0L, - XCB_IMAGE_FORMAT_Z_PIXMAP); - - /* Set up the events the window will recognize */ - mask = XCB_CW_EVENT_MASK; - values[0] = XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_KEY_PRESS; - - /* Create our new window on the default display. Make it half the size */ - conn_two = xcb_connect(NULL, &conn_two_screen); - root_two_screen = xcb_aux_get_screen(conn_two, conn_two_screen); - root_two_window = root_two_screen->root; - window = xcb_generate_id(conn_two); - cookie = xcb_create_window_checked(conn_two, - XCB_COPY_FROM_PARENT, - window, - root_two_window, - geom_reply->x, - geom_reply->y, - geom_reply->width / 2, - geom_reply->height / 2, - geom_reply->border_width, - XCB_WINDOW_CLASS_INPUT_OUTPUT, - root_two_screen->root_visual, - mask, - values); - if (RequestCheck(conn_two, cookie, "Falied to create new window")) { - exit(1); - } - - /* Map the window and flush the connection so it draws to the screen */ - xcb_map_window(conn_two, window); - xcb_flush(conn_two); - - /* Create the pixmap and associate it with our new window. */ - pixmap = xcb_generate_id(conn_two); - cookie = xcb_create_pixmap(conn_two, - geom_reply->depth, - pixmap, - window, - geom_reply->width, - geom_reply->height); - if (RequestCheck(conn_two, cookie, "Failed to create pixmap")) { - exit(1); - } - - /* Put the root_window image into the pixmap. Note that a gc is - * created, but I believe it is ignored. */ - gc = xcb_generate_id(conn_two); - xcb_create_gc(conn_two, gc, window, 0, 0); - cookie = xcb_image_put(conn_two, - pixmap, - gc, - image, - 0, - 0, - 0); - if (RequestCheck(conn_two, cookie, "Failed to put image")) { - exit(1); - } - - /* Copy the pixmap into the new window */ - cookie = xcb_copy_area(conn_two, - pixmap, - window, - gc, - 0, - 0, - 0, - 0, - geom_reply->width / 2, - geom_reply->height / 2); - if (RequestCheck(conn_two, cookie, "Failed to put image into pixmap")) { - exit(1); - } - - xcb_flush(conn_two); - WriteWindowInfo(conn_two, window); - - /* Enter infinte loop so the window stays open */ - while (1) { - } - - /* Never get here, but if we could, would still want to clean up memory */ - free(geom_reply); - xcb_disconnect(conn); - xcb_disconnect(conn_two); - - return 0; -} diff --git a/experimental/jvanderw/rootimg/src/util.c b/experimental/jvanderw/rootimg/src/util.c deleted file mode 100644 index afd7fc8..0000000 --- a/experimental/jvanderw/rootimg/src/util.c +++ /dev/null @@ -1,186 +0,0 @@ -/* Copyright (c) 2012 Jess VanDerwalker - * - * util.c - * - * Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, copy, - * modify, merge, publish, distribute, sublicense, and/or sell copies - * of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -#include "util.h" - -xcb_get_window_attributes_reply_t * -GetWindowAttributes (xcb_connection_t *conn, xcb_window_t window) -{ - xcb_get_window_attributes_reply_t *reply; - xcb_generic_error_t *error; - xcb_get_window_attributes_cookie_t cookie; - - cookie = xcb_get_window_attributes(conn, window); - reply = xcb_get_window_attributes_reply(conn, cookie, &error); - if (error) { - fprintf(stderr, "ERROR: Failed to get window attributes: %d\n", - error->error_code); - return NULL; - } - return reply; -} - -xcb_get_geometry_reply_t * -GetWindowGeometry (xcb_connection_t *conn, xcb_window_t window) -{ - xcb_get_geometry_cookie_t cookie; - cookie = xcb_get_geometry(conn, window); - return xcb_get_geometry_reply(conn, cookie, NULL); -} - - -void WriteAllChildrenWindowInfo (xcb_connection_t *conn, - xcb_window_t root) -{ - - xcb_query_tree_reply_t *reply; - xcb_query_tree_cookie_t tree_cookie; - xcb_window_t *children; /* The children of the given root */ - image_data_t img_data; - xcb_generic_error_t *error; - int len; - int i; - - tree_cookie = xcb_query_tree(conn, root); - reply = xcb_query_tree_reply(conn, tree_cookie, &error); - if (error) { - fprintf(stderr, "ERROR: Failed to get query tree: %d\n", - error->error_code); - return; - } - /* Get the number of children */ - len = xcb_query_tree_children_length(reply); - children = xcb_query_tree_children(reply); - - /* Iterate thorough all the children and get their pixmap (hopefully) */ - printf("--- Iterating through children of window %ld ---\n", - root); - for (i = 0; i < len; i++) { - WriteWindowInfo(conn, children[i]); - img_data = GetWindowImageData(conn, children[i]); - if (!img_data.data) { - printf("Image data is empty\n"); - } - } - printf("--- End window iteration ---\n"); - - /* Free the stuff allocated by XCB */ - free(reply); -} - -image_data_t -GetWindowImageData (xcb_connection_t *conn, xcb_drawable_t window) -{ - image_data_t image_data; - xcb_get_image_cookie_t img_cookie; - xcb_get_image_reply_t *reply; - xcb_generic_error_t *error; - xcb_get_geometry_reply_t *geom_reply; - - image_data.data = NULL; - image_data.length = 0; - - geom_reply = GetWindowGeometry(conn, window); - if (!geom_reply) { - fprintf(stderr, "ERROR: Failed to get window image data.\n"); - return image_data; - } - - img_cookie = xcb_get_image(conn, - XCB_IMAGE_FORMAT_Z_PIXMAP, - window, - 0, - 0, - geom_reply->width, - geom_reply->height, - (unsigned int) ~0L); - - reply = xcb_get_image_reply(conn, img_cookie, &error); - if (error) { - fprintf(stderr, "ERROR: Failed to get window image data reply: %d\n", - error->error_code); - return image_data; - } - image_data.data = xcb_get_image_data(reply); - image_data.length = xcb_get_image_data_length(reply); - - free(geom_reply); - /* free(reply); */ - - return image_data; -} - -void -WriteWindowInfo (xcb_connection_t *conn, xcb_window_t window) -{ - xcb_get_geometry_reply_t *geom_reply; - xcb_get_window_attributes_reply_t *attr_reply; - - geom_reply = GetWindowGeometry(conn, window); - if (!geom_reply) { - printf("Failed to get geometry for window %ld\n", window); - return; - } - attr_reply = GetWindowAttributes(conn, window); - if (!attr_reply) { - printf("Failed to get attributes for window %ld\n", window); - return; - } - - /* Print out the geometry and attributes we're interested in */ - printf("Window Id: %ld\n", window); - printf("x: %d\ty: %d\n", geom_reply->x, geom_reply->y); - printf("width: %d\theight: %d\n", geom_reply->width, geom_reply->height); - - printf("Map state: "); - if (attr_reply->map_state == XCB_MAP_STATE_UNMAPPED) { - printf("Unmapped\n"); - } else if (attr_reply->map_state == XCB_MAP_STATE_UNVIEWABLE) { - printf("Unviewable\n"); - } else { - printf("Viewable\n"); - } - - free(geom_reply); - free(attr_reply); -} - -int -RequestCheck (xcb_connection_t *conn, xcb_void_cookie_t cookie, - char *msg) -{ - xcb_generic_error_t *error; - - error = xcb_request_check(conn, cookie); - if (error) { - if (msg) { - fprintf(stderr, "ERROR: "); - fprintf(stderr, msg); - fprintf(stderr, "\nError code: %d\n", error->error_code); - } - return error->error_code; - } - return 0; -} diff --git a/experimental/jvanderw/rootimg/src/util.h b/experimental/jvanderw/rootimg/src/util.h deleted file mode 100644 index 9e3a041..0000000 --- a/experimental/jvanderw/rootimg/src/util.h +++ /dev/null @@ -1,95 +0,0 @@ -/* Copyright (c) 2012 Jess VanDerwalker - * - * util.h - * - * Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, copy, - * modify, merge, publish, distribute, sublicense, and/or sell copies - * of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -#ifndef _UTIL_H_ -#define _UTIL_H_ - -#include <stdlib.h> -#include <stdio.h> -#include <xcb/xcb.h> - -typedef struct image_data_t { - uint8_t *data; - int length; -} image_data_t; - -/** - * Return the given windows attributes reply. Caller must free memory - * allocated for reply. - * @param conn The windows connection. - * @param window The window. - * @return The window attributes reply. Null if the request fails. - */ -xcb_get_window_attributes_reply_t * -GetWindowAttributes (xcb_connection_t *conn, xcb_window_t window); - -/** - * Return the geometry of the window in a geometry reply. Caller must free - * memory allocated for reply. - * @param conn The windows connection. - * @param window The window. - * @return The window's geometry reply. Null if the request for reply fails. - */ -xcb_get_geometry_reply_t * -GetWindowGeometry (xcb_connection_t *conn, xcb_window_t window); - -/** - * Print out information about the existing windows attached to our - * root. Most of this code is taken from src/manage.c from the i3 code - * by Michael Stapelberg - */ -void WriteAllChildrenWindowInfo (xcb_connection_t *conn, - xcb_window_t root); - -/** - * Get the image data for a window. - * @param conn The connection to the xserver. - * @param window The window. - * @return Structure containing data and data length - */ -image_data_t -GetWindowImageData (xcb_connection_t *conn, xcb_window_t window); - -/** - * Write information about a window out to stdio. - * TODO: Add the ability to pass in the stream to write to. - * @param conn The connection with the window. - * @param window The window. - */ -void -WriteWindowInfo (xcb_connection_t *conn, xcb_window_t window); - -/** - * Check the request cookie and determine if there is an error. - * @param conn The connection the request was sent on. - * @param cookie The cookie returned by the request. - * @param msg the string to display if there is an error with the request. - * @return int The number of the error code, if any. Otherwise zero. - */ -int -RequestCheck (xcb_connection_t *conn, xcb_void_cookie_t cookie, - char *msg); - -#endif /* _UTIL_H_ */ diff --git a/experimental/jvanderw/xcb-hw.c b/experimental/jvanderw/xcb-hw.c deleted file mode 100644 index 144e7cb..0000000 --- a/experimental/jvanderw/xcb-hw.c +++ /dev/null @@ -1,302 +0,0 @@ -/* Copyright (c) 2011 Jess VanDerwalker - * - * Test program to create a window using the XCB library. - * - * The majority of this is taken from the XCB tutorial at: - * - * http://www.x.org/releases/X11R7.6/doc/libxcb/tutorial/index.html - * - */ - -#include <stdlib.h> -#include <stdio.h> -#include <string.h> -#include <unistd.h> -#include <xcb/xcb.h> -#include <xcb/xcb_image.h> - - -/* Print out some information about the given window */ -void print_win_info(xcb_connection_t *conn, xcb_drawable_t win) { - - xcb_get_geometry_reply_t *geom; /* Property reply structure */ - xcb_get_geometry_cookie_t geomcookie; /* Response cookies for getting geometry */ - xcb_generic_error_t *error; /* Error reporting structure */ - - /* Get the window geometry */ - geomcookie = xcb_get_geometry(conn, win); - geom = xcb_get_geometry_reply(conn, geomcookie, &error); - if (error) { - fprintf(stderr, "ERROR: Failed to get geometry of the window: %d\n", - error->error_code); - } - - printf("For window id: %ld\n", (unsigned int)((uint32_t)win) ); - printf("x: %d, y: %d\n", geom->x, geom->y); - free(geom); - -} - -/* Print out information about the existing windows attached to our - * root. Most of this code is taken from src/manage.c from the i3 code - * by Michael Stapelberg */ -void print_all_win_info(xcb_connection_t *conn, xcb_window_t root) { - - xcb_query_tree_reply_t *reply; - xcb_query_tree_cookie_t tree_cookie; - xcb_window_t *children; /* The children of the given root */ - xcb_generic_error_t *error; - xcb_get_image_reply_t *image; - xcb_get_image_cookie_t image_cookie; - int len; - int i; - - tree_cookie = xcb_query_tree(conn, root); - reply = xcb_query_tree_reply(conn, tree_cookie, &error); - if (error) { - fprintf(stderr, "ERROR: Failed to get query tree: %d\n", - error->error_code); - return; - } - /* Get the number of children */ - len = xcb_query_tree_children_length(reply); - children = xcb_query_tree_children(reply); - - /* Iterate thorough all the children and get their pixmap (hopefully) */ - for (i = 0; i < len; i++) { - print_win_info(conn, children[i]); - image_cookie = xcb_get_image(conn, XCB_IMAGE_FORMAT_XY_PIXMAP, - children[i], 0 , 0, 200, 200, -1); - image = xcb_get_image_reply(conn, image_cookie, &error); - if (error) { - fprintf(stderr, "ERROR: Failed to get image from drawable: %d\n", - error->error_code); - } - } - - /* Free the stuff allocated by XCB */ - free(reply); -} - -/* Get the first valid pixmap from the children given, and "put" in - * the given drawable */ -void assign_pixmap(xcb_connection_t *conn, xcb_drawable_t drawable, - xcb_drawable_t win, xcb_gcontext_t gc) { - - xcb_query_tree_reply_t *reply; - xcb_query_tree_cookie_t tree_cookie; - xcb_window_t *children; /* The children of the given win */ - xcb_generic_error_t *error; - xcb_image_t *image; - xcb_void_cookie_t imcookie; - int len; - int i; - - tree_cookie = xcb_query_tree(conn, win); - reply = xcb_query_tree_reply(conn, tree_cookie, &error); - if (error) { - fprintf(stderr, "ERROR: Failed to get query tree: %d\n", - error->error_code); - return; - } - /* Get the number of children */ - len = xcb_query_tree_children_length(reply); - children = xcb_query_tree_children(reply); - - /* Iterate thorough all the children and get their pixmap (hopefully) */ - for (i = 0; i < len; i++) { - print_win_info(conn, children[i]); - image = xcb_image_get(conn, children[i], 0, 0, 200, 200, ~0, - XCB_IMAGE_FORMAT_Z_PIXMAP); - - /* if (image) { */ - /* if (*(image->data) == '\0') { */ - /* printf("No data in image\n"); */ - /* continue; */ - /* } */ - - /* imcookie = xcb_image_put(conn, drawable, gc, image, 0, 0, 0); */ - - /* error = xcb_request_check(conn, imcookie); */ - /* if (error) { */ - /* fprintf(stderr, "ERROR: Failed to put pixmap: %d\n", */ - /* error->error_code); */ - /* } */ - /* free(reply); */ - /* return; /\* Bail after assigning first one *\/ */ - /* } */ - - /* Crazy testing stuff here */ - /* create backing pixmap */ - xcb_pixmap_t pmap; - - pmap = xcb_generate_id(conn); - xcb_create_pixmap(conn, 24, pmap, drawable, 200, 200); - - - - imcookie = xcb_copy_area(conn, children[i], pmap, gc, 0, 0, 0, 0, - 200, 200); - error = xcb_request_check(conn, imcookie); - if (error) { - fprintf(stderr, "ERROR: Failed to copy pixmap: %d\n", - error->error_code); - } - free(reply); - return; - } - - /* Free the stuff allocated by XCB */ - free(reply); -} - -/* Main program loop */ -int main (int argc, char **argv) { - - xcb_connection_t *conn; /* The connection to the X server */ - xcb_screen_t *screen; /* The screen window will go into */ - xcb_drawable_t win; /* The ID of the window we are going - * to draw into */ - xcb_drawable_t winchild; /* Child window */ - xcb_font_t font; /* The font for the GC */ - xcb_gcontext_t gc; /* ID of the graphical context */ - xcb_generic_event_t *evt; - uint32_t mask = 0; /* Bit mask used to set options */ - uint32_t values[2]; /* Array that holds values used by GC - * as called for by the value set in - * the mask */ - char fontname[] = "-adobe-courier-medium-o-normal--11-80-100-100-m-60-iso10646-1"; - xcb_void_cookie_t cookie_conf; /* Response cookie for call to configure */ - xcb_generic_error_t *error; /* Struct for error information */ - xcb_void_cookie_t cookie_win; /* Response cookie for call to window create */ - - /* Open the connection to the X server */ - conn = xcb_connect(NULL, NULL); - /* We're just getting the data out of the first thing the iterator - * points to */ - screen = xcb_setup_roots_iterator(xcb_get_setup(conn)).data; - - /* Get a font for our window */ - font = xcb_generate_id(conn); - xcb_open_font(conn, font, strlen(fontname), fontname); - - /* Create a graphic context for drawing */ - win = screen->root; - gc = xcb_generate_id(conn); - mask = XCB_GC_FOREGROUND | XCB_GC_BACKGROUND | XCB_GC_FONT; - values[0] = screen->black_pixel; - values[1] = screen->white_pixel; - values[2] = font; - xcb_create_gc(conn, gc, win, mask, values); - - /* Done with te font */ - xcb_close_font(conn, font); - - - /* Create a new window */ - win = xcb_generate_id(conn); - mask = XCB_CW_BACK_PIXEL | XCB_CW_EVENT_MASK; - values[0] = screen->white_pixel; - values[1] = XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_BUTTON_PRESS | - XCB_EVENT_MASK_BUTTON_RELEASE | XCB_EVENT_MASK_POINTER_MOTION | - XCB_EVENT_MASK_ENTER_WINDOW | XCB_EVENT_MASK_LEAVE_WINDOW | - XCB_EVENT_MASK_KEY_PRESS | XCB_EVENT_MASK_KEY_RELEASE; - - xcb_create_window(conn, XCB_COPY_FROM_PARENT, win, screen->root, - 0, 0, 400, 400, 10, XCB_WINDOW_CLASS_INPUT_OUTPUT, - screen->root_visual, mask, values); - - /* Map the window to the screen and flush any pending messages */ - xcb_map_window(conn, win); - xcb_flush(conn); - print_win_info(conn, win); - - /* Create a second window an make it child of the previous one */ - winchild = xcb_generate_id(conn); - values[0] = screen->black_pixel; - cookie_win = xcb_create_window_checked(conn, XCB_COPY_FROM_PARENT, winchild, - win, - 20, 20, 100, 100, 10, - XCB_WINDOW_CLASS_INPUT_OUTPUT, - screen->root_visual, mask, values); - error = xcb_request_check(conn, cookie_win); - if (error) { - fprintf(stderr, "ERROR: Failed to create window: %d\n", - error->error_code); - } - /* Assign an existing image to the window */ - assign_pixmap(conn, win, screen->root, gc); - - xcb_map_window(conn, win); - xcb_map_window(conn, winchild); - xcb_flush(conn); - - /* Print out information on all the windows based on this root */ - /* print_all_win_info(conn, screen->root); */ - - /* Setup a loop to handle events. Note that this uses the blocking - * style of event handling loop */ - while ((evt = xcb_wait_for_event(conn))) { - switch (evt->response_type & ~0x80) { - case XCB_EXPOSE: { - xcb_expose_event_t *exevnt = (xcb_expose_event_t *)evt; - - printf("Window %ld exposed. Region to be redrawn at location (%d, %d), ", - exevnt->window, exevnt->x, exevnt->y); - printf("with dimentions (%d, %d).\n", exevnt->width, exevnt->height); - - break; - } - case XCB_BUTTON_PRESS: { - xcb_button_press_event_t *bpevnt = (xcb_button_press_event_t *)evt; - printf("Button %d pressed in window %ld, at coordinates (%d, %d)\n", - bpevnt->detail, bpevnt->event, bpevnt->event_x, bpevnt->event_y); - - /* Resize the window on the button press */ - values[0] = 600; - values[1] = 600; - cookie_conf = xcb_configure_window_checked(conn, win, - XCB_CONFIG_WINDOW_X | - XCB_CONFIG_WINDOW_Y, - values); - /* Check the cookies for errors */ - error = xcb_request_check(conn, cookie_conf); - if (error) { - fprintf(stderr, "ERROR: Failed to reconfigure the window: %d\n", - error->error_code); - } - xcb_map_window(conn, win); - - break; - } - case XCB_BUTTON_RELEASE: { - xcb_button_release_event_t *brevnt = (xcb_button_release_event_t *)evt; - printf("Button %d released in window %ld, at coordinates (%d, %d)\n", - brevnt->detail, brevnt->event, brevnt->event_x, brevnt->event_y); - break; - } - case XCB_MOTION_NOTIFY: { - xcb_motion_notify_event_t *mnevnt = (xcb_motion_notify_event_t *)evt; - /* printf("Mouse moved in window %ld, at coordinates (%d, %d)\n", */ - /* mnevnt->event, mnevnt->event_x, mnevnt->event_y); */ - break; - } - case XCB_KEY_PRESS: { - xcb_key_press_event_t *kpevnt = (xcb_key_press_event_t *)evt; - printf("Key pressed in window %ld\n", kpevnt->event); - break; - } - default: { - /* Ignore unknown events */ - printf("Unknown event: %d\n", evt->response_type); - break; - } - } - free(evt); /* Need to free the event */ - } - - /* Close the connection */ - xcb_disconnect(conn); - - return 0; -} |