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

MainCursor Class Reference

#include <maincursor.h>

List of all members.

Public Member Functions

 MainCursor (MWindow *mwindow, MWindowGUI *gui)
 ~MainCursor ()
void create_objects ()
int repeat_event (int64_t duration)
void draw ()
void hide ()
void flash ()
void activate ()
void deactivate ()
void show ()
void restore ()
void update ()
void focus_in_event ()
void focus_out_event ()

Public Attributes

MWindowmwindow
MWindowGUIgui
int visible
double selectionstart
double selectionend
int64_t zoom_sample
double view_start
int64_t pixel2
int64_t pixel1
int active
int playing_back


Detailed Description

Definition at line 8 of file maincursor.h.


Constructor & Destructor Documentation

MainCursor::MainCursor MWindow mwindow,
MWindowGUI gui
 

Definition at line 11 of file maincursor.C.

References active, playing_back, and visible.

MainCursor::~MainCursor  ) 
 

Definition at line 20 of file maincursor.C.


Member Function Documentation

void MainCursor::activate  ) 
 

Definition at line 39 of file maincursor.C.

References active, and gui.

Referenced by TrackCanvas::activate().

void MainCursor::create_objects  ) 
 

Definition at line 24 of file maincursor.C.

void MainCursor::deactivate  ) 
 

Definition at line 49 of file maincursor.C.

References active, flash(), gui, and show().

Referenced by TrackCanvas::deactivate().

void MainCursor::draw  ) 
 

Definition at line 77 of file maincursor.C.

References MWindowGUI::canvas, MWindow::edl, LocalSession::get_selectionend(), LocalSession::get_selectionstart(), gui, EDL::local_session, mwindow, pixel1, pixel2, EDLSession::sample_rate, selectionend, selectionstart, EDL::session, LocalSession::view_start, view_start, visible, LocalSession::zoom_sample, and zoom_sample.

Referenced by MWindow::add_audio_track_entry(), MWindow::add_video_track_entry(), MWindow::create_objects(), TrackCanvas::cursor_motion_event(), TrackCanvas::do_edit_handles(), TrackCanvas::do_plugin_handles(), TrackScroll::handle_event(), SampleScroll::handle_event(), hide(), MWindow::next_label(), MWindow::prev_label(), repeat_event(), restore(), MTimeBar::select_label(), CTimeBar::select_label(), MWindow::select_point(), TimeBar::select_region(), and show().

void MainCursor::flash  ) 
 

Definition at line 120 of file maincursor.C.

References MWindowGUI::canvas, gui, pixel1, and pixel2.

Referenced by deactivate(), focus_out_event(), repeat_event(), and update().

void MainCursor::focus_in_event  ) 
 

Definition at line 29 of file maincursor.C.

Referenced by MWindowGUI::focus_in_event().

void MainCursor::focus_out_event  ) 
 

Definition at line 33 of file maincursor.C.

References flash(), and show().

Referenced by MWindowGUI::focus_out_event().

void MainCursor::hide  ) 
 

Definition at line 126 of file maincursor.C.

References draw(), and visible.

Referenced by TrackCanvas::button_press_event(), TrackCanvas::cursor_motion_event(), TrackCanvas::do_edit_handles(), TrackCanvas::do_plugin_handles(), TrackCanvas::draw(), MWindow::next_label(), MWindow::prev_label(), MTimeBar::select_label(), CTimeBar::select_label(), MWindow::select_point(), TimeBar::select_region(), ZoomBar::set_selection(), and update().

int MainCursor::repeat_event int64_t  duration  ) 
 

Definition at line 60 of file maincursor.C.

References active, draw(), flash(), gui, playing_back, selectionend, selectionstart, and visible.

Referenced by MWindowGUI::repeat_event().

void MainCursor::restore  ) 
 

Definition at line 137 of file maincursor.C.

References draw(), and visible.

Referenced by TrackCanvas::draw_overlays().

void MainCursor::show  ) 
 

Definition at line 131 of file maincursor.C.

References draw(), and visible.

Referenced by TrackCanvas::button_press_event(), deactivate(), focus_out_event(), MWindow::samplemovement(), ZoomBar::set_selection(), MWindowGUI::update(), and update().

void MainCursor::update  ) 
 

Definition at line 108 of file maincursor.C.

References flash(), hide(), show(), and visible.

Referenced by TrackCanvas::drag_stop(), MWindow::goto_end(), MWindow::goto_start(), and CTracking::update_tracker().


Member Data Documentation

int MainCursor::active
 

Definition at line 34 of file maincursor.h.

Referenced by activate(), deactivate(), MainCursor(), and repeat_event().

MWindowGUI* MainCursor::gui
 

Definition at line 28 of file maincursor.h.

Referenced by activate(), deactivate(), draw(), flash(), and repeat_event().

MWindow* MainCursor::mwindow
 

Definition at line 27 of file maincursor.h.

Referenced by draw().

int64_t MainCursor::pixel1
 

Definition at line 33 of file maincursor.h.

Referenced by draw(), and flash().

int64_t MainCursor::pixel2
 

Definition at line 33 of file maincursor.h.

Referenced by draw(), and flash().

int MainCursor::playing_back
 

Definition at line 35 of file maincursor.h.

Referenced by MainCursor(), repeat_event(), CTracking::start_playback(), and CTracking::stop_playback().

double MainCursor::selectionend
 

Definition at line 30 of file maincursor.h.

Referenced by draw(), and repeat_event().

double MainCursor::selectionstart
 

Definition at line 30 of file maincursor.h.

Referenced by draw(), and repeat_event().

double MainCursor::view_start
 

Definition at line 32 of file maincursor.h.

Referenced by draw().

int MainCursor::visible
 

Definition at line 29 of file maincursor.h.

Referenced by draw(), hide(), MainCursor(), repeat_event(), restore(), show(), and update().

int64_t MainCursor::zoom_sample
 

Definition at line 31 of file maincursor.h.

Referenced by draw().


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