Skip to content

Commit

Permalink
Edits
Browse files Browse the repository at this point in the history
  • Loading branch information
joericioppo committed Jan 17, 2011
1 parent 579995a commit 7abda04
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Controller/MyWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ - (void)awakeFromNib {
// self.background.innerShadow = [NSShadow shadowWithColor:[NSColor colorWithCalibratedHue:0.625 saturation:0.0 brightness:0.0 alpha:0.23]
// offset:NSMakeSize(0.0, 0.0)
// blurRadius:2.0];
self.background.innerGlow = [NSShadow shadowWithColor:[NSColor colorWithCalibratedHue:0.625 saturation:0.0 brightness:0.0 alpha:0.2]
self.background.innerGlow = [NSShadow shadowWithColor:[NSColor colorWithCalibratedHue:0.625 saturation:0.0 brightness:0.0 alpha:0.1]
offset:NSMakeSize(0.0, 0.0)
blurRadius:10.0];
self.background.bottomEdgeColor = [NSColor colorWithCalibratedWhite:0.27 alpha:1.0];

//--
self.popUpThing.backgroundImage = [NSImage imageNamed:@"dark_popup.png"]; // image is copywrite, because it's not pixel correct. draw your own mofo.
self.popUpThing.backgroundImage = [NSImage imageNamed:@"dark_popup.png"]; // image is copywrite, because it is not pixel correct. draw your own mofo.
self.popUpThing.leftCapWidth = 80.0;
self.popUpThing.topCapHeight = 60.0;

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@

A generic styled view class for rendering simple graphics on the desktop. I use this every day.

BSD License, except for the image.
1 change: 1 addition & 0 deletions StyledView/Categories/NSBezierPath+Additions.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// MyStyledView
//
// http://www.seanpatrickobrien.com/journal/posts/3
// BSD License
//


Expand Down
1 change: 1 addition & 0 deletions StyledView/Categories/NSBezierPath+Additions.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// MyStyledView
//
// http://www.seanpatrickobrien.com/journal/posts/3
// BSD License
//

#import "NSBezierPath+Additions.h"
Expand Down
3 changes: 2 additions & 1 deletion StyledView/Categories/NSGraphicsContext+Additions.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// NSGraphicsContext+Additions.h
// MyStyledView
//
// http://jonathandann.wordpress.com/2009/09/09/forget-the-code/
// adapted from http://jonathandann.wordpress.com/2009/09/09/forget-the-code/
// BSD License
//


Expand Down
3 changes: 2 additions & 1 deletion StyledView/Categories/NSGraphicsContext+Additions.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// NSGraphicsContext+Additions.m
// MyStyledView
//
// http://jonathandann.wordpress.com/2009/09/09/forget-the-code/
// adapted from http://jonathandann.wordpress.com/2009/09/09/forget-the-code/
// BSD License
//

#import "NSGraphicsContext+Additions.h"
Expand Down

0 comments on commit 7abda04

Please sign in to comment.