#include <timebar.h>
Inherits BC_Toggle.
Inherited by InPointGUI, OutPointGUI, PresentationGUI, and TestPointGUI.

Public Member Functions | |
| LabelGUI (MWindow *mwindow, TimeBar *timebar, int64_t pixel, int y, double position, VFrame **data=0) | |
| virtual | ~LabelGUI () |
| virtual int | handle_event () |
| void | reposition () |
| int | button_press_event () |
Static Public Member Functions | |
| static int | translate_pixel (MWindow *mwindow, int pixel) |
| static int | get_y (MWindow *mwindow, TimeBar *timebar) |
Data Fields | |
| Label * | label |
| MWindow * | mwindow |
| VWindowGUI * | gui |
| TimeBar * | timebar |
| int64_t | pixel |
| double | position |
Definition at line 30 of file timebar.h.
| int LabelGUI::translate_pixel | ( | MWindow * | mwindow, | |
| int | pixel | |||
| ) | [static] |
Definition at line 64 of file timebar.C.
References VFrame::get_w(), Theme::label_toggle, and MWindow::theme.
Referenced by reposition().

| int LabelGUI::handle_event | ( | ) | [virtual] |
Reimplemented from BC_Toggle.
Reimplemented in VWindowInPoint, and VWindowOutPoint.
Definition at line 87 of file timebar.C.
References position, TimeBar::select_label(), and timebar.

Reimplemented in InPointGUI, and OutPointGUI.
Definition at line 58 of file timebar.C.
References VFrame::get_h(), BC_WindowBase::get_h(), Theme::label_toggle, and MWindow::theme.

| void LabelGUI::reposition | ( | ) |
Definition at line 70 of file timebar.C.
References BC_WindowBase::get_y(), mwindow, pixel, BC_Toggle::reposition_window(), and translate_pixel().
Referenced by TimeBar::update_labels(), and TimeBar::update_points().

| int LabelGUI::button_press_event | ( | ) | [virtual] |
Reimplemented from BC_Toggle.
Definition at line 75 of file timebar.C.
References BC_Toggle::button_press_event(), LabelEdit::edit_label(), BC_WindowBase::get_buttonpress(), BC_WindowBase::is_event_win(), label, TimeBar::label_edit, BC_WindowBase::set_tooltip(), Label::textstr, and timebar.

Definition at line 46 of file timebar.h.
Referenced by button_press_event(), LabelGUI(), and TimeBar::update_labels().
Reimplemented in VWindowInPoint, and VWindowOutPoint.
Definition at line 49 of file timebar.h.
Referenced by LabelGUI().
| int64_t LabelGUI::pixel |
Definition at line 51 of file timebar.h.
Referenced by reposition(), TimeBar::update_labels(), and TimeBar::update_points().
| double LabelGUI::position |
Definition at line 52 of file timebar.h.
Referenced by handle_event(), TimeBar::update_highlights(), TimeBar::update_labels(), and TimeBar::update_points().
1.5.5