#include <MyArea.hh>
Public Member Functions | |
void | addCross (int frame) |
void | addDot (int frame, int node, int color) |
void | addLeftCross (int frame) |
void | addMark (int frame) |
void | beginInsert () |
void | clean_info () |
void | clean_window () |
void | compute_environment () |
void | delete_older () |
void | endInsert () |
int | get_mouse_on_serial () |
long | get_mouse_on_time () |
int | get_offset_of_selected () |
int | get_older_offset () |
int | get_selected () |
int | get_selected (int &from, int &to, int &col) |
int | get_selected_serial () |
long | get_selected_time () |
int | get_y_pos (int node_id) |
void | insert (int from, int to, long time, int col) |
int | insertOne (int from, int to, long time, int pos_in_file, int col, int nt) |
int | insertOne (int from, int to, unsigned long long time, int pos_in_file, unsigned long serial, int col, int nt) |
MyArea () | |
void | paint () |
void | resetActive () |
void | set_max_size (int _max_size) |
int | set_selected (int n) |
void | setActive (int i) |
void | setNumOfNodes (int n) |
Protected Member Functions | |
virtual bool | on_expose_event (GdkEventExpose *e) |
virtual bool | on_MyArea_button_press_event (GdkEventButton *ev) |
virtual bool | on_MyArea_button_release_event (GdkEventButton *ev) |
bool | on_MyArea_motion_notify_event (GdkEventMotion *event) |
virtual void | on_realize () |
bool | timer_callback () |
Private Member Functions | |
void | draw_frame (int i) |
Private Attributes | |
std::vector< bool > | activeVec |
int | bytime |
Gdk::Color | cols [32] |
std::vector< Frame > | frameVec |
Glib::RefPtr< Gdk::GC > | gc |
unsigned int | max |
int | max_size |
unsigned int | min |
int | mouse_on |
int | num_nodes |
int | selected |
pthread_mutex_t | sem |
int | step |
Glib::RefPtr< Gdk::Window > | window |
int | x0 |
double | x_max |
double | x_min |
int | y0 |
double | y_max |
double | y_min |
MyArea::MyArea | ( | ) |
void MyArea::addCross | ( | int | frame | ) |
void MyArea::addDot | ( | int | frame, |
int | node, | ||
int | color | ||
) |
void MyArea::addLeftCross | ( | int | frame | ) |
void MyArea::addMark | ( | int | frame | ) |
void MyArea::beginInsert | ( | ) |
void MyArea::clean_info | ( | ) |
void MyArea::clean_window | ( | ) |
void MyArea::compute_environment | ( | ) |
void MyArea::delete_older | ( | ) |
void MyArea::draw_frame | ( | int | i | ) | [private] |
void MyArea::endInsert | ( | ) |
int MyArea::get_mouse_on_serial | ( | ) |
long MyArea::get_mouse_on_time | ( | ) |
int MyArea::get_offset_of_selected | ( | ) |
int MyArea::get_older_offset | ( | ) |
int MyArea::get_selected | ( | ) |
int MyArea::get_selected | ( | int & | from, |
int & | to, | ||
int & | col | ||
) |
int MyArea::get_selected_serial | ( | ) |
long MyArea::get_selected_time | ( | ) |
int MyArea::get_y_pos | ( | int | node_id | ) |
void MyArea::insert | ( | int | from, |
int | to, | ||
long | time, | ||
int | col | ||
) |
int MyArea::insertOne | ( | int | from, |
int | to, | ||
long | time, | ||
int | pos_in_file, | ||
int | col, | ||
int | nt | ||
) |
int MyArea::insertOne | ( | int | from, |
int | to, | ||
unsigned long long | time, | ||
int | pos_in_file, | ||
unsigned long | serial, | ||
int | col, | ||
int | nt | ||
) |
bool MyArea::on_expose_event | ( | GdkEventExpose * | e | ) | [protected, virtual] |
bool MyArea::on_MyArea_button_press_event | ( | GdkEventButton * | ev | ) | [protected, virtual] |
bool MyArea::on_MyArea_button_release_event | ( | GdkEventButton * | ev | ) | [protected, virtual] |
bool MyArea::on_MyArea_motion_notify_event | ( | GdkEventMotion * | event | ) | [protected] |
void MyArea::on_realize | ( | ) | [protected, virtual] |
void MyArea::paint | ( | ) |
void MyArea::resetActive | ( | ) |
void MyArea::set_max_size | ( | int | _max_size | ) |
int MyArea::set_selected | ( | int | n | ) |
void MyArea::setActive | ( | int | i | ) |
void MyArea::setNumOfNodes | ( | int | n | ) |
bool MyArea::timer_callback | ( | ) | [protected] |
std::vector<bool> MyArea::activeVec [private] |
int MyArea::bytime [private] |
Gdk::Color MyArea::cols[32] [private] |
std::vector<Frame> MyArea::frameVec [private] |
Glib::RefPtr<Gdk::GC> MyArea::gc [private] |
unsigned int MyArea::max [private] |
int MyArea::max_size [private] |
unsigned int MyArea::min [private] |
int MyArea::mouse_on [private] |
int MyArea::num_nodes [private] |
int MyArea::selected [private] |
pthread_mutex_t MyArea::sem [private] |
int MyArea::step [private] |
Glib::RefPtr<Gdk::Window> MyArea::window [private] |
int MyArea::x0 [private] |
double MyArea::x_max [private] |
double MyArea::x_min [private] |
int MyArea::y0 [private] |
double MyArea::y_max [private] |
double MyArea::y_min [private] |