Permalink
Browse files

Warp: Removed a la Asteroids text.

Increased pager border by 1 pixel.
Can toggle between pager content style with a default.
  • Loading branch information...
1 parent feb587c commit e60421421023969c16f39743ab3464cb24491679 @ksuther committed Jul 18, 2009
View
8 English.lproj/WarpPreferences.xib
@@ -2,9 +2,9 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
<data>
<int key="IBDocument.SystemTarget">1050</int>
- <string key="IBDocument.SystemVersion">9G55</string>
+ <string key="IBDocument.SystemVersion">9J61</string>
<string key="IBDocument.InterfaceBuilderVersion">677</string>
- <string key="IBDocument.AppKitVersion">949.43</string>
+ <string key="IBDocument.AppKitVersion">949.46</string>
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -698,13 +698,13 @@
<object class="NSButton" id="689890346">
<reference key="NSNextResponder" ref="467419391"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{248, 139}, {248, 18}}</string>
+ <string key="NSFrame">{{248, 139}, {150, 18}}</string>
<reference key="NSSuperview" ref="467419391"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="1044903716">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">0</int>
- <string type="base64-UTF8" key="NSContents">V3JhcCBhcm91bmQgc3BhY2VzICjDoCBsYSBBc3Rlcm9pZHMpA</string>
+ <string key="NSContents">Wrap around spaces</string>
<reference key="NSSupport" ref="656096860"/>
<reference key="NSControlView" ref="689890346"/>
<int key="NSButtonFlags">1211912703</int>
View
4 French.lproj/WarpPreferences.xib
@@ -2,9 +2,9 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
<data>
<int key="IBDocument.SystemTarget">1050</int>
- <string key="IBDocument.SystemVersion">9G55</string>
+ <string key="IBDocument.SystemVersion">9J61</string>
<string key="IBDocument.InterfaceBuilderVersion">677</string>
- <string key="IBDocument.AppKitVersion">949.43</string>
+ <string key="IBDocument.AppKitVersion">949.46</string>
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
View
8 German.lproj/WarpPreferences.xib
@@ -2,9 +2,9 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
<data>
<int key="IBDocument.SystemTarget">1050</int>
- <string key="IBDocument.SystemVersion">9G55</string>
+ <string key="IBDocument.SystemVersion">9J61</string>
<string key="IBDocument.InterfaceBuilderVersion">677</string>
- <string key="IBDocument.AppKitVersion">949.43</string>
+ <string key="IBDocument.AppKitVersion">949.46</string>
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -699,13 +699,13 @@
<object class="NSButton" id="689890346">
<reference key="NSNextResponder" ref="467419391"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{248, 139}, {338, 18}}</string>
+ <string key="NSFrame">{{248, 139}, {239, 18}}</string>
<reference key="NSSuperview" ref="467419391"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="1044903716">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">0</int>
- <string type="base64-UTF8" key="NSContents">w5xiZXIgU2NocmVpYnRpc2NoZSBoaW53ZWcgd2FycGVuICjDoCBsYSBBc3Rlcm9pZHMpA</string>
+ <string type="base64-UTF8" key="NSContents">w5xiZXIgU2NocmVpYnRpc2NoZSBoaW53ZWcgd2FycGVuA</string>
<reference key="NSSupport" ref="656096860"/>
<reference key="NSControlView" ref="689890346"/>
<int key="NSButtonFlags">1211912703</int>
View
8 Italian.lproj/WarpPreferences.xib
@@ -2,9 +2,9 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
<data>
<int key="IBDocument.SystemTarget">1050</int>
- <string key="IBDocument.SystemVersion">9G55</string>
+ <string key="IBDocument.SystemVersion">9J61</string>
<string key="IBDocument.InterfaceBuilderVersion">677</string>
- <string key="IBDocument.AppKitVersion">949.43</string>
+ <string key="IBDocument.AppKitVersion">949.46</string>
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -699,13 +699,13 @@
<object class="NSButton" id="689890346">
<reference key="NSNextResponder" ref="467419391"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{248, 139}, {256, 18}}</string>
+ <string key="NSFrame">{{248, 139}, {132, 18}}</string>
<reference key="NSSuperview" ref="467419391"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="1044903716">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">0</int>
- <string type="base64-UTF8" key="NSContents">VHJhc2NpbmEgZ2xpIHNwYXppIChhIG3DsiBkaSBBc3Rlcm9pZHMpA</string>
+ <string key="NSContents">Trascina gli spazi</string>
<reference key="NSSupport" ref="656096860"/>
<reference key="NSControlView" ref="689890346"/>
<int key="NSButtonFlags">1211912703</int>
View
5 PagerController.h
@@ -9,6 +9,11 @@
#import <Cocoa/Cocoa.h>
#import <QuartzCore/QuartzCore.h>
+typedef enum PagerStyle {
+ PagerStyleWindowContents = 0,
+ PagerStyleWindowBordersAndIcons,
+} PagerStyle;
+
@class CloseButtonLayer;
@interface PagerController : NSObject {
View
4 PagerController.m
@@ -18,7 +18,7 @@
static const CGFloat PagerBorderGray = 0.2;
static const CGFloat PagerBorderAlpha = 0.6;
-static const CGFloat PagerBorderWidth = 4;
+static const CGFloat PagerBorderWidth = 5;
@interface NSApplication (ContextID)
- (NSInteger)contextID;
@@ -246,7 +246,7 @@ - (void)drawLayer:(CALayer *)layer inContext:(CGContextRef)ctx
cgrect.origin.y = screenSize.height - cgrect.size.height - cgrect.origin.y;
- if (0) {
+ if ([[NSUserDefaults standardUserDefaults] integerForKey:@"PagerStyle"] == PagerStyleWindowContents) {
CGContextScaleCTM(ctx, size.width / screenSize.width, size.height / screenSize.height);
CGContextCopyWindowCaptureContentsToRect(ctx, cgrect, cid, list[i], 0);
CGContextScaleCTM(ctx, screenSize.width / size.width, screenSize.height / size.height);
View
8 zh_TW.lproj/WarpPreferences.xib
@@ -2,9 +2,9 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
<data>
<int key="IBDocument.SystemTarget">1050</int>
- <string key="IBDocument.SystemVersion">9G55</string>
+ <string key="IBDocument.SystemVersion">9J61</string>
<string key="IBDocument.InterfaceBuilderVersion">677</string>
- <string key="IBDocument.AppKitVersion">949.43</string>
+ <string key="IBDocument.AppKitVersion">949.46</string>
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -699,13 +699,13 @@
<object class="NSButton" id="689890346">
<reference key="NSNextResponder" ref="467419391"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{248, 139}, {281, 18}}</string>
+ <string key="NSFrame">{{248, 139}, {178, 18}}</string>
<reference key="NSSuperview" ref="467419391"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="1044903716">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">0</int>
- <string type="base64-UTF8" key="NSContents">5Zyo56m66ZaT55qE5Lu75oSP5L2N572u6aCG5Yui5YiH5o+bIChBc3Rlcm9pZHMg5pa55byPKQ</string>
+ <string type="base64-UTF8" key="NSContents">5Zyo56m66ZaT55qE5Lu75oSP5L2N572u6aCG5Yui5YiH5o+bA</string>
<reference key="NSSupport" ref="656096860"/>
<reference key="NSControlView" ref="689890346"/>
<int key="NSButtonFlags">1211912703</int>

0 comments on commit e604214

Please sign in to comment.