project_files/HedgewarsMobile/Classes/HWUtils.m
changeset 6108 7a8da11a6144
parent 6094 16b12a6417d1
child 6208 b831679e9467
equal deleted inserted replaced
6107:0741c0f0203e 6108:7a8da11a6144
    55     [array release];
    55     [array release];
    56     return final;
    56     return final;
    57 }
    57 }
    58 
    58 
    59 @end
    59 @end
       
    60 
       
    61 
       
    62 @implementation UITableView (extra)
       
    63 
       
    64 -(void) setBackgroundColorForAnyTable:(UIColor *) color {
       
    65     UIView *backView = [[UIView alloc] initWithFrame:self.frame];
       
    66     backView.backgroundColor = color;
       
    67     self.backgroundView = backView;
       
    68     [backView release];
       
    69     self.backgroundColor = [UIColor clearColor];
       
    70 }
       
    71 
       
    72 @end
       
    73 
    60 
    74 
    61 
    75 
    62 @implementation UIColor (extra)
    76 @implementation UIColor (extra)
    63 
    77 
    64 +(UIColor *)darkYellowColor {
    78 +(UIColor *)darkYellowColor {