mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Removed old obsolete code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12890 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e232c1d773
commit
4a686c5102
1 changed files with 0 additions and 135 deletions
|
@ -37,11 +37,6 @@
|
|||
#include <AppKit/NSColor.h>
|
||||
#include <AppKit/DPSOperators.h>
|
||||
|
||||
#ifdef STRICT_OPENSTEP
|
||||
// This is used for the old text functions.
|
||||
#include <AppKit/NSCStringText.h>
|
||||
#endif
|
||||
|
||||
char **NSArgv = NULL;
|
||||
|
||||
/*
|
||||
|
@ -639,133 +634,3 @@ NSGetWindowServerMemory(int context, int *virtualMemory,
|
|||
return -1;
|
||||
}
|
||||
|
||||
|
||||
#ifdef STRICT_OPENSTEP
|
||||
//
|
||||
// Old Text Functions, this come from a very old version of the
|
||||
// OpenStep specification and will probably never be implemented in GNUstep
|
||||
//
|
||||
|
||||
//
|
||||
// Filter Characters Entered into a Text Object
|
||||
//
|
||||
unsigned short
|
||||
NSEditorFilter(unsigned short theChar,
|
||||
int flags, NSStringEncoding theEncoding)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
unsigned short
|
||||
NSFieldFilter(unsigned short theChar,
|
||||
int flags, NSStringEncoding theEncoding)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
//
|
||||
// Calculate or Draw a Line of Text (in Text Object)
|
||||
//
|
||||
int
|
||||
NSDrawALine(id self, NSLayInfo *layInfo)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
NSScanALine(id self, NSLayInfo *layInfo)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
//
|
||||
// Calculate Font Ascender, Descender, and Line Height (in Text Object)
|
||||
//
|
||||
void
|
||||
NSTextFontInfo(id fid, float *ascender, float *descender, float *lineHeight)
|
||||
{}
|
||||
|
||||
//
|
||||
// Access Text Object's Word Tables
|
||||
//
|
||||
NSData*
|
||||
NSDataWithWordTable(const unsigned char *smartLeft,
|
||||
const unsigned char *smartRight,
|
||||
const unsigned char *charClasses,
|
||||
const NSFSM *wrapBreaks,
|
||||
int wrapBreaksCount,
|
||||
const NSFSM *clickBreaks,
|
||||
int clickBreaksCount,
|
||||
BOOL charWrap)
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
void
|
||||
NSReadWordTable(NSZone *zone,
|
||||
NSData *data,
|
||||
unsigned char **smartLeft,
|
||||
unsigned char **smartRight,
|
||||
unsigned char **charClasses,
|
||||
NSFSM **wrapBreaks,
|
||||
int *wrapBreaksCount,
|
||||
NSFSM **clickBreaks,
|
||||
int *clickBreaksCount,
|
||||
BOOL *charWrap)
|
||||
{}
|
||||
|
||||
//
|
||||
// Array Allocation Functions for use by the old NSText Class
|
||||
//
|
||||
|
||||
NSTextChunk*
|
||||
NSChunkCopy(NSTextChunk *pc, NSTextChunk *dpc)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
NSTextChunk*
|
||||
NSChunkGrow(NSTextChunk *pc, int newUsed)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
NSTextChunk*
|
||||
NSChunkMalloc(int growBy, int initUsed)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
NSTextChunk*
|
||||
NSChunkRealloc(NSTextChunk *pc)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
NSTextChunk*
|
||||
NSChunkZoneCopy(NSTextChunk *pc,
|
||||
NSTextChunk *dpc,
|
||||
NSZone *zone)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
NSTextChunk*
|
||||
NSChunkZoneGrow(NSTextChunk *pc, int newUsed, NSZone *zone)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
NSTextChunk*
|
||||
NSChunkZoneMalloc(int growBy, int initUsed, NSZone *zone)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
NSTextChunk*
|
||||
NSChunkZoneRealloc(NSTextChunk *pc, NSZone *zone)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue