Skip to content
Browse files

bigger buttons

  • Loading branch information...
1 parent a793a40 commit c720426d76c727add506735eb6b9464e968b7a26 @paulaj paulaj committed Jun 11, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5 Classes/WhiteboardView.m
View
10 Classes/WhiteboardView.m
@@ -36,10 +36,10 @@ - (id)initWithFrame:(CGRect)frame {
yellowButton=[[[ColorButton alloc] initWithImage:[UIImage imageNamed:@"bullet_yellow.png"] withFrame: CGRectMake(710, 950, 50, 50) withColor:[UIColor yellowColor]] retain];
- eraserButton=[[[EraserButton alloc] initWithImage:[UIImage imageNamed:@"tab.png"] withFrame: CGRectMake(100, 60, 30, 30)] retain];
- eraseAllButton=[[[EraseAllButton alloc] initWithImage:[UIImage imageNamed:@"arrow_refresh.png"] withFrame: CGRectMake(200, 60, 30, 30)] retain];
- plusButton=[[[SizeButton alloc] initWithImage:[UIImage imageNamed:@"add.png"] withFrame: CGRectMake(300, 60, 30, 30) withDirectionOfChange: @"+"] retain];
- minusButton=[[[SizeButton alloc] initWithImage:[UIImage imageNamed:@"delete.png"] withFrame: CGRectMake(500, 60, 30, 30) withDirectionOfChange:@"-"] retain];
+ eraserButton=[[[EraserButton alloc] initWithImage:[UIImage imageNamed:@"tab.png"] withFrame: CGRectMake(100, 60, 50, 50)] retain];
+ eraseAllButton=[[[EraseAllButton alloc] initWithImage:[UIImage imageNamed:@"arrow_refresh.png"] withFrame: CGRectMake(200, 60, 50, 50)] retain];
+ plusButton=[[[SizeButton alloc] initWithImage:[UIImage imageNamed:@"add.png"] withFrame: CGRectMake(300, 60, 50, 50) withDirectionOfChange: @"+"] retain];
+ minusButton=[[[SizeButton alloc] initWithImage:[UIImage imageNamed:@"delete.png"] withFrame: CGRectMake(500, 60, 50, 50) withDirectionOfChange:@"-"] retain];
frameOfButtonLocator= blueButton.frame;
[self addSubview:eraserButton];
@@ -109,7 +109,7 @@ - (void)drawRect:(CGRect)rect {
CGContextSetStrokeColorWithColor(ctx, currentStrokeColor.CGColor);
CGContextSetFillColorWithColor(ctx, currentStrokeColor.CGColor);
//CGContextAddEllipseInRect(ctx, CGRectMake( 400, 60, currentStrokeWidth, currentStrokeWidth));
- CGContextAddArc(ctx, 410, 75, currentStrokeWidth/2.0, 0, 2* M_PI, 0);
+ CGContextAddArc(ctx, 420, 80, currentStrokeWidth/2.0, 0, 2* M_PI, 0);
CGContextFillPath(ctx);
CGContextStrokePath(ctx);
CGContextSetFillColorWithColor(ctx, [UIColor blackColor].CGColor);

0 comments on commit c720426

Please sign in to comment.
Something went wrong with that request. Please try again.