project_files/HedgewarsMobile/Classes/AboutViewController.m
author koda
Mon, 23 Aug 2010 00:46:06 +0200
changeset 3753 bb5a0252fb56
parent 3703 12d17c6e8855
child 3783 8e9daf967406
permissions -rw-r--r--
small update for the about page
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3703
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
     1
    //
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
     2
//  AboutViewController.m
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
     3
//  Hedgewars
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
     4
//
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
     5
//  Created by Vittorio on 01/08/10.
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
     7
//
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
     8
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
     9
#import "AboutViewController.h"
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    10
#import "CommodityFunctions.h"
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    11
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    12
@implementation AboutViewController
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    13
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    14
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    15
-(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    16
    return rotationManager(interfaceOrientation);
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    17
}
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    18
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    19
-(void) viewDidLoad {
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    20
    self.view.frame = CGRectMake(0, 0, 320, 480);
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    21
    [super viewDidLoad];
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    22
}
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    23
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    24
-(void) didReceiveMemoryWarning {
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    25
    // Releases the view if it doesn't have a superview.
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    26
    [super didReceiveMemoryWarning];
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    27
    
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    28
    // Release any cached data, images, etc that aren't in use.
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    29
}
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    30
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    31
-(void) viewDidUnload {
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    32
    [super viewDidUnload];
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    33
    // Release any retained subviews of the main view.
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    34
    // e.g. self.myOutlet = nil;
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    35
}
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    36
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    37
-(void) dealloc {
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    38
    [super dealloc];
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    39
}
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    40
3753
bb5a0252fb56 small update for the about page
koda
parents: 3703
diff changeset
    41
-(IBAction) buttonPressed:(id) sender {
bb5a0252fb56 small update for the about page
koda
parents: 3703
diff changeset
    42
    [[self parentViewController] dismissModalViewControllerAnimated:YES];
bb5a0252fb56 small update for the about page
koda
parents: 3703
diff changeset
    43
}
3703
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    44
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
diff changeset
    45
@end