ColorThread Class Reference

#include <colorpicker.h>

Inherits Thread.

Inherited by ChromaKeyColorThread, ChromaKeyColorThread, GradientInColorThread, GradientOutColorThread, ThresholdHighColorThread, ThresholdLowColorThread, ThresholdMidColorThread, TitleColorStrokeThread, and TitleColorThread.

Collaboration diagram for ColorThread:

Collaboration graph
[legend]

Public Member Functions

 ColorThread (int do_alpha=0, char *title=0)
 ~ColorThread ()
void run ()
void start_window (int output, int alpha)
virtual int handle_new_color (int output, int alpha)
void update_gui (int output, int alpha)

Private Attributes

ColorWindowwindow
Conditioncompletion
Mutexmutex
int output
int alpha
int do_alpha
char * title

Friends

class ColorWindow

Detailed Description

Definition at line 22 of file colorpicker.h.


Constructor & Destructor Documentation

ColorThread::ColorThread ( int  do_alpha = 0,
char *  title = 0 
)

Definition at line 14 of file colorpicker.C.

References completion, mutex, Thread::set_synchronous(), and window.

Here is the call graph for this function:

ColorThread::~ColorThread (  ) 

Definition at line 25 of file colorpicker.C.

References completion, Condition::lock(), mutex, Thread::running(), BC_WindowBase::set_done(), Condition::unlock(), and window.

Here is the call graph for this function:


Member Function Documentation

void ColorThread::run (  )  [virtual]

void ColorThread::start_window ( int  output,
int  alpha 
)

int ColorThread::handle_new_color ( int  output,
int  alpha 
) [virtual]

void ColorThread::update_gui ( int  output,
int  alpha 
)


Friends And Related Function Documentation

friend class ColorWindow [friend]

Definition at line 35 of file colorpicker.h.

Referenced by run().


Field Documentation

Definition at line 38 of file colorpicker.h.

Referenced by ColorThread(), run(), start_window(), and ~ColorThread().

Definition at line 40 of file colorpicker.h.

Referenced by ColorThread(), run(), start_window(), update_gui(), and ~ColorThread().

int ColorThread::output [private]

Definition at line 42 of file colorpicker.h.

Referenced by ColorWindow::change_values().

int ColorThread::alpha [private]

Definition at line 43 of file colorpicker.h.

Referenced by ColorWindow::change_values().

int ColorThread::do_alpha [private]

Definition at line 44 of file colorpicker.h.

Referenced by ColorWindow::create_objects(), and ColorWindow::update_display().

char* ColorThread::title [private]

Definition at line 45 of file colorpicker.h.

Referenced by run().


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

Generated on Mon Apr 28 14:19:15 2008 for Cinelerra by  doxygen 1.5.5