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

ChannelPicker Class Reference

#include <channelpicker.h>

Inheritance diagram for ChannelPicker:

PrefsChannelPicker List of all members.

Public Member Functions

 ChannelPicker (MWindow *mwindow, Record *record, RecordMonitor *record_monitor, ChannelDB *channeldb, int x, int y)
virtual ~ChannelPicker ()
virtual BC_WindowBase * get_subwindow ()
virtual Channelget_current_channel_struct ()
virtual int get_current_channel_number ()
virtual void set_channel_number (int number)
virtual void set_channel (Channel *channel)
virtual int has_signal ()
virtual ArrayList< Channel * > * get_video_inputs ()
Channelget_channel_usage ()
virtual int set_brightness (int value)
virtual int set_hue (int value)
virtual int set_color (int value)
virtual int set_contrast (int value)
virtual int set_whiteness (int value)
virtual int set_picture (int device_id, int value)
virtual int get_brightness ()
virtual int get_hue ()
virtual int get_color ()
virtual int get_contrast ()
virtual int get_whiteness ()
virtual int get_controls ()
virtual PictureItemget_control (int i)
virtual PictureConfigget_picture_usage ()
void update_channel_list ()
int create_objects ()
int reposition ()
int close_threads ()
char * get_source_name (Channel *channel)
char * current_channel_name ()
int channel_up ()
int channel_down ()

Public Attributes

int x
int y
Channelcurrent_channel
MWindowmwindow
Recordrecord
RecordMonitorrecord_monitor
ChannelDBchanneldb
BC_WindowBase * parent_window
ChannelTextchannel_text
ChannelListchannel_list
ChannelButtonchannel_button
ChannelTumblerchannel_select
ArrayList< BC_ListBoxItem * > channel_listitems
BC_Title * channel_title

Detailed Description

Definition at line 23 of file channelpicker.h.


Constructor & Destructor Documentation

ChannelPicker::ChannelPicker MWindow mwindow,
Record record,
RecordMonitor record_monitor,
ChannelDB channeldb,
int  x,
int  y
 

Definition at line 169 of file channelpicker.C.

References channel_text, current_channel, and update_channel_list().

ChannelPicker::~ChannelPicker  )  [virtual]
 

Definition at line 187 of file channelpicker.C.

References channel_button, channel_listitems, channel_select, channel_text, and current_channel.


Member Function Documentation

int ChannelPicker::channel_down  ) 
 

Definition at line 427 of file channelpicker.C.

References channeldb, CLAMP, get_current_channel_number(), set_channel_number(), and ChannelDB::size().

Referenced by ChannelTumbler::handle_down_event().

int ChannelPicker::channel_up  ) 
 

Definition at line 436 of file channelpicker.C.

References channeldb, CLAMP, get_current_channel_number(), set_channel_number(), and ChannelDB::size().

Referenced by ChannelTumbler::handle_up_event().

int ChannelPicker::close_threads  ) 
 

Definition at line 403 of file channelpicker.C.

References channel_button, ChannelEditThread::close_threads(), and ChannelButton::thread.

Referenced by RecordMonitor::close_threads().

int ChannelPicker::create_objects  ) 
 

Definition at line 379 of file channelpicker.C.

References channel_button, channel_select, channel_text, get_subwindow(), mwindow, update_channel_list(), x, and y.

Referenced by VDevicePrefs::create_buz_objs(), and RecordMonitorGUI::create_objects().

char * ChannelPicker::current_channel_name  ) 
 

Definition at line 417 of file channelpicker.C.

References _, get_current_channel_struct(), and Channel::title.

int ChannelPicker::get_brightness  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 324 of file channelpicker.C.

References PictureConfig::brightness, Record::picture, and record.

Referenced by ChannelEditPictureWindow::create_objects().

Channel * ChannelPicker::get_channel_usage  ) 
 

Reimplemented in PrefsChannelPicker.

Definition at line 242 of file channelpicker.C.

References Record::master_channel, and record.

