From d38f76ac74c7d74a5c313418c414e59a4083fe92 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sun, 10 Jun 2012 13:47:32 +0000 Subject: [PATCH] specify the background style of the up and down arrows in the status bar --- macosx/StatusBar.xib | 62 +++++++++++++++++++++--------------- macosx/StatusBarController.h | 2 +- macosx/StatusBarController.m | 2 ++ 3 files changed, 40 insertions(+), 26 deletions(-) diff --git a/macosx/StatusBar.xib b/macosx/StatusBar.xib index 3e9a22cbd..b4ad82ab2 100644 --- a/macosx/StatusBar.xib +++ b/macosx/StatusBar.xib @@ -2,13 +2,13 @@ 1060 - 11B26 - 1617 - 1138 - 566.00 + 11E53 + 2182 + 1138.47 + 569.00 com.apple.InterfaceBuilder.CocoaPlugin - 1617 + 2182 NSTextField @@ -25,7 +25,10 @@ com.apple.InterfaceBuilder.CocoaPlugin - + + PluginDependencyRecalculationVersion + + StatusBarController @@ -37,7 +40,7 @@ NSApplication - + 266 @@ -45,6 +48,7 @@ 257 {{258, 4}, {64, 14}} + YES 67239424 @@ -81,6 +85,7 @@ 257 {{336, 4}, {64, 14}} + YES 67239424 @@ -105,6 +110,7 @@ {{325, 5}, {8, 12}} + YES 130560 @@ -133,6 +139,7 @@ {{247, 5}, {8, 12}} + YES 130560 @@ -153,6 +160,7 @@ 268 {{5, 2}, {103, 17}} + YES -2076049856 @@ -254,6 +262,8 @@ {400, 21} + + StatusBarView NSView @@ -332,6 +342,14 @@ 41 + + + fTotalULImageView + + + + 42 + @@ -505,29 +523,19 @@ - 41 + 42 StatusBarController NSViewController - - setStatusLabel: - id - - - setStatusLabel: - - setStatusLabel: - id - - NSButton NSTextField NSImageView NSTextField + NSImageView @@ -546,6 +554,10 @@ fTotalULField NSTextField + + fTotalULImageView + NSImageView + IBProjectSource @@ -570,16 +582,16 @@ com.apple.InterfaceBuilder.CocoaPlugin.macosx - + YES 3 - {8, 12} - {9, 8} - {7, 2} - {8, 12} - {10, 12} + {128, 128} + {11, 11} + {10, 3} + {128, 128} + {128, 128} diff --git a/macosx/StatusBarController.h b/macosx/StatusBarController.h index 6deced9c2..5d79cc1c4 100644 --- a/macosx/StatusBarController.h +++ b/macosx/StatusBarController.h @@ -30,7 +30,7 @@ { IBOutlet NSButton * fStatusButton; IBOutlet NSTextField * fTotalDLField, * fTotalULField; - IBOutlet NSImageView * fTotalDLImageView; + IBOutlet NSImageView * fTotalDLImageView, * fTotalULImageView; tr_session * fLib; diff --git a/macosx/StatusBarController.m b/macosx/StatusBarController.m index 72c0d9852..9baa69dad 100644 --- a/macosx/StatusBarController.m +++ b/macosx/StatusBarController.m @@ -76,6 +76,8 @@ typedef enum [[fStatusButton cell] setBackgroundStyle: NSBackgroundStyleRaised]; [[fTotalDLField cell] setBackgroundStyle: NSBackgroundStyleRaised]; [[fTotalULField cell] setBackgroundStyle: NSBackgroundStyleRaised]; + [[fTotalDLImageView cell] setBackgroundStyle: NSBackgroundStyleRaised]; + [[fTotalULImageView cell] setBackgroundStyle: NSBackgroundStyleRaised]; [self updateSpeedFieldsToolTips];