project_files/HedgewarsMobile/ExtraCategories.m
changeset 6210 923c8414e3af
parent 6209 074ab6ebcb3e
equal deleted inserted replaced
6209:074ab6ebcb3e 6210:923c8414e3af
    42     if ([self respondsToSelector:@selector(backgroundView)]) {
    42     if ([self respondsToSelector:@selector(backgroundView)]) {
    43         UIView *backView = [[UIView alloc] initWithFrame:self.frame];
    43         UIView *backView = [[UIView alloc] initWithFrame:self.frame];
    44         backView.backgroundColor = color;
    44         backView.backgroundColor = color;
    45         self.backgroundView = backView;
    45         self.backgroundView = backView;
    46         [backView release];
    46         [backView release];
    47     }
    47         self.backgroundColor = [UIColor clearColor];
    48     self.backgroundColor = [UIColor clearColor];
    48     } else
       
    49         self.backgroundColor = color;
    49 }
    50 }
    50 
    51 
    51 @end
    52 @end
    52 
    53 
    53 
    54