summaryrefslogtreecommitdiff
path: root/graphics/kplot3d/files/patch-aa
blob: 3e0a3b5b3bc02c9fd752e4a13982cdca23f0e373 (plain) (blame)
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
--- kplot3d/SetColor.cpp.orig	Sat Nov 27 08:05:33 1999
+++ kplot3d/SetColor.cpp	Sat Nov 27 08:28:36 1999
@@ -148,9 +148,30 @@
 	Button_gray->setGeometry( 240, 90, 30, 30 );
 	Button_gray->setText( "" );
 	{
-		QColorGroup normal( QColor( QRgb(0) ), QColor( QRgb(10789024) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
-		QColorGroup disabled( QColor( QRgb(8421504) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(8421504) ), QColor( QRgb(12632256) ) );
-		QColorGroup active( QColor( QRgb(0) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
+		QColorGroup normal(
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)10789024 ),
+		    QColor( (unsigned int)16777215 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)10789024 ),
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)16777215 ) );
+		QColorGroup disabled(
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)12632256 ),
+		    QColor( (unsigned int)16777215 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)10789024 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)12632256 ) );
+		QColorGroup active(
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)12632256 ),
+		    QColor( (unsigned int)16777215 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)10789024 ),
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)16777215 ) );
 		QPalette palette( normal, disabled, active );
 		Button_gray->setPalette( palette );
 	}
@@ -161,9 +182,30 @@
 	Button_blue->setGeometry( 200, 90, 30, 30 );
 	Button_blue->setText( "" );
 	{
-		QColorGroup normal( QColor( QRgb(0) ), QColor( QRgb(8388608) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
-		QColorGroup disabled( QColor( QRgb(8421504) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(8421504) ), QColor( QRgb(12632256) ) );
-		QColorGroup active( QColor( QRgb(0) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
+		QColorGroup normal(
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)8388608 ),
+		    QColor( (unsigned int)16777215 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)10789024 ),
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)16777215 ) );
+		QColorGroup disabled(
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)12632256 ),
+		    QColor( (unsigned int)16777215 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)10789024 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)12632256 ) );
+		QColorGroup active(
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)12632256 ),
+		    QColor( (unsigned int)16777215 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)10789024 ),
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)16777215 ) );
 		QPalette palette( normal, disabled, active );
 		Button_blue->setPalette( palette );
 	}
@@ -174,9 +216,30 @@
 	Button_mag->setGeometry( 280, 90, 30, 30 );
 	Button_mag->setText( "" );
 	{
-		QColorGroup normal( QColor( QRgb(0) ), QColor( QRgb(8388736) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
-		QColorGroup disabled( QColor( QRgb(8421504) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(8421504) ), QColor( QRgb(12632256) ) );
-		QColorGroup active( QColor( QRgb(0) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
+		QColorGroup normal(
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)8388736 ),
+		    QColor( (unsigned int)16777215 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)10789024 ),
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)16777215 ) );
+		QColorGroup disabled(
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)12632256 ),
+		    QColor( (unsigned int)16777215 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)10789024 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)12632256 ) );
+		QColorGroup active(
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)12632256 ),
+		    QColor( (unsigned int)16777215 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)10789024 ),
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)16777215 ) );
 		QPalette palette( normal, disabled, active );
 		Button_mag->setPalette( palette );
 	}
@@ -186,9 +249,30 @@
 	Button_green->setGeometry( 320, 90, 30, 30 );
 	Button_green->setText( "" );
 	{
-		QColorGroup normal( QColor( QRgb(0) ), QColor( QRgb(32768) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
-		QColorGroup disabled( QColor( QRgb(8421504) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(8421504) ), QColor( QRgb(12632256) ) );
-		QColorGroup active( QColor( QRgb(0) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
+		QColorGroup normal(
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)32768 ),
+		    QColor( (unsigned int)16777215 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)10789024 ),
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)16777215 ) );
+		QColorGroup disabled(
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)12632256 ),
+		    QColor( (unsigned int)16777215 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)10789024 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)12632256 ) );
+		QColorGroup active(
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)12632256 ),
+		    QColor( (unsigned int)16777215 ),
+		    QColor( (unsigned int)8421504 ),
+		    QColor( (unsigned int)10789024 ),
+		    QColor( (unsigned int)0 ),
+		    QColor( (unsigned int)16777215 ) );
 		QPalette palette( normal, disabled, active );
 		Button_green->setPalette( palette );
 	}