Referenced by ChannelEditEditWindow::create_objects(), and ChannelEditWindow::create_objects().

int ChannelPicker::get_color  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 336 of file channelpicker.C.

References PictureConfig::color, Record::picture, and record.

Referenced by ChannelEditPictureWindow::create_objects().

int ChannelPicker::get_contrast  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 342 of file channelpicker.C.

References PictureConfig::contrast, Record::picture, and record.

Referenced by ChannelEditPictureWindow::create_objects().

PictureItem * ChannelPicker::get_control int  i  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 360 of file channelpicker.C.

References PictureConfig::controls, Record::picture, and record.

Referenced by ChannelEditPictureWindow::create_objects().

int ChannelPicker::get_controls  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 354 of file channelpicker.C.

References PictureConfig::controls, Record::picture, and record.

Referenced by ChannelEditPictureWindow::calculate_h(), and ChannelEditPictureWindow::create_objects().

int ChannelPicker::get_current_channel_number  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 230 of file channelpicker.C.

References Record::get_editing_channel(), and record.

Referenced by channel_down(), channel_up(), and ChannelEditThread::run().

Channel * ChannelPicker::get_current_channel_struct  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 223 of file channelpicker.C.

References Record::get_current_channel_struct(), and record.

Referenced by current_channel_name().

int ChannelPicker::get_hue  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 330 of file channelpicker.C.

References PictureConfig::hue, Record::picture, and record.

Referenced by ChannelEditPictureWindow::create_objects().

PictureConfig * ChannelPicker::get_picture_usage  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 366 of file channelpicker.C.

References Record::picture, and record.

Referenced by ChannelEditPictureWindow::calculate_h(), and ChannelEditPictureWindow::create_objects().

char * ChannelPicker::get_source_name Channel channel  ) 
 

Definition at line 409 of file channelpicker.C.

References chanlists, CHANLISTS::count, Channel::entry, Channel::freqtable, CHANLISTS::list, and CHANLIST::name.

BC_WindowBase * ChannelPicker::get_subwindow  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 217 of file channelpicker.C.

References record_monitor, and RecordMonitor::window.

Referenced by create_objects(), and ChannelEditThread::~ChannelEditThread().

ArrayList< Channel * > * ChannelPicker::get_video_inputs  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 236 of file channelpicker.C.

References Record::get_video_inputs(), and record.

Referenced by ChannelEditEditInput::add_items(), and ChannelEditThread::value_to_input().

int ChannelPicker::get_whiteness  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 348 of file channelpicker.C.

References Record::picture, record, and PictureConfig::whiteness.

Referenced by ChannelEditPictureWindow::create_objects().

int ChannelPicker::has_signal  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 258 of file channelpicker.C.

References Record::has_signal(), and record.

Referenced by ScanThread::run().

int ChannelPicker::reposition  ) 
 

Definition at line 392 of file channelpicker.C.

References channel_button, channel_select, and channel_text.

Referenced by RecordMonitorGUI::resize_event().

int ChannelPicker::set_brightness int  value  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 264 of file channelpicker.C.

References PictureConfig::brightness, Record::picture, record, and Record::set_video_picture().

Referenced by ChannelEditBright::button_release_event().

void ChannelPicker::set_channel Channel channel  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 253 of file channelpicker.C.

References record, and Record::set_channel().

Referenced by ChannelEditWindow::change_channel_from_list(), ScanThread::run(), and ChannelEditEditThread::set_device().

void ChannelPicker::set_channel_number int  number  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 248 of file channelpicker.C.

References record, and Record::set_channel().

Referenced by channel_down(), channel_up(), and ChannelText::handle_event().

int ChannelPicker::set_color int  value  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 284 of file channelpicker.C.

References PictureConfig::color, Record::picture, record, and Record::set_video_picture().

Referenced by ChannelEditColor::button_release_event().

int ChannelPicker::set_contrast int  value  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 294 of file channelpicker.C.

