14 #ifndef GTKSTATSPIANOROLL_H    15 #define GTKSTATSPIANOROLL_H    36   virtual void new_data(
int thread_index, 
int frame_number);
    46   virtual void begin_draw();
    47   virtual void draw_bar(
int row, 
int from_x, 
int to_x);
    48   virtual void end_draw();
    51   virtual void additional_graph_window_paint();
    52   virtual DragMode consider_drag_start(
int graph_x, 
int graph_y);
    54   virtual gboolean handle_button_press(GtkWidget *widget, 
int graph_x, 
int graph_y,
    56   virtual gboolean handle_button_release(GtkWidget *widget, 
int graph_x, 
int graph_y);
    57   virtual gboolean handle_motion(GtkWidget *widget, 
int graph_x, 
int graph_y);
    60   int get_collector_under_pixel(
int xpoint, 
int ypoint);
    63   void draw_guide_labels();
    66   static gboolean expose_event_callback(GtkWidget *widget,
    67           GdkEventExpose *event, gpointer data);
 virtual void set_time_units(int unit_mask)
Called when the user selects a new time units from the monitor pulldown menu, this should adjust the ...
This is an abstract class that presents the interface for drawing a piano- roll type chart: it shows ...
A window that draws a piano-roll style chart, which shows the collectors explicitly stopping and star...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void set_horizontal_scale(double time_width)
Changes the amount of time the width of the horizontal axis represents.
virtual void new_data(int thread_index, int frame_number)
Called as each frame's data is made available.
virtual void force_redraw()
Called when it is necessary to redraw the entire graph.
This is just an abstract base class to provide a common pointer type for the various kinds of graphs ...
This class represents a connection to a PStatsClient and manages the data exchange with the client.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void clicked_label(int collector_index)
Called when the user single-clicks on a label.
virtual void changed_graph_size(int graph_xsize, int graph_ysize)
Called when the user has resized the window, forcing a resize of the graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.