MainCursor Class Reference

#include <maincursor.h>

Collaboration diagram for MainCursor:

Collaboration graph
[legend]

Public Member Functions

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

Data Fields

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

Definition at line 24 of file maincursor.C.

int MainCursor::repeat_event ( int64_t  duration  ) 

void MainCursor::draw ( int  flash  ) 

void MainCursor::hide ( int  do_plugintoggles = 1  ) 

void MainCursor::flash (  ) 

Definition at line 130 of file maincursor.C.

References MWindowGUI::canvas, BC_WindowBase::flash(), BC_WindowBase::get_h(), gui, pixel1, and pixel2.

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

Here is the call graph for this function:

void MainCursor::activate (  ) 

Definition at line 39 of file maincursor.C.

References active, BC_WindowBase::get_resources(), gui, and BC_WindowBase::set_repeat().

Referenced by TrackCanvas::activate().

Here is the call graph for this function:

void MainCursor::deactivate (  ) 

Definition at line 49 of file maincursor.C.

References active, flash(), BC_WindowBase::get_resources(), gui, show(), and BC_WindowBase::unset_repeat().

Referenced by TrackCanvas::deactivate().

Here is the call graph for this function:

void MainCursor::show ( int  do_plugintoggles = 1  ) 

Definition at line 140 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().

Here is the call graph for this function:

void MainCursor::restore ( int  do_plugintoggles  ) 

Definition at line 146 of file maincursor.C.

References draw(), and visible.

Referenced by TrackCanvas::draw_overlays().

Here is the call graph for this function:

void MainCursor::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().

Here is the call graph for this function:


Field Documentation

Definition at line 27 of file maincursor.h.

Referenced by draw().

Definition at line 28 of file maincursor.h.

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

Definition at line 29 of file maincursor.h.

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

Definition at line 30 of file maincursor.h.

Referenced by draw(), and repeat_event().

Definition at line 30 of file maincursor.h.

Referenced by draw(), and repeat_event().

Definition at line 31 of file maincursor.h.

Referenced by draw().

Definition at line 32 of file maincursor.h.

Referenced by draw().

Definition at line 33 of file maincursor.h.

Referenced by draw(), flash(), and update().

Definition at line 33 of file maincursor.h.

Referenced by draw(), flash(), and update().

Definition at line 34 of file maincursor.h.

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


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

Generated on Mon Apr 28 14:30:02 2008 for Cinelerra by  doxygen 1.5.5