LabelGUI Class Reference

#include <timebar.h>

Inherits BC_Toggle.

Inherited by InPointGUI, OutPointGUI, PresentationGUI, and TestPointGUI.

Collaboration diagram for LabelGUI:

Collaboration graph
[legend]

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

Labellabel
MWindowmwindow
VWindowGUIgui
TimeBartimebar
int64_t pixel
double position

Detailed Description

Definition at line 30 of file timebar.h.


Constructor & Destructor Documentation

LabelGUI::LabelGUI ( MWindow mwindow,
TimeBar timebar,
int64_t  pixel,
int  y,
double  position,
VFrame **  data = 0 
)

Definition at line 35 of file timebar.C.

References gui, and label.

LabelGUI::~LabelGUI (  )  [virtual]

Definition at line 54 of file timebar.C.


Member Function Documentation

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

int LabelGUI::get_y ( MWindow mwindow,
TimeBar timebar 
) [static]

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

int LabelGUI::button_press_event (  )  [virtual]


Field Documentation

Definition at line 46 of file timebar.h.

Referenced by button_press_event(), LabelGUI(), and TimeBar::update_labels().

Definition at line 48 of file timebar.h.

Referenced by reposition().

Reimplemented in VWindowInPoint, and VWindowOutPoint.

Definition at line 49 of file timebar.h.

Referenced by LabelGUI().

Definition at line 50 of file timebar.h.

Referenced by button_press_event(), and handle_event().

int64_t LabelGUI::pixel

Definition at line 51 of file timebar.h.

Referenced by reposition(), TimeBar::update_labels(), and TimeBar::update_points().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:29:10 2008 for Cinelerra by  doxygen 1.5.5