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

PictureConfig Class Reference

#include <picture.h>

List of all members.

Public Member Functions

 PictureConfig (MWindow *mwindow)
 ~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)
PictureItemnew_item (const char *name)
PictureItemget_item (const char *name, int id)

Public Attributes

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
MWindowmwindow


Detailed Description

Definition at line 31 of file picture.h.


Constructor & Destructor Documentation

PictureConfig::PictureConfig MWindow mwindow  ) 
 

Definition at line 55 of file picture.C.

References brightness, color, contrast, hue, use_brightness, use_color, use_contrast, use_hue, use_whiteness, and whiteness.

PictureConfig::~PictureConfig  ) 
 

Definition at line 71 of file picture.C.

References controls.


Member Function Documentation

void PictureConfig::copy_settings PictureConfig picture  ) 
 

Definition at line 76 of file picture.C.

References brightness, color, contrast, controls, PictureItem::copy_from(), PictureItem::device_id, hue, and whiteness.

Referenced by VideoDevice::set_picture().

void PictureConfig::copy_usage PictureConfig picture  ) 
 

Definition at line 106 of file picture.C.

References controls, PictureItem::copy_from(), PictureItem::device_id, use_brightness, use_color, use_contrast, use_hue, and use_whiteness.

Referenced by Record::open_input_devices().

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

Definition at line 195 of file picture.C.

References controls.

void PictureConfig::load_defaults  ) 
 

Definition at line 136 of file picture.C.

References brightness, color, contrast, controls, MWindow::defaults, PictureItem::get_default_string(), hue, mwindow, PictureItem::value, and whiteness.

Referenced by Record::load_defaults().

PictureItem * PictureConfig::new_item const char *  name  ) 
 

Definition at line 183 of file picture.C.

References controls, and PictureItem::name.

void PictureConfig::save_defaults  ) 
 

Definition at line 161 of file picture.C.

References brightness, color, contrast, controls, MWindow::defaults, PictureItem::get_default_string(), hue, mwindow, PictureItem::value, and whiteness.

Referenced by Record::save_defaults().

void PictureConfig::set_item int  device_id,
int  value
 

Definition at line 205 of file picture.C.

References controls.

Referenced by ChannelPicker::set_picture().


Member Data Documentation

int PictureConfig::brightness
 

Definition at line 42 of file picture.h.

Referenced by copy_settings(), ChannelPicker::get_brightness(), load_defaults(), PictureConfig(), save_defaults(), ChannelPicker::set_brightness(), VDeviceBUZ::set_picture(), and VDeviceV4L::v4l1_set_picture().

int PictureConfig::color
 

Definition at line 44 of file picture.h.

Referenced by copy_settings(), ChannelPicker::get_color(), load_defaults(), PictureConfig(), save_defaults(), ChannelPicker::set_color(), VDeviceBUZ::set_picture(), and VDeviceV4L::v4l1_set_picture().

int PictureConfig::contrast
 

Definition at line 45 of file picture.h.

Referenced by copy_settings(), ChannelPicker::get_contrast(), load_defaults(), PictureConfig(), save_defaults(), ChannelPicker::set_contrast(), VDeviceBUZ::set_picture(), and VDeviceV4L::v4l1_set_picture().

ArrayList<PictureItem*> PictureConfig::controls
 

Definition at line 59 of file picture.h.

Referenced by copy_settings(), copy_usage(), ChannelPicker::get_control(), ChannelPicker::get_controls(), get_item(), load_defaults(), new_item(), save_defaults(), set_item(), and ~PictureConfig().

int PictureConfig::hue
 

Definition at line 43 of file picture.h.

Referenced by copy_settings(), ChannelPicker::get_hue(), load_defaults(), PictureConfig(), save_defaults(), ChannelPicker::set_hue(), VDeviceBUZ::set_picture(), and VDeviceV4L::v4l1_set_picture().

MWindow* PictureConfig::mwindow
 

Definition at line 61 of file picture.h.

Referenced by load_defaults(), and save_defaults().

int PictureConfig::use_brightness
 

Definition at line 49 of file picture.h.

Referenced by ChannelEditPictureWindow::calculate_h(), copy_usage(), ChannelEditPictureWindow::create_objects(), VDeviceV4L::open_input(), VDeviceBUZ::open_input(), and PictureConfig().

int PictureConfig::use_color
 

Definition at line 51 of file picture.h.

Referenced by ChannelEditPictureWindow::calculate_h(), copy_usage(), ChannelEditPictureWindow::create_objects(), VDeviceV4L::open_input(), VDeviceBUZ::open_input(), and PictureConfig().

int PictureConfig::use_contrast
 

Definition at line 50 of file picture.h.

Referenced by ChannelEditPictureWindow::calculate_h(), copy_usage(), ChannelEditPictureWindow::create_objects(), VDeviceV4L::open_input(), VDeviceBUZ::open_input(), and PictureConfig().

int PictureConfig::use_hue
 

Definition at line 52 of file picture.h.

Referenced by ChannelEditPictureWindow::calculate_h(), copy_usage(), ChannelEditPictureWindow::create_objects(), VDeviceV4L::open_input(), VDeviceBUZ::open_input(), and PictureConfig().

int PictureConfig::use_whiteness
 

Definition at line 53 of file picture.h.

Referenced by ChannelEditPictureWindow::calculate_h(), copy_usage(), ChannelEditPictureWindow::create_objects(), VDeviceV4L::open_input(), VDeviceBUZ::open_input(), and PictureConfig().

int PictureConfig::whiteness
 

Definition at line 46 of file picture.h.

Referenced by copy_settings(), ChannelPicker::get_whiteness(), load_defaults(), PictureConfig(), save_defaults(), VDeviceBUZ::set_picture(), ChannelPicker::set_whiteness(), and VDeviceV4L::v4l1_set_picture().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:18 2006 for Cinelerra-svn by  doxygen 1.4.4