PictureConfig Class Reference

#include <picture.h>

Collaboration diagram for PictureConfig:

Collaboration graph
[legend]

Public Member Functions

 PictureConfig (BC_Hash *defaults)
 ~PictureConfig ()
void copy_settings (PictureConfig *picture)
void copy_usage (PictureConfig *picture)
void load_defaults ()
void save_defaults ()
void set_item (int device_id, int value)
void dump ()
PictureItemnew_item (const char *name)
PictureItemget_item (const char *name, int id)

Data Fields

int brightness
int hue
int color
int contrast
int whiteness
int use_brightness
int use_contrast
int use_color
int use_hue
int use_whiteness
ArrayList< PictureItem * > controls
BC_Hashdefaults

Detailed Description

Definition at line 31 of file picture.h.


Constructor & Destructor Documentation

PictureConfig::PictureConfig ( BC_Hash defaults  ) 

PictureConfig::~PictureConfig (  ) 

Definition at line 70 of file picture.C.

References controls, and ArrayList< TYPE >::remove_all_objects().

Here is the call graph for this function:


Member Function Documentation

void PictureConfig::copy_settings ( PictureConfig picture  ) 

void PictureConfig::copy_usage ( PictureConfig picture  ) 

void PictureConfig::load_defaults (  ) 

void PictureConfig::save_defaults (  ) 

void PictureConfig::set_item ( int  device_id,
int  value 
)

void PictureConfig::dump (  ) 

Definition at line 182 of file picture.C.

References BCTEXTLEN, brightness, color, contrast, controls, PictureItem::get_default_string(), hue, ArrayList< TYPE >::total, PictureItem::value, ArrayList< TYPE >::values, and whiteness.

Here is the call graph for this function:

PictureItem * PictureConfig::new_item ( const char *  name  ) 

Definition at line 198 of file picture.C.

References ArrayList< TYPE >::append(), controls, PictureItem::name, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.

Here is the call graph for this function:

PictureItem * PictureConfig::get_item ( const char *  name,
int  id 
)


Field Documentation

Definition at line 62 of file picture.h.

Referenced by load_defaults(), and save_defaults().


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

Generated on Mon Apr 28 14:35:13 2008 for Cinelerra by  doxygen 1.5.5