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:
Adam Fedor 2003-01-24 04:50:18 +00:00
parent 664673ec0e
commit c0cffa34f0
5 changed files with 17 additions and 10 deletions

View file

@ -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> 2003-01-23 Adam Fedor <fedor@gnu.org>
* Documentation/Back: Some documentation. * Documentation/Back: Some documentation.

View file

@ -1,5 +1,5 @@
/* /*
XftFontInfo GSXftFontInfo
NSFont helper for GNUstep GUI X/GPS Backend NSFont helper for GNUstep GUI X/GPS Backend
@ -34,7 +34,7 @@
#include <AppKit/GSFontInfo.h> #include <AppKit/GSFontInfo.h>
@interface XftFontInfo : GSFontInfo @interface GSXftFontInfo : GSFontInfo
{ {
XftFont *font_info; XftFont *font_info;
} }

View file

@ -48,7 +48,7 @@ XGGeometry.m \
linking.m linking.m
ifeq ($(WITH_XFT),yes) ifeq ($(WITH_XFT),yes)
xlib_OBJC_FILES += XftFontInfo.m xlib_OBJC_FILES += GSXftFontInfo.m
endif endif
xlib_HEADER_FILES_DIR = ../../Headers/xlib xlib_HEADER_FILES_DIR = ../../Headers/xlib

View file

@ -1,5 +1,5 @@
/* /*
XftFontInfo GSXftFontInfo
NSFont helper for GNUstep GUI X/GPS Backend NSFont helper for GNUstep GUI X/GPS Backend
@ -37,21 +37,21 @@
// For the encoding functions // For the encoding functions
#include <base/Unicode.h> #include <base/Unicode.h>
#include "xlib/XftFontInfo.h" #include "xlib/GSXftFontInfo.h"
/* /*
* class global dictionary of existing fonts * class global dictionary of existing fonts
*/ */
static NSMutableDictionary *_globalFontDictionary = nil; static NSMutableDictionary *_globalFontDictionary = nil;
@interface XftFontInfo (Private) @interface GSXftFontInfo (Private)
- (BOOL) setupAttributes; - (BOOL) setupAttributes;
- (XGlyphInfo *)xGlyphInfo: (NSGlyph) glyph; - (XGlyphInfo *)xGlyphInfo: (NSGlyph) glyph;
@end @end
@implementation XftFontInfo @implementation GSXftFontInfo
- initWithFontName: (NSString*)name matrix: (const float *)fmatrix - initWithFontName: (NSString*)name matrix: (const float *)fmatrix
{ {
@ -305,7 +305,7 @@ static NSMutableDictionary *_globalFontDictionary = nil;
@end @end
@implementation XftFontInfo (Private) @implementation GSXftFontInfo (Private)
- (BOOL) setupAttributes - (BOOL) setupAttributes
{ {

View file

@ -44,7 +44,7 @@
#include "xlib/XGGState.h" #include "xlib/XGGState.h"
#ifdef HAVE_XFT #ifdef HAVE_XFT
#include "xlib/XftFontInfo.h" #include "xlib/GSXftFontInfo.h"
#endif #endif
#include <X11/Xlib.h> #include <X11/Xlib.h>
@ -78,7 +78,7 @@
#ifdef HAVE_XFT #ifdef HAVE_XFT
if ([[NSUserDefaults standardUserDefaults] boolForKey: @"GSFontAntiAlias"]) if ([[NSUserDefaults standardUserDefaults] boolForKey: @"GSFontAntiAlias"])
{ {
fontClass = [XftFontInfo class]; fontClass = [GSXftFontInfo class];
} }
#endif #endif
if (fontClass == Nil) if (fontClass == Nil)