summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2001-01-15 12:46:01 +0000
committerdrochner <drochner@pkgsrc.org>2001-01-15 12:46:01 +0000
commit2ad7e77fe3f3435326719feaf63a8e472a699763 (patch)
treec7d6f12df97eb6ef27a406d0e55a52491bac7ae0 /x11
parent92366eea812f3bbfb7b180adcfd8bb96729fa70d (diff)
downloadpkgsrc-2ad7e77fe3f3435326719feaf63a8e472a699763.tar.gz
update to 0.99.12
Changelog: - New plot subclasses for 3D and polar plots: GtkPlot3d and GtkPlotPolar. GtkPlot3D has its own API, but GtkPlotPolar can be casted as a GtkPlot considering the equivalence x->r, y->angle. - GtkPlotData is a widget. The API is almost the same. You may have to cast the widget using data = GTK_PLOT_DATA(gtk_plot_data_new()); - The other Data subclasses are Bar, Box, Flux, Surface and CSurface. - I added new arguments to the datasets (z, dz, a, da): z is obviously for 3d plots. However, it is used in GtkPlotBox to specify the size of the boxes. "a" is used to determine the size of the symbols, and "da", the color. - The color of the symbols, when "da" is specified, is detemined using the gradient. the gradient has (min, max) values, and corresponding colors. The symbol's color is interpolated between these values using hue/saturation/value depending on the gradient_mask. - GtkOrientation was replaced with GtkPlotOrientation (GTK_PLOT_AXIS_X/Y/Z) - the fields xticks and yticks were removed from gtkplot. - GtkPlotSymbol has a new field GtkPlotLine border and you set/get the attributes with gtk_plot_data_set/get_symbol - I removed the symbol type: GTK_PLOT_SYMBOL_BAR, because this is a new data subclass. I added TRIANGLE_LEFT/RIGHT and DOT. - After gtk_plot_canvas_paint, you have to use gtk_plot_canvas_refresh to refresh the pixmap in the window. This is because paint can be used to print or save plots in other formats, depending on the GtkPlotPC you are using (see below). - The drawing engine, called GtkPlotPC has been rewritten. Now it's a GtkObject, and you can derive subclasses as GtkPlotGdk and GtkPlotPS in our case (You can define your own if you want to use a different library to draw your plots!). How does it work: 1) Instead of creating a GdkGC, you create either a GtkPlotGdk or GtkPlotPS. 2) you do the following replacements: gdk_gc_set_foreground -> gtk_plot_pc_set_color gdk_gc_set_dash -> gtk_plot_pc_set_dash gdk_gc_set_line_attributes -> gtk_plot_pc_set_lineattr gdk_gc_draw_... -> gtk_plot_pc_draw_... The output will be either on a drawable or a file according to the GtkPlotPC you chose. All the redundant code for the PS output in gtkplotprint was eliminated! Elegant, isn't it? - I also added a new widget: gtktogglecombo, a gtkcombobox subclass (See it in action in testgtksheet) - New demos are included.
Diffstat (limited to 'x11')
-rw-r--r--x11/gtk+extra/Makefile6
-rw-r--r--x11/gtk+extra/files/md54
-rw-r--r--x11/gtk+extra/pkg/PLIST16
3 files changed, 18 insertions, 8 deletions
diff --git a/x11/gtk+extra/Makefile b/x11/gtk+extra/Makefile
index deb7cac7239..f41b5e90808 100644
--- a/x11/gtk+extra/Makefile
+++ b/x11/gtk+extra/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 12:25:51 rh Exp $
+# $NetBSD: Makefile,v 1.2 2001/01/15 12:46:01 drochner Exp $
#
-DISTNAME= gtk+extra-0.99.11
+DISTNAME= gtk+extra-0.99.12
CATEGORIES= x11
-MASTER_SITES= http://magnet.fsu.edu/~feiguin/gtk/src/
+MASTER_SITES= http://gtkextra.sourceforge.net/src/
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://magnet.fsu.edu/~feiguin/gtk/
diff --git a/x11/gtk+extra/files/md5 b/x11/gtk+extra/files/md5
index 4550ce40566..94e6d2e47d7 100644
--- a/x11/gtk+extra/files/md5
+++ b/x11/gtk+extra/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.1.1.1 2000/10/15 12:25:51 rh Exp $
+$NetBSD: md5,v 1.2 2001/01/15 12:46:01 drochner Exp $
-MD5 (gtk+extra-0.99.11.tar.gz) = d5a8f94552b751ef48ad4758ebd0da11
+MD5 (gtk+extra-0.99.12.tar.gz) = 106c7d44f2c3992b50e46ad22037aa63
diff --git a/x11/gtk+extra/pkg/PLIST b/x11/gtk+extra/pkg/PLIST
index ddee00b75df..44903b38de9 100644
--- a/x11/gtk+extra/pkg/PLIST
+++ b/x11/gtk+extra/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2001/01/04 15:11:01 agc Exp $
+@comment $NetBSD: PLIST,v 1.3 2001/01/15 12:46:01 drochner Exp $
bin/gtkextra-config
include/gtkextra/gtkbordercombo.h
include/gtkextra/gtkcheckitem.h
@@ -13,15 +13,25 @@ include/gtkextra/gtkiconfilesel.h
include/gtkextra/gtkiconlist.h
include/gtkextra/gtkitementry.h
include/gtkextra/gtkplot.h
+include/gtkextra/gtkplot3d.h
+include/gtkextra/gtkplotbar.h
+include/gtkextra/gtkplotbox.h
include/gtkextra/gtkplotcanvas.h
+include/gtkextra/gtkplotcsurface.h
+include/gtkextra/gtkplotdata.h
+include/gtkextra/gtkplotflux.h
+include/gtkextra/gtkplotgdk.h
include/gtkextra/gtkplotpc.h
+include/gtkextra/gtkplotpolar.h
include/gtkextra/gtkplotprint.h
include/gtkextra/gtkplotps.h
+include/gtkextra/gtkplotsurface.h
include/gtkextra/gtkpsfont.h
include/gtkextra/gtksheet.h
+include/gtkextra/gtktogglecombo.h
lib/libgtkextra.so
-lib/libgtkextra.so.10
-lib/libgtkextra.so.10.1
+lib/libgtkextra.so.12
+lib/libgtkextra.so.12.0
lib/libgtkextra.a
lib/libgtkextra.la
@dirrm include/gtkextra