author | koda |
Fri, 17 Feb 2012 18:23:36 +0100 | |
changeset 6700 | e04da46ee43c |
parent 6634 | e00762923086 |
child 6830 | d2df090453aa |
permissions | -rw-r--r-- |
3829 | 1 |
/* |
2 |
* Hedgewars-iOS, a Hedgewars port for iOS devices |
|
6700 | 3 |
* Copyright (c) 2009-2012 Vittorio Giovara <vittorio.giovara@gmail.com> |
3829 | 4 |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation; version 2 of the License |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
17 |
* |
|
18 |
* File created on 18/04/2010. |
|
19 |
*/ |
|
20 |
||
3547 | 21 |
|
22 |
#import <UIKit/UIKit.h> |
|
23 |
||
6115
485cfecadc9a
HUGE refactoring of the ipad interface, finally understood how to use interface builder with custom uiviewcontrollers, as well as converted some uitableviewcontrollers to uiviewcontrollers for simplicity
koda
parents:
6080
diff
changeset
|
24 |
@class SchemeWeaponConfigViewController; |
3547 | 25 |
@class TeamConfigViewController; |
6115
485cfecadc9a
HUGE refactoring of the ipad interface, finally understood how to use interface builder with custom uiviewcontrollers, as well as converted some uitableviewcontrollers to uiviewcontrollers for simplicity
koda
parents:
6080
diff
changeset
|
26 |
@class MapConfigViewController; |
485cfecadc9a
HUGE refactoring of the ipad interface, finally understood how to use interface builder with custom uiviewcontrollers, as well as converted some uitableviewcontrollers to uiviewcontrollers for simplicity
koda
parents:
6080
diff
changeset
|
27 |
@class HelpPageViewController; |
3547 | 28 |
|
3930 | 29 |
@interface GameConfigViewController : UIViewController { |
3778 | 30 |
UIView *imgContainer; |
6634
e00762923086
ios game configuration page supports rotation, with some enhancements (like the new slider); some glitches here and there
koda
parents:
6115
diff
changeset
|
31 |
UIImageView *titleImage; |
e00762923086
ios game configuration page supports rotation, with some enhancements (like the new slider); some glitches here and there
koda
parents:
6115
diff
changeset
|
32 |
UILabel *sliderBackground; |
6115
485cfecadc9a
HUGE refactoring of the ipad interface, finally understood how to use interface builder with custom uiviewcontrollers, as well as converted some uitableviewcontrollers to uiviewcontrollers for simplicity
koda
parents:
6080
diff
changeset
|
33 |
|
485cfecadc9a
HUGE refactoring of the ipad interface, finally understood how to use interface builder with custom uiviewcontrollers, as well as converted some uitableviewcontrollers to uiviewcontrollers for simplicity
koda
parents:
6080
diff
changeset
|
34 |
SchemeWeaponConfigViewController *schemeWeaponConfigViewController; |
485cfecadc9a
HUGE refactoring of the ipad interface, finally understood how to use interface builder with custom uiviewcontrollers, as well as converted some uitableviewcontrollers to uiviewcontrollers for simplicity
koda
parents:
6080
diff
changeset
|
35 |
TeamConfigViewController *teamConfigViewController; |
3547 | 36 |
MapConfigViewController *mapConfigViewController; |
6115
485cfecadc9a
HUGE refactoring of the ipad interface, finally understood how to use interface builder with custom uiviewcontrollers, as well as converted some uitableviewcontrollers to uiviewcontrollers for simplicity
koda
parents:
6080
diff
changeset
|
37 |
HelpPageViewController *helpPage; |
3547 | 38 |
} |
39 |
||
3948
24daa33a3114
some rethinking of initial menu presentation and initial orientation (also merging images should be threadsafe now)
koda
parents:
3930
diff
changeset
|
40 |
@property (retain) UIView *imgContainer; |
6634
e00762923086
ios game configuration page supports rotation, with some enhancements (like the new slider); some glitches here and there
koda
parents:
6115
diff
changeset
|
41 |
@property (nonatomic,retain) UILabel * sliderBackground; |
e00762923086
ios game configuration page supports rotation, with some enhancements (like the new slider); some glitches here and there
koda
parents:
6115
diff
changeset
|
42 |
@property (nonatomic,retain) IBOutlet UIImageView *titleImage; |
6115
485cfecadc9a
HUGE refactoring of the ipad interface, finally understood how to use interface builder with custom uiviewcontrollers, as well as converted some uitableviewcontrollers to uiviewcontrollers for simplicity
koda
parents:
6080
diff
changeset
|
43 |
@property (nonatomic,retain) IBOutlet SchemeWeaponConfigViewController *schemeWeaponConfigViewController; |
485cfecadc9a
HUGE refactoring of the ipad interface, finally understood how to use interface builder with custom uiviewcontrollers, as well as converted some uitableviewcontrollers to uiviewcontrollers for simplicity
koda
parents:
6080
diff
changeset
|
44 |
@property (nonatomic,retain) IBOutlet TeamConfigViewController *teamConfigViewController; |
485cfecadc9a
HUGE refactoring of the ipad interface, finally understood how to use interface builder with custom uiviewcontrollers, as well as converted some uitableviewcontrollers to uiviewcontrollers for simplicity
koda
parents:
6080
diff
changeset
|
45 |
@property (nonatomic,retain) IBOutlet MapConfigViewController *mapConfigViewController; |
3792 | 46 |
@property (nonatomic,retain) HelpPageViewController *helpPage; |
3778 | 47 |
|
3547 | 48 |
-(IBAction) buttonPressed:(id) sender; |
49 |
-(IBAction) segmentPressed:(id) sender; |
|
50 |
-(void) startGame:(UIButton *)button; |
|
6080
ce02ddfe8aa1
on ipad2 and above animate the little hogs on game config and fix the hat display imaging
koda
parents:
5666
diff
changeset
|
51 |
-(BOOL) isEverythingSet; |
3547 | 52 |
|
53 |
@end |