Mercurial > hg > soniczoomios
diff TopButtonViewController.mm @ 36:a42903c61558
Added sliderview (not operational though)
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Tue, 09 Apr 2013 13:22:28 +0100 |
parents | ab7c86d0f3d8 |
children | 8ed7522deaaa |
line wrap: on
line diff
--- a/TopButtonViewController.mm Mon Apr 08 17:23:13 2013 +0100 +++ b/TopButtonViewController.mm Tue Apr 09 13:22:28 2013 +0100 @@ -34,15 +34,15 @@ // Do any additional setup after loading the view from its nib. self.playButton.enabled = true; self.pauseButton.enabled = false; - self.qButton.enabled = true; + self.qButton.enabled = false; self.newUserButton.enabled = true; //------------------------ // Get the reference to the current toolbar buttons - NSMutableArray *toolbarButtons = [self.toolbarItems mutableCopy]; + //NSMutableArray *toolbarButtons = [self.toolbarItems mutableCopy]; // This is how you remove the button from the toolbar and animate it - [toolbarButtons removeObject:self.qButton]; - [self setToolbarItems:toolbarButtons animated:YES]; + //[toolbarButtons removeObject:self.qButton]; + //[self setToolbarItems:toolbarButtons animated:YES]; // This is how you add the button to the toolbar and animate it /* @@ -130,6 +130,10 @@ ((testApp *)self.theOFAppRef)->setupNewUser(); } +- (IBAction)nextSequence:(id)sender { + ((testApp *)self.theOFAppRef)->nextSequence(); +} + - (IBAction)show:(id)sender { self.theOFAppRef = sender;