equal
deleted
inserted
replaced
351 self.mapGenCommand = mapgen; |
351 self.mapGenCommand = mapgen; |
352 self.staticMapCommand = staticmap; |
352 self.staticMapCommand = staticmap; |
353 self.missionCommand = mission; |
353 self.missionCommand = mission; |
354 |
354 |
355 // nice animation for updating the table when appropriate (on iphone) |
355 // nice animation for updating the table when appropriate (on iphone) |
356 if (IS_IPAD()) |
356 if (IS_IPAD() == NO) |
357 if (((oldPage == 0 || oldPage == 2) && (newPage == 1 || newPage == 3)) || |
357 if (((oldPage == 0 || oldPage == 2) && (newPage == 1 || newPage == 3)) || |
358 ((oldPage == 1 || oldPage == 3) && (newPage == 0 || newPage == 2)) || |
358 ((oldPage == 1 || oldPage == 3) && (newPage == 0 || newPage == 2)) || |
359 ((oldPage == 1 && newPage == 3) || (oldPage == 3 || newPage == 1))) { |
359 ((oldPage == 1 && newPage == 3) || (oldPage == 3 || newPage == 1))) { |
360 self.tableView.frame = CGRectMake(480, 0, 185, 276); |
360 self.tableView.frame = CGRectMake(480, 0, 185, 276); |
361 [UIView beginAnimations:@"moving in table" context:NULL]; |
361 [UIView beginAnimations:@"moving in table" context:NULL]; |
423 self.mapGenCommand = @"e$mapgen 0"; |
423 self.mapGenCommand = @"e$mapgen 0"; |
424 self.staticMapCommand = @""; |
424 self.staticMapCommand = @""; |
425 self.missionCommand = @""; |
425 self.missionCommand = @""; |
426 |
426 |
427 if (IS_IPAD()) { |
427 if (IS_IPAD()) { |
428 if ([UITableView respondsToSelector:@selector(setBackgroundView:)]) |
428 if ([self.tableView respondsToSelector:@selector(setBackgroundView:)]) |
429 [self.tableView setBackgroundView:nil]; |
429 [self.tableView setBackgroundView:nil]; |
430 self.view.backgroundColor = [UIColor clearColor]; |
430 self.view.backgroundColor = [UIColor clearColor]; |
431 self.tableView.separatorColor = UICOLOR_HW_YELLOW_BODER; |
431 self.tableView.separatorColor = UICOLOR_HW_YELLOW_BODER; |
432 self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone; |
432 self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone; |
433 self.tableView.rowHeight = 45; |
433 self.tableView.rowHeight = 45; |