mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 11:51:27 +00:00
Rename class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15687 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
664673ec0e
commit
c0cffa34f0
5 changed files with 17 additions and 10 deletions
|
@ -1,3 +1,10 @@
|
|||
2003-01-23 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Headers/xlib/GSXftFontInfo.h: Renamed from XftFontInfo
|
||||
* Source/xlib/GSXftFontInfo.m: Idem.
|
||||
* Source/xlib/GNUmakefile: Update for change.
|
||||
* Source/xlib/XGContext.m: Idem.
|
||||
|
||||
2003-01-23 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Documentation/Back: Some documentation.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
XftFontInfo
|
||||
GSXftFontInfo
|
||||
|
||||
NSFont helper for GNUstep GUI X/GPS Backend
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
|||
|
||||
#include <AppKit/GSFontInfo.h>
|
||||
|
||||
@interface XftFontInfo : GSFontInfo
|
||||
@interface GSXftFontInfo : GSFontInfo
|
||||
{
|
||||
XftFont *font_info;
|
||||
}
|
|
@ -48,7 +48,7 @@ XGGeometry.m \
|
|||
linking.m
|
||||
|
||||
ifeq ($(WITH_XFT),yes)
|
||||
xlib_OBJC_FILES += XftFontInfo.m
|
||||
xlib_OBJC_FILES += GSXftFontInfo.m
|
||||
endif
|
||||
|
||||
xlib_HEADER_FILES_DIR = ../../Headers/xlib
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
XftFontInfo
|
||||
GSXftFontInfo
|
||||
|
||||
NSFont helper for GNUstep GUI X/GPS Backend
|
||||
|
||||
|
@ -37,21 +37,21 @@
|
|||
// For the encoding functions
|
||||
#include <base/Unicode.h>
|
||||
|
||||
#include "xlib/XftFontInfo.h"
|
||||
#include "xlib/GSXftFontInfo.h"
|
||||
|
||||
/*
|
||||
* class global dictionary of existing fonts
|
||||
*/
|
||||
static NSMutableDictionary *_globalFontDictionary = nil;
|
||||
|
||||
@interface XftFontInfo (Private)
|
||||
@interface GSXftFontInfo (Private)
|
||||
|
||||
- (BOOL) setupAttributes;
|
||||
- (XGlyphInfo *)xGlyphInfo: (NSGlyph) glyph;
|
||||
|
||||
@end
|
||||
|
||||
@implementation XftFontInfo
|
||||
@implementation GSXftFontInfo
|
||||
|
||||
- initWithFontName: (NSString*)name matrix: (const float *)fmatrix
|
||||
{
|
||||
|
@ -305,7 +305,7 @@ static NSMutableDictionary *_globalFontDictionary = nil;
|
|||
|
||||
@end
|
||||
|
||||
@implementation XftFontInfo (Private)
|
||||
@implementation GSXftFontInfo (Private)
|
||||
|
||||
- (BOOL) setupAttributes
|
||||
{
|
|
@ -44,7 +44,7 @@
|
|||
#include "xlib/XGGState.h"
|
||||
|
||||
#ifdef HAVE_XFT
|
||||
#include "xlib/XftFontInfo.h"
|
||||
#include "xlib/GSXftFontInfo.h"
|
||||
#endif
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
|
@ -78,7 +78,7 @@
|
|||
#ifdef HAVE_XFT
|
||||
if ([[NSUserDefaults standardUserDefaults] boolForKey: @"GSFontAntiAlias"])
|
||||
{
|
||||
fontClass = [XftFontInfo class];
|
||||
fontClass = [GSXftFontInfo class];
|
||||
}
|
||||
#endif
|
||||
if (fontClass == Nil)
|
||||
|
|
Loading…
Reference in a new issue