project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m
changeset 6671 5532d5f6285c
parent 6670 d57fa21781ea
child 6700 e04da46ee43c
equal deleted inserted replaced
6670:d57fa21781ea 6671:5532d5f6285c
   187 
   187 
   188 -(CGFloat) tableView:(UITableView *)aTableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
   188 -(CGFloat) tableView:(UITableView *)aTableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
   189     if (0 == [indexPath section])
   189     if (0 == [indexPath section])
   190         return aTableView.rowHeight;
   190         return aTableView.rowHeight;
   191     else
   191     else
   192         return UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation]) ? 208 : 120;
   192         return IS_ON_PORTRAIT() ? 208 : 120;
   193 }
   193 }
   194 
   194 
   195 -(NSString *)tableView:(UITableView *)aTableView titleForHeaderInSection:(NSInteger)section {
   195 -(NSString *)tableView:(UITableView *)aTableView titleForHeaderInSection:(NSInteger)section {
   196     NSString *sectionTitle = nil;
   196     NSString *sectionTitle = nil;
   197     switch (section) {
   197     switch (section) {