All pastes #481344 Raw Edit

Mine

public cpp v1 · immutable
·published 2007-05-10 19:53 UTC
rendered paste body
// setup the button control    frame = [[self masterLayer] frame];    _pButton = [[BRButtonControl alloc] initWithScene: scene                                     masterLayerSize: frame.size];    [_pButton setYPosition: frame.origin.y + (frame.size.height * (2.0f / 8.0f))];    [_pButton setTitle: @"Start"];    [_pButton setTarget: self];    [_pButton setAction: @selector(play:)];		_sButton = [[BRButtonControl alloc] initWithScene: scene                                     masterLayerSize: frame.size];    [_sButton setYPosition: frame.origin.y + (frame.size.height * (1.0f / 8.0f))];    [_sButton setTitle: @"Stop"];    [_sButton setTarget: self];    [_sButton setAction: @selector(stop:)];