diff --git a/baRSS/Assets.xcassets/seperator.imageset/Contents.json b/baRSS/Assets.xcassets/seperator.imageset/Contents.json deleted file mode 100644 index 2b9622b..0000000 --- a/baRSS/Assets.xcassets/seperator.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "separator.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "separator@2x.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "filename" : "separator@3x.png", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/baRSS/Assets.xcassets/seperator.imageset/separator.png b/baRSS/Assets.xcassets/seperator.imageset/separator.png deleted file mode 100644 index 76321bd..0000000 Binary files a/baRSS/Assets.xcassets/seperator.imageset/separator.png and /dev/null differ diff --git a/baRSS/Assets.xcassets/seperator.imageset/separator@2x.png b/baRSS/Assets.xcassets/seperator.imageset/separator@2x.png deleted file mode 100644 index 7e295e2..0000000 Binary files a/baRSS/Assets.xcassets/seperator.imageset/separator@2x.png and /dev/null differ diff --git a/baRSS/Assets.xcassets/seperator.imageset/separator@3x.png b/baRSS/Assets.xcassets/seperator.imageset/separator@3x.png deleted file mode 100644 index d38e4bb..0000000 Binary files a/baRSS/Assets.xcassets/seperator.imageset/separator@3x.png and /dev/null differ diff --git a/baRSS/Base.lproj/Main.xib b/baRSS/Base.lproj/Main.xib index 6eae88b..474cdb7 100644 --- a/baRSS/Base.lproj/Main.xib +++ b/baRSS/Base.lproj/Main.xib @@ -318,14 +318,14 @@ - + - + @@ -365,26 +365,27 @@ - + - + - - - + + - - - - + + + + + + - + @@ -419,7 +420,12 @@ - + + + + + + @@ -438,7 +444,7 @@ - + @@ -518,6 +524,5 @@ CA - diff --git a/baRSS/NewsController.m b/baRSS/NewsController.m index 992c783..a91d933 100644 --- a/baRSS/NewsController.m +++ b/baRSS/NewsController.m @@ -257,3 +257,16 @@ static NSString *dragNodeType = @"baRSS-feed-type"; } @end + + +@interface Separator : NSView +@end + +@implementation Separator +- (void)drawRect:(NSRect)dirtyRect { + [super drawRect:dirtyRect]; + NSGradient *grdnt = [[NSGradient alloc] initWithStartingColor:[NSColor darkGrayColor] endingColor:[[NSColor darkGrayColor] colorWithAlphaComponent:0.0]]; + NSBezierPath *rounded = [NSBezierPath bezierPathWithRoundedRect:NSMakeRect(1, self.bounds.size.height/2.0-1, self.bounds.size.width-2, 2) xRadius:1 yRadius:1]; + [grdnt drawInBezierPath:rounded angle:0]; +} +@end