Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

LabelGUI Class Reference

#include <timebar.h>

Inheritance diagram for LabelGUI:

InPointGUI OutPointGUI PresentationGUI TestPointGUI VWindowInPoint VWindowOutPoint List of all members.

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

Static Public Member Functions

static int translate_pixel (MWindow *mwindow, int pixel)
static int get_y (MWindow *mwindow, TimeBar *timebar)

Public Attributes

MWindowmwindow
VWindowGUIgui
TimeBartimebar
int64_t pixel
double position

Detailed Description

Definition at line 29 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 34 of file timebar.C.

References gui.

LabelGUI::~LabelGUI  )  [virtual]
 

Definition at line 52 of file timebar.C.


Member Function Documentation

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

Reimplemented in InPointGUI, and OutPointGUI.

Definition at line 56 of file timebar.C.

References Theme::label_toggle, and MWindow::theme.

Referenced by TimeBar::update_labels().

int LabelGUI::handle_event  )  [virtual]
 

Reimplemented in VWindowInPoint, and VWindowOutPoint.

Definition at line 73 of file timebar.C.

References position, TimeBar::select_label(), and timebar.

void LabelGUI::reposition  ) 
 

Definition at line 68 of file timebar.C.

References mwindow, pixel, and translate_pixel().

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

int LabelGUI::translate_pixel MWindow mwindow,
int  pixel
[static]
 

Definition at line 62 of file timebar.C.

References Theme::label_toggle, and MWindow::theme.

Referenced by reposition().


Member Data Documentation

VWindowGUI* LabelGUI::gui
 

Reimplemented in VWindowInPoint, and VWindowOutPoint.

Definition at line 46 of file timebar.h.

Referenced by LabelGUI().

MWindow* LabelGUI::mwindow
 

Definition at line 45 of file timebar.h.

Referenced by reposition().

int64_t LabelGUI::pixel
 

Definition at line 48 of file timebar.h.

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

double LabelGUI::position
 

Definition at line 49 of file timebar.h.

Referenced by handle_event(), TimeBar::update_highlights(), and TimeBar::update_points().

TimeBar* LabelGUI::timebar
 

Definition at line 47 of file timebar.h.

Referenced by handle_event().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:16 2006 for Cinelerra-svn by  doxygen 1.4.4