mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 00:00:43 +00:00
Updated for ivar changings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5491 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
324e207d8e
commit
7dac780ead
4 changed files with 56 additions and 46 deletions
|
@ -42,12 +42,12 @@ static NSColor *clearCol = nil;
|
|||
{
|
||||
[super initTextCell: aString];
|
||||
|
||||
_text_align = NSCenterTextAlignment;
|
||||
_cell.text_align = NSCenterTextAlignment;
|
||||
ASSIGN (_text_color, [NSColor windowFrameTextColor]);
|
||||
[self setBackgroundColor: [NSColor controlShadowColor]];
|
||||
_cell.is_bordered = NO;
|
||||
_cell.is_bezeled = NO;
|
||||
_draws_background = YES;
|
||||
_textfieldcell_draws_background = YES;
|
||||
|
||||
return self;
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ static NSColor *clearCol = nil;
|
|||
- (void) drawInteriorWithFrame: (NSRect)cellFrame
|
||||
inView: (NSView*)controlView
|
||||
{
|
||||
switch (_cell_type)
|
||||
switch (_cell.type)
|
||||
{
|
||||
case NSTextCellType:
|
||||
[super drawInteriorWithFrame: cellFrame inView: controlView];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue