1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
diff -ur gnustep-gui-0.9.4/Source/Functions.m gnustep-gui-0.9.4-testing/Source/Functions.m
--- gnustep-gui-0.9.4/Source/Functions.m 2004-02-08 08:07:24.000000000 -0500
+++ gnustep-gui-0.9.4-testing/Source/Functions.m 2004-09-26 18:32:02.192773040 -0400
@@ -573,9 +573,9 @@
up_sides, grays, 6);
}
- DPSsetgray(ctxt, NSLightGray);
- DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
- NSWidth(rect), NSHeight(rect));
+// DPSsetgray(ctxt, NSLightGray);
+// DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
+// NSWidth(rect), NSHeight(rect));
}
void
@@ -609,9 +609,9 @@
DPSrectfill(ctxt, NSMaxX(aRect) - 2., NSMaxY(aRect) - 2., 1., 1.);
}
- DPSsetgray(ctxt, NSLightGray);
- DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
- NSWidth(rect), NSHeight(rect));
+// DPSsetgray(ctxt, NSLightGray);
+// DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
+// NSWidth(rect), NSHeight(rect));
}
void
@@ -637,9 +637,9 @@
up_sides, grays, 8);
}
- DPSsetgray(ctxt, NSLightGray);
- DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
- NSWidth(rect), NSHeight(rect));
+// DPSsetgray(ctxt, NSLightGray);
+// DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
+// NSWidth(rect), NSHeight(rect));
}
void
@@ -665,9 +665,9 @@
up_sides, grays, 8);
}
- DPSsetgray(ctxt, NSWhite);
- DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
- NSWidth(rect), NSHeight(rect));
+// DPSsetgray(ctxt, NSWhite);
+// DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
+// NSWidth(rect), NSHeight(rect));
}
void
@@ -771,9 +771,9 @@
up_sides, grays, 6);
}
- DPSsetgray(ctxt, NSLightGray);
- DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
- NSWidth(rect), NSHeight(rect));
+// DPSsetgray(ctxt, NSLightGray);
+// DPSrectfill(ctxt, NSMinX(rect), NSMinY(rect),
+// NSWidth(rect), NSHeight(rect));
}
void
Only in gnustep-gui-0.9.4-testing/Source: Functions.m.orig
diff -ur gnustep-gui-0.9.4/Source/NSApplication.m gnustep-gui-0.9.4-testing/Source/NSApplication.m
--- gnustep-gui-0.9.4/Source/NSApplication.m 2004-07-22 19:57:46.000000000 -0400
+++ gnustep-gui-0.9.4-testing/Source/NSApplication.m 2004-09-26 19:02:03.996857184 -0400
@@ -223,6 +223,27 @@
[backend initializeBackend];
}
+ /* hack to load arbitrary bundles - Alexander Malmberg 2002-05-09 */
+ {
+ NSUserDefaults *defs=[NSUserDefaults standardUserDefaults];
+ NSString *s=[defs stringForKey: @"GUIThemeBundles"];
+ NSArray *a=[s componentsSeparatedByString: @" "];
+ int i,c=[a count];
+
+ NSLog(@"try loading '%@'",s);
+ for (i=0;i<c;i++)
+ {
+ NSLog(@"try '%@'\n",[a objectAtIndex: i]);
+ NSBundle *b=[NSBundle bundleWithPath: [a objectAtIndex: i]];
+ if (!b)
+ {
+ NSLog(@"Couldn't load theme bundle '%@'!",[a objectAtIndex: i]);
+ continue;
+ }
+ [[[b principalClass] alloc] init];
+ }
+ }
+
#else
/* GSBackend will be in a separate library, so use the runtime
to find the class and avoid an unresolved reference problem */
Only in gnustep-gui-0.9.4-testing/Source: NSApplication.m.orig
Only in gnustep-gui-0.9.4-testing/Source: NSApplication.m.rej
Only in gnustep-gui-0.9.4-testing/Source: NSApplication.m~
diff -ur gnustep-gui-0.9.4/Source/NSColor.m gnustep-gui-0.9.4-testing/Source/NSColor.m
--- gnustep-gui-0.9.4/Source/NSColor.m 2004-01-30 14:49:00.000000000 -0500
+++ gnustep-gui-0.9.4-testing/Source/NSColor.m 2004-09-26 18:32:02.191773192 -0400
@@ -713,6 +713,13 @@
return systemColorWithName(@"windowFrameTextColor");
}
++ (void) setColor: (NSColor*) color forKey: (NSString*) key
+{
+ [systemColors setColor: color forKey: key];
+ [[systemDict objectForKey: key] recache];
+}
+
+
////////////////////////////////////////////////////////////
//
// Instance methods
Only in gnustep-gui-0.9.4-testing/Source: NSColor.m.orig
|