Decide whether to create displays for the different types
that don't really need to be done that way but just cleaner.
i.e. barchart display, time series.
Instead, we can use an a slot in the GtkGGobiExtendDisplay
instance (not class) to provide data for some of the things
that are specific to the instance but for which we don't
want to define an entire class.
getDisplayType in XML read_init. Needs to use the Gtk type
name.
createDisplayFromDescription needs to handle extended types.
plotted() doesn't call the variable_plotted_p method.
the tsplot_... in cpaneld ?
Seems like it should go into the display.
Then when the display is re-activated, it can restore
its view of the world.
newTimeSeries in ggobi-API.c seems to do 2 display creations
and discards one.
What is `tsplot
' struct entry in ggobid for accelerators. See ggobi.h
Removed for Barchart. barchart_mode_menu_make() now returns the
menu widget it created rather than passes it indirectly.
Time series actually uses it!
Is display_create being used anywhere. Yes, in the
callback for creating a display.
However, we now also use the extended_display_open_cb()
to handle an extended type.
Make certain these are kept in synch.
display_tree.c
The time series names should contain the two variables
i.e. the X and Y variables. Perhaps put this in the
top-most node for the plot.
This is nothing to do with the class system.
splot_free
Handle the destroy methods correctly.
Split the splot hierarcy into 1d and 2d and move some of the
variables
into different classes.
pmid p1dvar, etc.
And the tour should be split.
Also, cpaneld looks like some of it is not needed for all displays.
display.c computeTitle() needs to determine the title
for the display type, but needs to
do it from the type of plots it is displaying.
Free the ExtendedDisplayCreateData objects when destroying the menus.
Options menu in viewmode_submenus_update.
Depends on the viewmode, not the display type.
So have to figure something out to allow the
display to do something.
Add display type to OpModeNames.
Perhaps add these dynamically to another list
and recognize that it is special.
Not needed.
Test the deletion of variables and see if the plotted() routine
still works.
Is this used except in scatterplots?
When is sphering used?
The delete_vars callbacks are not in effect.
Will they be re-activated?
XXX Finish the barchart destroy method.
submenu_destroy (gg->viewmode_item);
in display_set_current() is causing error messages.
Works now.
Switching modes doesn't update the
control panel contents, just the frame title.
Look at viewmode_set.
Working now that we have current_control_panel in the ggobid.
Do we need to provide a query for an extended display
allowing the addition of plot labels in
splot_add_plot_labels
in sp_plot.c
Removing tsplot
- display_set_values shouldn't take a display type but a GtkType
or something.
see barchart_new in barchart.c
- display_alloc_init() takes a display type.
newTimeSeries in ggobi-API.c
- splot_alloc() uses the display type in a switch.
- splot_free() uses a switch on the display type.
Make certain the destroy methods are working.
- splot_world_to_plane
- splot_plane_to_screen
- splot_plot_edge
- splot_plot_case
- splot_add_plot_labels
- splot_draw_to_pixmap0_binned handles tsplot segment drawing.
and splot_draw_to_pixmap0_unbinned.
- display.c
-
display_tailpipe &
display_type_handles_action
Fixed
- display_tree.c
-
Get the tsplot_tree_label routine registered for the appropriate
method.
- Remove other basic plots from display_tree_label. Ok for now.
- Handle the splot's in splot_tree_label. Okay!
- Get the names for the time series. (what names?) of the variables!
- Options menu on the control panel window is being repeated
each time we switch to an extended display.
- Fixed.
Pass the displayd of interest to mode_has_options_menu.
Otherwise, doesn't know that there is one there already.
This means computing the old display in higher level routines
and passing it down.
- Add support for extended display modes in mode_has_options_menu.
-
- Set up the control panel for the extended display types.
- Working. Done on demand.
Not stored in ggobi's array of widgets for panels.
- set_color_id looks at class of splot to see if Barchart
to do a full redraw.
- See a class-specific field to indicate what level of redraw to
do.
Done with the redraw field in the class.
- Lines on the time series
- Done.
Duncan Temple Lang
<duncan@research.bell-labs.com>
Last modified: Sun May 26 11:18:07 EDT 2002