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

SampleScroll Class Reference

#include <samplescroll.h>

List of all members.

Public Member Functions

 SampleScroll (MWindow *mwindow, MWindowGUI *gui, int x, int y, int w)
 ~SampleScroll ()
int create_objects ()
int flip_vertical ()
int in_use ()
int resize_event ()
int set_position ()
int handle_event ()

Public Attributes

double oldposition

Private Attributes


Detailed Description

Definition at line 8 of file samplescroll.h.

Constructor & Destructor Documentation

SampleScroll::SampleScroll MWindow mwindow,
MWindowGUI gui,
int  x,
int  y,
int  w

Definition at line 15 of file samplescroll.C.

References oldposition.

SampleScroll::~SampleScroll  ) 

Definition at line 33 of file samplescroll.C.

Member Function Documentation

int SampleScroll::create_objects  ) 

int SampleScroll::flip_vertical  ) 

Definition at line 37 of file samplescroll.C.

int SampleScroll::handle_event  ) 

Definition at line 74 of file samplescroll.C.

References MWindowGUI::canvas, MWindowGUI::cursor, MainCursor::draw(), TrackCanvas::draw(), MWindow::edl, MWindow::gui, EDL::local_session, mwindow, MWindowGUI::patchbay, MWindowGUI::timebar, TimeBar::update(), PatchBay::update(), and LocalSession::view_start.

int SampleScroll::in_use  ) 

Definition at line 42 of file samplescroll.C.

int SampleScroll::resize_event  ) 

Definition at line 48 of file samplescroll.C.

References Theme::mhscroll_w, Theme::mhscroll_x, Theme::mhscroll_y, mwindow, and MWindow::theme.

Referenced by MWindowGUI::get_scrollbars().

int SampleScroll::set_position  ) 

Definition at line 56 of file samplescroll.C.

References MWindowGUI::canvas, MWindow::edl, gui, EDL::local_session, Theme::mcanvas_w, mwindow, oldposition, EDLSession::sample_rate, EDL::session, MWindow::theme, Tracks::total_length(), EDL::tracks, LocalSession::view_start, and LocalSession::zoom_sample.

Referenced by MWindowGUI::get_scrollbars(), and MWindow::samplemovement().

Member Data Documentation

MWindowGUI* SampleScroll::gui [private]

Definition at line 23 of file samplescroll.h.

Referenced by set_position().

MWindow* SampleScroll::mwindow [private]

Definition at line 24 of file samplescroll.h.

Referenced by handle_event(), resize_event(), and set_position().

double SampleScroll::oldposition

Definition at line 20 of file samplescroll.h.

Referenced by SampleScroll(), and set_position().

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