References PictureConfig::contrast, Record::picture, record, and Record::set_video_picture().

Referenced by ChannelEditContrast::button_release_event().

int ChannelPicker::set_hue int  value  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 274 of file channelpicker.C.

References PictureConfig::hue, Record::picture, record, and Record::set_video_picture().

Referenced by ChannelEditHue::button_release_event().

int ChannelPicker::set_picture int  device_id,
int  value
[virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 314 of file channelpicker.C.

References Record::picture, record, PictureConfig::set_item(), and Record::set_video_picture().

Referenced by ChannelEditCommon::button_release_event().

int ChannelPicker::set_whiteness int  value  )  [virtual]
 

Reimplemented in PrefsChannelPicker.

Definition at line 304 of file channelpicker.C.

References Record::picture, record, Record::set_video_picture(), and PictureConfig::whiteness.

Referenced by ChannelEditWhiteness::button_release_event().

void ChannelPicker::update_channel_list  ) 
 

Definition at line 196 of file channelpicker.C.

References channel_listitems, channel_text, channeldb, ChannelDB::get(), ChannelDB::size(), and Channel::title.

Referenced by ChannelPicker(), create_objects(), and ChannelEditThread::run().


Member Data Documentation

ChannelButton* ChannelPicker::channel_button
 

Definition at line 94 of file channelpicker.h.

Referenced by close_threads(), create_objects(), reposition(), and ~ChannelPicker().

ChannelList* ChannelPicker::channel_list
 

Definition at line 93 of file channelpicker.h.

ArrayList<BC_ListBoxItem*> ChannelPicker::channel_listitems
 

Definition at line 96 of file channelpicker.h.

Referenced by RecordGUI::update_batch_sources(), update_channel_list(), and ~ChannelPicker().

ChannelTumbler* ChannelPicker::channel_select
 

Definition at line 95 of file channelpicker.h.

Referenced by create_objects(), reposition(), and ~ChannelPicker().

ChannelText* ChannelPicker::channel_text
 

Definition at line 92 of file channelpicker.h.

Referenced by ChannelPicker(), create_objects(), reposition(), Record::set_channel(), PrefsChannelPicker::set_channel(), RecordMonitor::update_channel(), update_channel_list(), and ~ChannelPicker().

BC_Title* ChannelPicker::channel_title
 

Definition at line 97 of file channelpicker.h.

ChannelDB* ChannelPicker::channeldb
 

Definition at line 84 of file channelpicker.h.

Referenced by channel_down(), channel_up(), ChannelButton::ChannelButton(), PrefsChannelPicker::get_current_channel_struct(), ChannelEditThread::run(), PrefsChannelPicker::set_channel_number(), and update_channel_list().

Channel* ChannelPicker::current_channel
 

Definition at line 80 of file channelpicker.h.

Referenced by ChannelPicker(), and ~ChannelPicker().

MWindow* ChannelPicker::mwindow
 

Definition at line 81 of file channelpicker.h.

Referenced by create_objects().

BC_WindowBase* ChannelPicker::parent_window
 

Definition at line 91 of file channelpicker.h.

Record* ChannelPicker::record
 

Definition at line 82 of file channelpicker.h.

Referenced by ChannelButton::ChannelButton(), get_brightness(), get_channel_usage(), get_color(), get_contrast(), get_control(), get_controls(), get_current_channel_number(), get_current_channel_struct(), get_hue(), get_picture_usage(), get_video_inputs(), get_whiteness(), has_signal(), set_brightness(), set_channel(), set_channel_number(), set_color(), set_contrast(), set_hue(), set_picture(), and set_whiteness().

RecordMonitor* ChannelPicker::record_monitor
 

Definition at line 83 of file channelpicker.h.

Referenced by get_subwindow().

int ChannelPicker::x
 

Definition at line 79 of file channelpicker.h.

Referenced by create_objects().

int ChannelPicker::y
 

Definition at line 79 of file channelpicker.h.

Referenced by create_objects().


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