diff options
author | drochner <drochner@pkgsrc.org> | 2001-01-15 12:46:01 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2001-01-15 12:46:01 +0000 |
commit | 2ad7e77fe3f3435326719feaf63a8e472a699763 (patch) | |
tree | c7d6f12df97eb6ef27a406d0e55a52491bac7ae0 /x11/tkinfo/Makefile | |
parent | 92366eea812f3bbfb7b180adcfd8bb96729fa70d (diff) | |
download | pkgsrc-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/tkinfo/Makefile')
0 files changed, 0 insertions, 0 deletions