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

ScaleThread Class Reference

#include <scale.h>

List of all members.

Public Member Functions

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

Public Attributes

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  ) 
 

Definition at line 40 of file scale.C.

References already_running, aspect_h, aspect_w, auto_aspect, MainSession::changes_made, constrain_ratio, ScaleWindow::create_objects(), MWindow::defaults, dimension, mwindow, offsets, orig_dimension, ratio, scale_data, MWindow::session, MWindow::undo, and window.

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, and mwindow.

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

int ScaleThread::update_window int  offset_updated = 0  ) 
 

Definition at line 92 of file scale.C.

References constrain_ratio, ScaleWindow::dimension, dimension, orig_dimension, ScaleWindow::ratio, ratio, update_aspect(), and window.

Referenced by ScaleData::handle_event(), ScaleRatioText::handle_event(), ScaleOffsetText::handle_event(), and ScaleSizeText::handle_event().


Member Data Documentation

int ScaleThread::already_running
 

Definition at line 42 of file scale.h.

Referenced by run(), and ScaleThread().

float ScaleThread::aspect_h
 

Definition at line 38 of file scale.h.

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

float ScaleThread::aspect_w
 

Definition at line 38 of file scale.h.

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

int ScaleThread::auto_aspect
 

Definition at line 41 of file scale.h.

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

int ScaleThread::constrain_ratio
 

Definition at line 39 of file scale.h.

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

int ScaleThread::dimension[4]
 

Definition at line 34 of file scale.h.

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

MWindow* ScaleThread::mwindow
 

Definition at line 44 of file scale.h.

Referenced by run(), and update_aspect().

int ScaleThread::offsets[4]
 

Definition at line 36 of file scale.h.

Referenced by run().

int ScaleThread::orig_dimension[4]
 

Definition at line 35 of file scale.h.

Referenced by run(), and update_window().

float ScaleThread::ratio[4]
 

Definition at line 37 of file scale.h.

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

int ScaleThread::scale_data
 

Definition at line 40 of file scale.h.

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

ScaleWindow* ScaleThread::window
 

Definition at line 45 of file scale.h.

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


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