/[hegemonie]/hegemonie/Interface/UiButton.m
ViewVC logotype

Diff of /hegemonie/Interface/UiButton.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by zaral, Mon Jun 30 15:49:20 2003 UTC revision 1.4 by dam, Tue Jul 8 17:37:23 2003 UTC
# Line 50  Line 50 
50        UiLabel *label = [[UiLabel alloc] initWithText: text        UiLabel *label = [[UiLabel alloc] initWithText: text
51                                              position: NSZeroPoint];                                              position: NSZeroPoint];
52    
53        [super addWidget: label];        [self addWidget: label];
54    
55        [self sizeToFit];        [self sizeToFit];
56      }      }
# Line 77  Line 77 
77        UiImage *image = [[UiImage alloc] initWithImageName: imageName        UiImage *image = [[UiImage alloc] initWithImageName: imageName
78                                                   position: NSZeroPoint];                                                   position: NSZeroPoint];
79    
80        [super addWidget: image];        [self addWidget: image];
81    
82        [super sizeToFit];        [self sizeToFit];
83      }      }
84    
85    return self;    return self;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26