Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

GtkStatsLabel Class Reference

#include <gtkStatsLabel.h>

List of all members.

Public Member Functions

 GtkStatsLabel (PStatMonitor *monitor, int collector_index, Gdk_Font font)
int get_width () const
int get_height () const

Public Attributes

SigC::Signal1< void, intcollector_picked

Private Member Functions

virtual gint configure_event_impl (GdkEventConfigure *event)
virtual gint expose_event_impl (GdkEventExpose *event)
virtual gint button_press_event_impl (GdkEventButton *button)

Private Attributes

int _collector_index
string _text
Gdk_Font _font
Gdk_Color _fg_color
Gdk_Color _bg_color
int _width
int _height
Gdk_GC _gc
Gdk_GC _reverse_gc


Constructor & Destructor Documentation

GtkStatsLabel::GtkStatsLabel PStatMonitor monitor,
int  collector_index,
Gdk_Font  font
 

Definition at line 32 of file gtkStatsLabel.cxx.

References _bg_color, _collector_index, _fg_color, _font, _height, _text, _width, PStatMonitor::get_client_data(), PStatMonitor::get_collector_color(), PStatClientData::get_collector_name(), and RGBColorf.


Member Function Documentation

gint GtkStatsLabel::button_press_event_impl GdkEventButton *  button  )  [private, virtual]
 

Definition at line 136 of file gtkStatsLabel.cxx.

References _collector_index, and collector_picked.

gint GtkStatsLabel::configure_event_impl GdkEventConfigure *  event  )  [private, virtual]
 

Definition at line 93 of file gtkStatsLabel.cxx.

References _bg_color, _fg_color, _font, _gc, and _reverse_gc.

gint GtkStatsLabel::expose_event_impl GdkEventExpose *  event  )  [private, virtual]
 

Definition at line 117 of file gtkStatsLabel.cxx.

References _font, _gc, _reverse_gc, _text, height, and width.

int GtkStatsLabel::get_height  )  const
 

Definition at line 83 of file gtkStatsLabel.cxx.

References _height.

Referenced by GtkStatsPianoRoll::pack_labels().

int GtkStatsLabel::get_width  )  const
 

Definition at line 73 of file gtkStatsLabel.cxx.

References _width.


Member Data Documentation

Gdk_Color GtkStatsLabel::_bg_color [private]
 

Definition at line 58 of file gtkStatsLabel.h.

Referenced by configure_event_impl(), and GtkStatsLabel().

int GtkStatsLabel::_collector_index [private]
 

Definition at line 53 of file gtkStatsLabel.h.

Referenced by button_press_event_impl(), and GtkStatsLabel().

Gdk_Color GtkStatsLabel::_fg_color [private]
 

Definition at line 57 of file gtkStatsLabel.h.

Referenced by configure_event_impl(), and GtkStatsLabel().

Gdk_Font GtkStatsLabel::_font [private]
 

Definition at line 56 of file gtkStatsLabel.h.

Referenced by configure_event_impl(), expose_event_impl(), and GtkStatsLabel().

Gdk_GC GtkStatsLabel::_gc [private]
 

Definition at line 63 of file gtkStatsLabel.h.

Referenced by configure_event_impl(), and expose_event_impl().

int GtkStatsLabel::_height [private]
 

Definition at line 61 of file gtkStatsLabel.h.

Referenced by get_height(), and GtkStatsLabel().

Gdk_GC GtkStatsLabel::_reverse_gc [private]
 

Definition at line 64 of file gtkStatsLabel.h.

Referenced by configure_event_impl(), and expose_event_impl().

string GtkStatsLabel::_text [private]
 

Definition at line 55 of file gtkStatsLabel.h.

Referenced by expose_event_impl(), and GtkStatsLabel().

int GtkStatsLabel::_width [private]
 

Definition at line 60 of file gtkStatsLabel.h.

Referenced by get_width(), and GtkStatsLabel().

SigC::Signal1<void, int> GtkStatsLabel::collector_picked
 

Definition at line 45 of file gtkStatsLabel.h.

Referenced by button_press_event_impl(), and GtkStatsStripChart::pack_labels().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:01:07 2003 for Panda-Tool by doxygen1.3