1.1 --- a/Source/DemoBoardView.m Fri Mar 07 11:43:02 2008 -0800
1.2 +++ b/Source/DemoBoardView.m Wed Mar 12 15:51:32 2008 -0700
1.3 @@ -22,6 +22,7 @@
1.4 */
1.5 #import "DemoBoardView.h"
1.6 #import "Game.h"
1.7 +#import "GGBTextLayer.h"
1.8 #import "QuartzUtils.h"
1.9
1.10
1.11 @@ -79,12 +80,13 @@
1.12 [self registerForDraggedTypes: [NSArray arrayWithObject: NSFilenamesPboardType]];
1.13
1.14 CGRect bounds = self.layer.bounds;
1.15 - self.layer.backgroundColor = GetCGPatternNamed(@"/Library/Desktop Pictures/Small Ripples graphite.png");
1.16 + self.layer.backgroundColor = GetCGPatternNamed(@"Background.png");
1.17
1.18 bounds.size.height -= 32;
1.19 - _headline = AddTextLayer(self.layer,
1.20 - nil, [NSFont boldSystemFontOfSize: 24],
1.21 - kCALayerWidthSizable | kCALayerMinYMargin);
1.22 + _headline = [GGBTextLayer textLayerInSuperlayer: self.layer
1.23 + withText: nil
1.24 + fontSize: 24
1.25 + alignment: kCALayerWidthSizable | kCALayerMinYMargin];
1.26
1.27 [self startGameNamed: sCurrentGameName];
1.28 }