annotate HelpViewController.mm @ 49:178642d134a7 tip

xtra files
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Wed, 01 May 2013 17:34:33 +0100
parents e2c62db1e265
children
rev   line source
rt300@28 1 //
rt300@28 2 // HelpViewController.m
rt300@28 3 // sonicZoom
rt300@28 4 //
rt300@28 5 // Created by Robert Tubb on 01/02/2013.
rt300@28 6 //
rt300@28 7 //
rt300@28 8
rt300@28 9 #import "HelpViewController.h"
rt300@28 10 #import "testApp.h"
rt300@28 11 @interface HelpViewController ()
rt300@28 12
rt300@28 13 @end
rt300@28 14
rt300@28 15 @implementation HelpViewController
rt300@28 16
rt300@28 17 - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
rt300@28 18 {
rt300@28 19 self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
rt300@28 20 if (self) {
rt300@28 21 // Custom initialization
rt300@28 22 }
rt300@28 23 return self;
rt300@28 24 }
rt300@28 25
rt300@28 26 - (void)viewDidLoad
rt300@28 27 {
rt300@28 28 [super viewDidLoad];
rt300@28 29 // Do any additional setup after loading the view from its nib.
rt300@28 30 }
rt300@28 31
rt300@28 32 - (void)didReceiveMemoryWarning
rt300@28 33 {
rt300@28 34 [super didReceiveMemoryWarning];
rt300@28 35 // Dispose of any resources that can be recreated.
rt300@28 36 }
rt300@28 37
rt300@28 38 - (void)setAppRef:(id)theOFApp{
rt300@28 39 self.theOFAppRef = theOFApp;
rt300@28 40
rt300@28 41 }
rt300@28 42 -(IBAction)show:(id)sender{
rt300@28 43 self.view.hidden = NO;
rt300@28 44 }
rt300@28 45
rt300@28 46 - (IBAction)hide:(id)sender
rt300@28 47 {
rt300@28 48 self.view.hidden = YES;
rt300@28 49 ((testApp *)self.theOFAppRef)->helpHidden();
rt300@28 50
rt300@28 51
rt300@28 52 }
rt300@28 53 @end