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

TrackScroll Class Reference

#include <trackscroll.h>

List of all members.

Public Member Functions

 TrackScroll (MWindow *mwindow, MWindowGUI *gui, int x, int y, int h)
 ~TrackScroll ()
int create_objects (int top, int bottom)
int resize_event ()
int flip_vertical (int top, int bottom)
int update ()
long get_distance ()
int handle_event ()

Public Attributes

MWindowGUIgui
MWindowmwindow
long old_position


Detailed Description

Definition at line 9 of file trackscroll.h.


Constructor & Destructor Documentation

TrackScroll::TrackScroll MWindow mwindow,
MWindowGUI gui,
int  x,
int  y,
int  h
 

Definition at line 14 of file trackscroll.C.

References old_position.

TrackScroll::~TrackScroll  ) 
 

Definition at line 28 of file trackscroll.C.


Member Function Documentation

int TrackScroll::create_objects int  top,
int  bottom
 

int TrackScroll::flip_vertical int  top,
int  bottom
 

Definition at line 51 of file trackscroll.C.

long TrackScroll::get_distance  ) 
 

Definition at line 32 of file trackscroll.C.

References old_position.

int TrackScroll::handle_event  ) 
 

Definition at line 56 of file trackscroll.C.

References MWindowGUI::canvas, MWindowGUI::cursor, MainCursor::draw(), TrackCanvas::draw(), MWindow::edl, MWindow::gui, EDL::local_session, mwindow, old_position, MWindowGUI::patchbay, MWindow::theme, LocalSession::track_start, EDL::tracks, PatchBay::update(), and Tracks::update_y_pixels().

int TrackScroll::resize_event  ) 
 

Definition at line 42 of file trackscroll.C.

References Theme::mvscroll_h, Theme::mvscroll_x, Theme::mvscroll_y, mwindow, MWindow::theme, and update().

Referenced by MWindowGUI::get_scrollbars().

int TrackScroll::update  ) 
 

Definition at line 37 of file trackscroll.C.

Referenced by resize_event().


Member Data Documentation

MWindowGUI* TrackScroll::gui
 

Definition at line 22 of file trackscroll.h.

MWindow* TrackScroll::mwindow
 

Definition at line 23 of file trackscroll.h.

Referenced by handle_event(), and resize_event().

long TrackScroll::old_position
 

Definition at line 24 of file trackscroll.h.

Referenced by get_distance(), handle_event(), and TrackScroll().


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