#include <gtkStatsPianoRoll.h>
Inheritance diagram for GtkStatsPianoRoll:
Public Member Functions | |
GtkStatsPianoRoll (GtkStatsMonitor *monitor, int thread_index, int xsize, int ysize) | |
void | mark_dead () |
Gtk::Alignment * | get_labels () |
Gdk_GC | get_collector_gc (int collector_index) |
Private Types | |
typedef pmap< int, Gdk_GC > | GCs |
Private Member Functions | |
virtual void | begin_draw () |
virtual void | draw_bar (int row, int from_x, int to_x) |
virtual void | end_draw () |
virtual void | idle () |
virtual gint | configure_event_impl (GdkEventConfigure *event) |
virtual gint | expose_event_impl (GdkEventExpose *event) |
void | pack_labels () |
void | setup_white_gc () |
Private Attributes | |
Gdk_Pixmap | _pixmap |
Gdk_GC | _white_gc |
Gdk_GC | _black_gc |
Gdk_GC | _dark_gc |
Gdk_GC | _light_gc |
GCs | _gcs |
vector_int | _y_positions |
Gtk::Alignment * | _label_align |
Gtk::VBox * | _label_box |
bool | _is_dead |
|
Definition at line 77 of file gtkStatsPianoRoll.h. |
|
Definition at line 37 of file gtkStatsPianoRoll.cxx. References _is_dead, _label_align, _label_box, PStatGraph::get_xsize(), PStatGraph::get_ysize(), NULL, pack_labels(), and request_initial_size(). |
|
Reimplemented from PStatPianoRoll. Definition at line 119 of file gtkStatsPianoRoll.cxx. References _dark_gc, _light_gc, _pixmap, _white_gc, PStatGraph::get_guide_bar(), PStatPianoRoll::get_horizontal_scale(), PStatGraph::get_num_guide_bars(), PStatGraph::get_xsize(), PStatGraph::get_ysize(), and x. |
|
Definition at line 210 of file gtkStatsPianoRoll.cxx. References _black_gc, _dark_gc, _light_gc, _pixmap, _white_gc, PStatPianoRoll::changed_size(), PStatGraph::get_xsize(), PStatGraph::get_ysize(), height, NULL, setup_white_gc(), and width. |
|
Reimplemented from PStatPianoRoll. Definition at line 149 of file gtkStatsPianoRoll.cxx. References _pixmap, _y_positions, get_collector_gc(), PStatGraph::get_label_collector(), height, row, and y. |
|
Reimplemented from PStatPianoRoll. Definition at line 164 of file gtkStatsPianoRoll.cxx. References _black_gc, _pixmap, PStatGraph::get_guide_bar(), PStatPianoRoll::get_horizontal_scale(), PStatGraph::get_num_guide_bars(), PStatGraph::get_xsize(), PStatGraph::get_ysize(), width, and x. |
|
Definition at line 252 of file gtkStatsPianoRoll.cxx. |
|
Definition at line 89 of file gtkStatsPianoRoll.cxx. References _gcs, _pixmap, PStatMonitor::get_collector_color(), PStatGraph::get_monitor(), and RGBColorf. Referenced by draw_bar(). |
|
Definition at line 78 of file gtkStatsPianoRoll.cxx. References _label_align. Referenced by GtkStatsPianoWindow::layout_window(). |
|
Reimplemented from PStatPianoRoll. Definition at line 198 of file gtkStatsPianoRoll.cxx. References pack_labels(). |
|
Definition at line 61 of file gtkStatsPianoRoll.cxx. References _is_dead, PStatPianoRoll::force_redraw(), and setup_white_gc(). Referenced by GtkStatsPianoWindow::mark_dead(). |
|
Definition at line 267 of file gtkStatsPianoRoll.cxx. References _label_align, _label_box, PStatGraph::_labels_changed, _y_positions, GtkStatsLabel::get_height(), PStatGraph::get_label_collector(), PStatGraph::get_monitor(), PStatGraph::get_num_labels(), and y. Referenced by GtkStatsPianoRoll(), and idle(). |
|
Definition at line 307 of file gtkStatsPianoRoll.cxx. References _white_gc. Referenced by configure_event_impl(), and mark_dead(). |
|
Definition at line 72 of file gtkStatsPianoRoll.h. Referenced by configure_event_impl(), and end_draw(). |
|
Definition at line 73 of file gtkStatsPianoRoll.h. Referenced by begin_draw(), and configure_event_impl(). |
|
Definition at line 78 of file gtkStatsPianoRoll.h. Referenced by get_collector_gc(). |
|
Definition at line 86 of file gtkStatsPianoRoll.h. Referenced by GtkStatsPianoRoll(), and mark_dead(). |
|
Definition at line 84 of file gtkStatsPianoRoll.h. Referenced by get_labels(), GtkStatsPianoRoll(), and pack_labels(). |
|
Definition at line 85 of file gtkStatsPianoRoll.h. Referenced by GtkStatsPianoRoll(), and pack_labels(). |
|
Definition at line 74 of file gtkStatsPianoRoll.h. Referenced by begin_draw(), and configure_event_impl(). |
|
Definition at line 66 of file gtkStatsPianoRoll.h. Referenced by begin_draw(), configure_event_impl(), draw_bar(), end_draw(), expose_event_impl(), and get_collector_gc(). |
|
Definition at line 71 of file gtkStatsPianoRoll.h. Referenced by begin_draw(), configure_event_impl(), expose_event_impl(), and setup_white_gc(). |
|
Definition at line 82 of file gtkStatsPianoRoll.h. Referenced by draw_bar(), and pack_labels(). |