SampleScroll Class Reference

#include <samplescroll.h>

Inherits BC_ScrollBar.

Collaboration diagram for SampleScroll:

Collaboration graph

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

Data Fields

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

Reimplemented from BC_ScrollBar.

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, BC_ScrollBar::reposition_window(), and MWindow::theme.

Referenced by MWindowGUI::get_scrollbars().

Here is the call graph for this function:

int SampleScroll::set_position (  ) 

int SampleScroll::handle_event (  )  [virtual]

Field Documentation

Definition at line 20 of file samplescroll.h.

Referenced by SampleScroll(), and set_position().

Definition at line 23 of file samplescroll.h.

Referenced by set_position().

Definition at line 24 of file samplescroll.h.

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

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

Generated on Mon Apr 28 14:42:07 2008 for Cinelerra by  doxygen 1.5.5