author | koda |
Thu, 27 Jun 2013 12:02:40 +0200 | |
changeset 9268 | 8a9075ed0aab |
parent 7048 | 0a4c88935902 |
child 10108 | c68cf030eded |
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 |
||
3547 | 19 |
|
20 |
#import <UIKit/UIKit.h> |
|
21 |
||
6832 | 22 |
|
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
|
23 |
@class SchemeWeaponConfigViewController; |
3547 | 24 |
@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
|
25 |
@class MapConfigViewController; |
7048
0a4c88935902
the ios port runs again, although with a few things to sort out
koda
parents:
6832
diff
changeset
|
26 |
//@class HelpPageLobbyViewController; |
3547 | 27 |
|
3930 | 28 |
@interface GameConfigViewController : UIViewController { |
3778 | 29 |
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
|
30 |
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
|
31 |
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
|
32 |
|
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 |
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
|
34 |
TeamConfigViewController *teamConfigViewController; |
3547 | 35 |
MapConfigViewController *mapConfigViewController; |
7048
0a4c88935902
the ios port runs again, although with a few things to sort out
koda
parents:
6832
diff
changeset
|
36 |
//HelpPageLobbyViewController *helpPage; |
3547 | 37 |
} |
38 |
||
3948
24daa33a3114
some rethinking of initial menu presentation and initial orientation (also merging images should be threadsafe now)
koda
parents:
3930
diff
changeset
|
39 |
@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
|
40 |
@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
|
41 |
@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
|
42 |
@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
|
43 |
@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
|
44 |
@property (nonatomic,retain) IBOutlet MapConfigViewController *mapConfigViewController; |
7048
0a4c88935902
the ios port runs again, although with a few things to sort out
koda
parents:
6832
diff
changeset
|
45 |
//@property (nonatomic,retain) HelpPageLobbyViewController *helpPage; |
3778 | 46 |
|
3547 | 47 |
-(IBAction) buttonPressed:(id) sender; |
48 |
-(IBAction) segmentPressed:(id) sender; |
|
49 |
-(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
|
50 |
-(BOOL) isEverythingSet; |
3547 | 51 |
|
52 |
@end |