aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/kplot3d/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-27 22:39:41 +0800
committersteve <steve@FreeBSD.org>1999-11-27 22:39:41 +0800
commit217ac6c224bbd9ef20bbdd8399b73339ed450650 (patch)
tree2cd41c4523f35e4212ad66f66673bee1f145c6c0 /graphics/kplot3d/files
parent5b6c5accbc12047d00fd0f2d0351b7803f979f9d (diff)
downloadfreebsd-ports-gnome-217ac6c224bbd9ef20bbdd8399b73339ed450650.tar.gz
freebsd-ports-gnome-217ac6c224bbd9ef20bbdd8399b73339ed450650.tar.zst
freebsd-ports-gnome-217ac6c224bbd9ef20bbdd8399b73339ed450650.zip
Initial import of kplot3d version 0.69.
A KDE 3D surface plotting tool. PR: 14610 Submitted by: Chris D. Faulhaber <jedgar@fxp.org>
Diffstat (limited to 'graphics/kplot3d/files')
-rw-r--r--graphics/kplot3d/files/patch-aa138
-rw-r--r--graphics/kplot3d/files/patch-ab13
2 files changed, 151 insertions, 0 deletions
diff --git a/graphics/kplot3d/files/patch-aa b/graphics/kplot3d/files/patch-aa
new file mode 100644
index 000000000000..3e0a3b5b3bc0
--- /dev/null
+++ b/graphics/kplot3d/files/patch-aa
@@ -0,0 +1,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 );
+ }
diff --git a/graphics/kplot3d/files/patch-ab b/graphics/kplot3d/files/patch-ab
new file mode 100644
index 000000000000..f111ef779d74
--- /dev/null
+++ b/graphics/kplot3d/files/patch-ab
@@ -0,0 +1,13 @@
+--- kplot3d/kplot3d.cpp.orig Sat Nov 27 08:30:23 1999
++++ kplot3d/kplot3d.cpp Sat Nov 27 08:31:45 1999
+@@ -178,8 +178,8 @@
+ // toolBar()->insertButton(Icon("editpaste.xpm"), ID_EDIT_PASTE, true, i18n("Paste"));
+ // toolBar()->insertSeparator();
+
+- toolBar()->insertButton( QPixmap( axes ), ID_GENERAL, true, i18n("Axes options"));
+- toolBar()->insertButton( QPixmap( toggle_icon ), ID_TOGGLE, true, i18n("Toggle surface type"));
++ toolBar()->insertButton( QPixmap( (const char**)axes ), ID_GENERAL, true, i18n("Axes options"));
++ toolBar()->insertButton( QPixmap( (const char**)toggle_icon ), ID_TOGGLE, true, i18n("Toggle surface type"));
+ toolBar()->insertButton(Icon("help.xpm"), ID_HELP, SIGNAL(pressed()), kapp, SLOT(appHelpActivated()), true, i18n("Help"));
+
+ ///////////////////////////////////////////////////////////////////