ColorWindow Class Reference

#include <colorpicker.h>

Inherits BC_Window.

Collaboration diagram for ColorWindow:

Collaboration graph
[legend]

Public Member Functions

 ColorWindow (ColorThread *thread, int x, int y, char *title)
void create_objects ()
void change_values ()
int close_event ()
void update_display ()
void update_rgb ()
int handle_event ()

Data Fields

ColorThreadthread
PaletteWheelwheel
PaletteWheelValuewheel_value
PaletteOutputoutput
PaletteHuehue
PaletteSaturationsaturation
PaletteValuevalue
PaletteRedred
PaletteGreengreen
PaletteBlueblue
PaletteAlphaalpha
VFramevalue_bitmap
float h
float s
float v
float r
float g
float b
float a

Detailed Description

Definition at line 48 of file colorpicker.h.


Constructor & Destructor Documentation

ColorWindow::ColorWindow ( ColorThread thread,
int  x,
int  y,
char *  title 
)

Definition at line 109 of file colorpicker.C.


Member Function Documentation

void ColorWindow::create_objects (  ) 

void ColorWindow::change_values (  ) 

Definition at line 201 of file colorpicker.C.

References a, ColorThread::alpha, b, g, h, ColorThread::output, r, HSV::rgb_to_hsv(), s, thread, and v.

Referenced by create_objects(), and ColorThread::update_gui().

Here is the call graph for this function:

int ColorWindow::close_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 211 of file colorpicker.C.

References BC_WindowBase::set_done().

Here is the call graph for this function:

void ColorWindow::update_display (  ) 

void ColorWindow::update_rgb (  ) 

Definition at line 218 of file colorpicker.C.

References blue, BC_FSlider::get_value(), green, h, red, HSV::rgb_to_hsv(), s, update_display(), and v.

Referenced by PaletteBlue::handle_event(), PaletteGreen::handle_event(), and PaletteRed::handle_event().

Here is the call graph for this function:

int ColorWindow::handle_event (  ) 


Field Documentation

Definition at line 60 of file colorpicker.h.

Referenced by change_values(), create_objects(), handle_event(), and update_display().

Definition at line 62 of file colorpicker.h.

Referenced by create_objects(), and update_display().

Definition at line 63 of file colorpicker.h.

Referenced by create_objects(), and update_display().

Definition at line 64 of file colorpicker.h.

Referenced by create_objects(), and update_display().

Definition at line 65 of file colorpicker.h.

Referenced by create_objects(), and update_display().

Definition at line 66 of file colorpicker.h.

Referenced by create_objects(), and update_display().

Definition at line 67 of file colorpicker.h.

Referenced by create_objects(), and update_display().

Definition at line 68 of file colorpicker.h.

Referenced by create_objects(), update_display(), and update_rgb().

Definition at line 69 of file colorpicker.h.

Referenced by create_objects(), update_display(), and update_rgb().

Definition at line 70 of file colorpicker.h.

Referenced by create_objects(), update_display(), and update_rgb().

Definition at line 71 of file colorpicker.h.

Referenced by create_objects(), and update_display().

Definition at line 72 of file colorpicker.h.

Definition at line 73 of file colorpicker.h.

Referenced by change_values(), handle_event(), and update_display().

Definition at line 73 of file colorpicker.h.

Referenced by change_values(), handle_event(), and update_display().

Definition at line 73 of file colorpicker.h.

Referenced by change_values(), handle_event(), and update_display().


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

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