project_files/HedgewarsMobile/Classes/GameConfigViewController.m
changeset 6079 c10767edcd58
parent 6078 8c0cc07731e5
child 6080 ce02ddfe8aa1
equal deleted inserted replaced
6078:8c0cc07731e5 6079:c10767edcd58
   297         // top right column (map)
   297         // top right column (map)
   298         theLabel = [[UILabel alloc] initWithFrame:CGRectMake(714, 14, 300, 190) andTitle:nil withBorderWidth:2.3f];
   298         theLabel = [[UILabel alloc] initWithFrame:CGRectMake(714, 14, 300, 190) andTitle:nil withBorderWidth:2.3f];
   299         [self.mapConfigViewController.view addSubview:theLabel];
   299         [self.mapConfigViewController.view addSubview:theLabel];
   300         releaseAndNil(theLabel);
   300         releaseAndNil(theLabel);
   301         // bottom left
   301         // bottom left
   302         theLabel = [[UILabel alloc] initWithFrame:CGRectMake(106, 714, 320, 40) andTitle:nil withBorderWidth:2.0f];
   302         theLabel = [[UILabel alloc] initWithFrame:CGRectMake(110, 714, 320, 40) andTitle:nil withBorderWidth:2.0f];
   303         [self.mapConfigViewController.view addSubview:theLabel];
   303         [self.mapConfigViewController.view addSubview:theLabel];
   304         releaseAndNil(theLabel);
   304         releaseAndNil(theLabel);
   305         // bottom right
   305         // bottom right
   306         theLabel = [[UILabel alloc] initWithFrame:CGRectMake(594, 714, 320, 40)
   306         theLabel = [[UILabel alloc] initWithFrame:CGRectMake(596, 714, 320, 40)
   307                                          andTitle:NSLocalizedString(@"Max Hogs:                 ",@"")
   307                                          andTitle:NSLocalizedString(@"          Max Hogs:",@"")
   308                                   withBorderWidth:2.0f];
   308                                   withBorderWidth:2.0f];
   309         theLabel.font = [UIFont italicSystemFontOfSize:[UIFont labelFontSize]];
   309         theLabel.font = [UIFont italicSystemFontOfSize:[UIFont labelFontSize]];
       
   310         theLabel.textColor = [UIColor lightYellowColor];
       
   311         theLabel.textAlignment = UITextAlignmentLeft;
   310         [self.mapConfigViewController.view addSubview:theLabel];
   312         [self.mapConfigViewController.view addSubview:theLabel];
   311         releaseAndNil(theLabel);
   313         releaseAndNil(theLabel);
   312 
   314 
   313         [self.mapConfigViewController.view bringSubviewToFront:self.mapConfigViewController.maxLabel];
   315         [self.mapConfigViewController.view bringSubviewToFront:self.mapConfigViewController.maxLabel];
   314         [self.mapConfigViewController.view bringSubviewToFront:self.mapConfigViewController.sizeLabel];
   316         [self.mapConfigViewController.view bringSubviewToFront:self.mapConfigViewController.sizeLabel];