mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:00:47 +00:00
Make private symbols actually private (1/n).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18007 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4a58d9175b
commit
0759f5093f
5 changed files with 22 additions and 12 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2003-10-30 00:38 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
|
* Source/NSImage.m (iterate_reps_for_types, repd_for_rep): Make
|
||||||
|
static.
|
||||||
|
* Source/NSStepperCell.m (DrawUpButton, DrawDownButton,
|
||||||
|
HighlightUpButton, HighlightDownButton): Idem.
|
||||||
|
|
||||||
|
* Source/NSPrintInfo.m: Make the "class variables" static.
|
||||||
|
* Source/NSProgressIndicator.m: Idem.
|
||||||
|
|
||||||
2003-10-29 Bjorn Giesler <bjoern@giesler.de>
|
2003-10-29 Bjorn Giesler <bjoern@giesler.de>
|
||||||
|
|
||||||
* Source/externs.m: New MacOS 10.3 pasteboard types
|
* Source/externs.m: New MacOS 10.3 pasteboard types
|
||||||
|
|
|
@ -115,10 +115,10 @@ static NSColor *clearColor = nil;
|
||||||
static Class cachedClass = 0;
|
static Class cachedClass = 0;
|
||||||
static Class bitmapClass = 0;
|
static Class bitmapClass = 0;
|
||||||
|
|
||||||
NSArray *iterate_reps_for_types(NSArray *imageReps, SEL method);
|
static NSArray *iterate_reps_for_types(NSArray *imageReps, SEL method);
|
||||||
|
|
||||||
/* Find the GSRepData object holding a representation */
|
/* Find the GSRepData object holding a representation */
|
||||||
GSRepData*
|
static GSRepData*
|
||||||
repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
||||||
{
|
{
|
||||||
NSEnumerator *enumerator = [_reps objectEnumerator];
|
NSEnumerator *enumerator = [_reps objectEnumerator];
|
||||||
|
@ -1309,7 +1309,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
||||||
array of objects. Add these together, with duplicates
|
array of objects. Add these together, with duplicates
|
||||||
weeded out. Used by imageUnfilteredPasteboardTypes,
|
weeded out. Used by imageUnfilteredPasteboardTypes,
|
||||||
imageUnfilteredFileTypes, etc. */
|
imageUnfilteredFileTypes, etc. */
|
||||||
NSArray *
|
static NSArray *
|
||||||
iterate_reps_for_types(NSArray* imageReps, SEL method)
|
iterate_reps_for_types(NSArray* imageReps, SEL method)
|
||||||
{
|
{
|
||||||
NSImageRep *rep;
|
NSImageRep *rep;
|
||||||
|
|
|
@ -45,9 +45,9 @@
|
||||||
// FIXME: retain/release of dictionary with retain/release of printInfo?
|
// FIXME: retain/release of dictionary with retain/release of printInfo?
|
||||||
|
|
||||||
// Class variables:
|
// Class variables:
|
||||||
NSPrintInfo *sharedPrintInfoObject = nil;
|
static NSPrintInfo *sharedPrintInfoObject = nil;
|
||||||
NSMutableDictionary *printInfoDefaults = nil;
|
static NSMutableDictionary *printInfoDefaults = nil;
|
||||||
NSDictionary *paperSizes = nil;
|
static NSDictionary *paperSizes = nil;
|
||||||
|
|
||||||
@interface NSPrintInfo (private)
|
@interface NSPrintInfo (private)
|
||||||
+ initPrintInfoDefaults;
|
+ initPrintInfoDefaults;
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
|
|
||||||
@implementation NSProgressIndicator
|
@implementation NSProgressIndicator
|
||||||
|
|
||||||
NSColor *fillColour = nil;
|
static NSColor *fillColour = nil;
|
||||||
#define maxCount 1
|
#define maxCount 1
|
||||||
NSImage *images[maxCount];
|
static NSImage *images[maxCount];
|
||||||
|
|
||||||
+ (void) initialize
|
+ (void) initialize
|
||||||
{
|
{
|
||||||
|
|
|
@ -124,7 +124,7 @@
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void DrawUpButton(NSRect aRect)
|
static inline void DrawUpButton(NSRect aRect)
|
||||||
{
|
{
|
||||||
NSRectEdge up_sides[] = {NSMinXEdge, NSMaxYEdge,
|
NSRectEdge up_sides[] = {NSMinXEdge, NSMaxYEdge,
|
||||||
NSMaxXEdge, NSMinYEdge};
|
NSMaxXEdge, NSMinYEdge};
|
||||||
|
@ -154,7 +154,7 @@ inline void DrawUpButton(NSRect aRect)
|
||||||
PSstroke();
|
PSstroke();
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void HighlightUpButton(NSRect aRect)
|
static inline void HighlightUpButton(NSRect aRect)
|
||||||
{
|
{
|
||||||
NSRectEdge up_sides[] = {NSMinXEdge, NSMaxYEdge,
|
NSRectEdge up_sides[] = {NSMinXEdge, NSMaxYEdge,
|
||||||
NSMaxXEdge, NSMinYEdge};
|
NSMaxXEdge, NSMinYEdge};
|
||||||
|
@ -184,7 +184,7 @@ inline void HighlightUpButton(NSRect aRect)
|
||||||
PSstroke();
|
PSstroke();
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void DrawDownButton(NSRect aRect)
|
static inline void DrawDownButton(NSRect aRect)
|
||||||
{
|
{
|
||||||
NSRectEdge up_sides[] = {NSMinXEdge, NSMaxYEdge,
|
NSRectEdge up_sides[] = {NSMinXEdge, NSMaxYEdge,
|
||||||
NSMaxXEdge, NSMinYEdge};
|
NSMaxXEdge, NSMinYEdge};
|
||||||
|
@ -215,7 +215,7 @@ inline void DrawDownButton(NSRect aRect)
|
||||||
PSstroke();
|
PSstroke();
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void HighlightDownButton(NSRect aRect)
|
static inline void HighlightDownButton(NSRect aRect)
|
||||||
{
|
{
|
||||||
NSRectEdge up_sides[] = {NSMinXEdge, NSMaxYEdge,
|
NSRectEdge up_sides[] = {NSMinXEdge, NSMaxYEdge,
|
||||||
NSMaxXEdge, NSMinYEdge};
|
NSMaxXEdge, NSMinYEdge};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue