project_files/HedgewarsMobile/Classes/GameConfigViewController.m
changeset 3659 f8d5ac50e307
parent 3646 a3271158d93b
child 3661 2378ada8a6ee
equal deleted inserted replaced
3658:113cb9345be1 3659:f8d5ac50e307
   197     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
   197     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
   198         if (mapConfigViewController == nil)
   198         if (mapConfigViewController == nil)
   199             mapConfigViewController = [[MapConfigViewController alloc] initWithNibName:@"MapConfigViewController-iPad" bundle:nil];
   199             mapConfigViewController = [[MapConfigViewController alloc] initWithNibName:@"MapConfigViewController-iPad" bundle:nil];
   200         if (teamConfigViewController == nil)
   200         if (teamConfigViewController == nil)
   201             teamConfigViewController = [[TeamConfigViewController alloc] initWithStyle:UITableViewStylePlain];
   201             teamConfigViewController = [[TeamConfigViewController alloc] initWithStyle:UITableViewStylePlain];
   202         teamConfigViewController.view.frame = CGRectMake(0, 224, 300, 472);
   202         teamConfigViewController.view.frame = CGRectMake(3, 224, 300, 472);
   203         teamConfigViewController.view.backgroundColor = [UIColor clearColor];
   203         teamConfigViewController.view.backgroundColor = [UIColor clearColor];
   204         [mapConfigViewController.view addSubview:teamConfigViewController.view];
   204         [mapConfigViewController.view addSubview:teamConfigViewController.view];
   205         if (schemeWeaponConfigViewController == nil)
   205         if (schemeWeaponConfigViewController == nil)
   206             schemeWeaponConfigViewController = [[SchemeWeaponConfigViewController alloc] initWithStyle:UITableViewStyleGrouped];
   206             schemeWeaponConfigViewController = [[SchemeWeaponConfigViewController alloc] initWithStyle:UITableViewStyleGrouped];
   207         schemeWeaponConfigViewController.view.frame = CGRectMake(362, 224, 300, 472);
   207         schemeWeaponConfigViewController.view.frame = CGRectMake(362, 224, 300, 472);