mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Change default point size to 16.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2263 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1d97334ec8
commit
83be69ce3f
5 changed files with 11 additions and 6 deletions
|
@ -1,5 +1,10 @@
|
|||
Thu Mar 27 09:43:02 1997 GNUstep Development <gnustep@net-community.com>
|
||||
|
||||
* Source/NSTextFieldCell.m: Change default point size to 16.
|
||||
* Source/NSCell.m: Likewise.
|
||||
* Source/libgnustep-gui.m: Likewise.
|
||||
* Source/NSText.m: Likewise.
|
||||
|
||||
* Headers/gnustep/gui/NSApplication.h (-peekNextEvent): New method.
|
||||
(-peekEventMatchingMask:untilDate:inMode:dequeue:): New method.
|
||||
* Source/NSApplication.m (-peekNextEvent): New method.
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
cell_type = NSImageCellType;
|
||||
cell_image = [anImage retain];
|
||||
image_position = NSImageOnly;
|
||||
cell_font = [[NSFont userFontOfSize:12] retain];
|
||||
cell_font = [[NSFont userFontOfSize:16] retain];
|
||||
cell_state = NO;
|
||||
cell_highlighted = NO;
|
||||
cell_enabled = YES;
|
||||
|
@ -121,7 +121,7 @@
|
|||
//if (![aString isKindOfClass:[NSString class]])
|
||||
// return nil;
|
||||
|
||||
cell_font = [[NSFont userFontOfSize:12] retain];
|
||||
cell_font = [[NSFont userFontOfSize:16] retain];
|
||||
contents = [aString retain];
|
||||
cell_type = NSTextCellType;
|
||||
text_align = NSCenterTextAlignment;
|
||||
|
|
|
@ -78,7 +78,7 @@ NSString *NSTextDidChangeNotification = @"NSTextDidChangeNotification";
|
|||
is_field_editor = NO;
|
||||
background_color = [NSColor whiteColor];
|
||||
text_color = [NSColor blackColor];
|
||||
default_font = [NSFont userFontOfSize:12];
|
||||
default_font = [NSFont userFontOfSize:16];
|
||||
return self;
|
||||
}
|
||||
//
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
|
||||
background_color = [NSColor whiteColor];
|
||||
text_color = [NSColor blackColor];
|
||||
cell_font = [NSFont systemFontOfSize:12];
|
||||
cell_font = [NSFont systemFontOfSize:16];
|
||||
draw_background = YES;
|
||||
return self;
|
||||
}
|
||||
|
|
|
@ -48,9 +48,9 @@ GNUstepMain(int argc, char **argv)
|
|||
// Set the application default fonts
|
||||
fm = [NSFontManager sharedFontManager];
|
||||
[NSFont setUserFixedPitchFont: [fm fontWithFamily:@"Arial"
|
||||
traits:0 weight:0 size:10]];
|
||||
traits:0 weight:0 size:16]];
|
||||
[NSFont setUserFont: [fm fontWithFamily:@"Times New Roman"
|
||||
traits:0 weight:0 size:12]];
|
||||
traits:0 weight:0 size:16]];
|
||||
|
||||
// Call the user's main
|
||||
//user_main(0, NULL);
|
||||
|
|
Loading…
Reference in a new issue