ScaleThread Class Reference

#include <scale.h>

Inherits Thread.

Collaboration diagram for ScaleThread:

Collaboration graph
[legend]

Public Member Functions

 ScaleThread (MWindow *mwindow)
 ~ScaleThread ()
void run ()
int update_window (int offset_updated=0)
int update_aspect (ScaleWindow *window)

Data Fields

int dimension [4]
int orig_dimension [4]
int offsets [4]
float ratio [4]
float aspect_w
float aspect_h
int constrain_ratio
int scale_data
int auto_aspect
int already_running
MWindowmwindow
ScaleWindowwindow

Detailed Description

Definition at line 22 of file scale.h.


Constructor & Destructor Documentation

ScaleThread::ScaleThread ( MWindow mwindow  ) 

Definition at line 31 of file scale.C.

References already_running.

ScaleThread::~ScaleThread (  ) 

Definition at line 38 of file scale.C.


Member Function Documentation

void ScaleThread::run (  )  [virtual]

int ScaleThread::update_window ( int  offset_updated = 0  ) 

int ScaleThread::update_aspect ( ScaleWindow window  ) 

Definition at line 160 of file scale.C.

References ScaleWindow::aspect_h, aspect_h, ScaleWindow::aspect_w, aspect_w, auto_aspect, MWindow::create_aspect_ratio(), dimension, mwindow, and BC_TextBox::update().

Referenced by ScaleAspectAuto::handle_event(), and update_window().

Here is the call graph for this function:


Field Documentation

Definition at line 34 of file scale.h.

Referenced by ScaleWindow::create_objects(), run(), update_aspect(), and update_window().

Definition at line 35 of file scale.h.

Referenced by run(), and update_window().

Definition at line 36 of file scale.h.

Referenced by run().

Definition at line 37 of file scale.h.

Referenced by ScaleWindow::create_objects(), run(), and update_window().

Definition at line 38 of file scale.h.

Referenced by ScaleWindow::create_objects(), run(), and update_aspect().

Definition at line 38 of file scale.h.

Referenced by ScaleWindow::create_objects(), run(), and update_aspect().

Definition at line 39 of file scale.h.

Referenced by ScaleConstrain::handle_event(), run(), and update_window().

Definition at line 40 of file scale.h.

Referenced by ScaleData::handle_event(), and run().

Definition at line 41 of file scale.h.

Referenced by ScaleAspectAuto::handle_event(), run(), and update_aspect().

Definition at line 42 of file scale.h.

Referenced by run(), and ScaleThread().

Definition at line 44 of file scale.h.

Referenced by run(), and update_aspect().

Definition at line 45 of file scale.h.

Referenced by ScaleAspectAuto::handle_event(), run(), ScaleMain::update_gui(), and update_window().


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

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