TrackScroll Class Reference

#include <trackscroll.h>

Inherits BC_ScrollBar.

Collaboration diagram for TrackScroll:

Collaboration graph
[legend]

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

Data Fields

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

Definition at line 42 of file trackscroll.C.

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

Referenced by MWindowGUI::get_scrollbars().

Here is the call graph for this function:

int TrackScroll::flip_vertical ( int  top,
int  bottom 
)

Definition at line 51 of file trackscroll.C.

int TrackScroll::update (  ) 

Definition at line 37 of file trackscroll.C.

Referenced by resize_event().

long TrackScroll::get_distance (  ) 

Definition at line 32 of file trackscroll.C.

References BC_ScrollBar::get_value(), and old_position.

Here is the call graph for this function:

int TrackScroll::handle_event (  )  [virtual]


Field Documentation

Definition at line 22 of file trackscroll.h.

Definition at line 23 of file trackscroll.h.

Referenced by handle_event(), and resize_event().

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 Mon Apr 28 14:47:40 2008 for Cinelerra by  doxygen 1.5.5