project_files/HedgewarsMobile/Classes/WeaponCellView.h
author Wuzzy <Wuzzy2@mail.ru>
Wed, 11 Jul 2018 15:44:33 +0200
changeset 13472 1515e643cd91
parent 12877 00215a7ec5f5
permissions -rw-r--r--
ACF3: Move princess to her own team, fix clan color
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3829
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
     1
/*
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
     2
 * Hedgewars-iOS, a Hedgewars port for iOS devices
6700
e04da46ee43c the most important commit of the year
koda
parents: 4976
diff changeset
     3
 * Copyright (c) 2009-2012 Vittorio Giovara <vittorio.giovara@gmail.com>
3829
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
     4
 *
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
     8
 *
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
    12
 * GNU General Public License for more details.
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
    13
 *
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
    14
 * You should have received a copy of the GNU General Public License
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
    15
 * along with this program; if not, write to the Free Software
10108
c68cf030eded update FSF address. note: two sdl include files (by Sam Lantinga) still have the old FSF address in their copyright - but I ain't gonna touch their copyright headers
sheepluva
parents: 6832
diff changeset
    16
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
3829
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
    17
 */
81db3c85784b headers ftw, also right project file
koda
parents: 3766
diff changeset
    18
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    19
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    20
#import <UIKit/UIKit.h>
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    21
6832
fae8fd118da9 dates are no more!
koda
parents: 6700
diff changeset
    22
3624
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    23
@protocol WeaponButtonControllerDelegate <NSObject>
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    24
12877
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    25
- (void)updateValues:(NSArray *)withArray atIndex:(NSInteger)index;
3624
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    26
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    27
@end
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    28
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    29
@interface WeaponCellView : UITableViewCell {
12877
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    30
    id<WeaponButtonControllerDelegate> __weak delegate;
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    31
    UILabel *weaponName;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    32
    UIImageView *weaponIcon;
3703
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents: 3644
diff changeset
    33
3766
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    34
    UISlider *initialSli;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    35
    UISlider *probabilitySli;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    36
    UISlider *delaySli;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    37
    UISlider *crateSli;
3703
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents: 3644
diff changeset
    38
3643
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    39
@private
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    40
    UIImageView *initialImg;
3766
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    41
    UIImageView *probabilityImg;
3643
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    42
    UIImageView *delayImg;
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    43
    UIImageView *crateImg;
3703
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents: 3644
diff changeset
    44
3643
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    45
    UILabel *initialLab;
3766
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    46
    UILabel *probabilityLab;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    47
    UILabel *delayLab;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    48
    UILabel *crateLab;
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    49
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    50
    UILabel *helpLabel;
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    51
}
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    52
12877
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    53
@property (nonatomic, weak) id<WeaponButtonControllerDelegate> delegate;
3624
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    54
12877
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    55
@property (nonatomic, strong) UILabel *weaponName;
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    56
@property (nonatomic, strong) UIImageView *weaponIcon;
3703
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents: 3644
diff changeset
    57
12877
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    58
@property (nonatomic, strong) UISlider *initialSli;
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    59
@property (nonatomic, strong) UISlider *probabilitySli;
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    60
@property (nonatomic, strong) UISlider *delaySli;
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    61
@property (nonatomic, strong) UISlider *crateSli;
3643
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    62
12877
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    63
@property (nonatomic, strong) UIImageView *initialImg;
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    64
@property (nonatomic, strong) UIImageView *probabilityImg;
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    65
@property (nonatomic, strong) UIImageView *delayImg;
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    66
@property (nonatomic, strong) UIImageView *crateImg;
3643
858b20bafb6e reworked the ammunition configuration page (visually)
koda
parents: 3624
diff changeset
    67
12877
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    68
@property (nonatomic, strong) UILabel *initialLab;
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    69
@property (nonatomic, strong) UILabel *probabilityLab;
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    70
@property (nonatomic, strong) UILabel *delayLab;
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    71
@property (nonatomic, strong) UILabel *crateLab;
3766
36b625111609 add a little explanation when modifying weaponset in ifrontend
koda
parents: 3703
diff changeset
    72
12877
00215a7ec5f5 - BIG CHANGE: Convert iOS project to use ARC
antonc27 <antonc27@mail.ru>
parents: 10108
diff changeset
    73
@property (nonatomic, strong) UILabel *helpLabel;
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    74
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    75
@end