ChannelPicker Class Reference

#include <channelpicker.h>

Inherited by PrefsChannelPicker, and RecordChannelPicker.

Collaboration diagram for ChannelPicker:

Collaboration graph
[legend]

Public Member Functions

 ChannelPicker (ChannelDB *channeldb, int x, int y, BC_WindowBase *parent_window)
virtual ~ChannelPicker ()
BC_WindowBaseget_subwindow ()
virtual void handle_channel_edit (int result)
virtual void load_scan_defaults (Channel *scan_params)
virtual void save_scan_defaults (Channel *scan_params)
virtual Channelget_master_channel ()
virtual int use_select ()
virtual BC_Themeget_theme ()
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 ()
virtual 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 ()

Data Fields

int x
int y
Channelcurrent_channel
ChannelDBchanneldb
BC_WindowBaseparent_window
ChannelTextchannel_text
ChannelListchannel_list
ChannelButtonchannel_button
ChannelTumblerchannel_select
ArrayList< BC_ListBoxItem * > channel_listitems
BC_Titlechannel_title

Detailed Description

Definition at line 23 of file channelpicker.h.


Constructor & Destructor Documentation

ChannelPicker::ChannelPicker ( ChannelDB channeldb,
int  x,
int  y,
BC_WindowBase parent_window 
)

Definition at line 391 of file channelpicker.C.

References channel_button, channel_select, channel_text, current_channel, and update_channel_list().

Here is the call graph for this function:

ChannelPicker::~ChannelPicker (  )  [virtual]

Definition at line 408 of file channelpicker.C.

References channel_button, channel_listitems, channel_select, channel_text, current_channel, and ArrayList< TYPE >::remove_all_objects().

Here is the call graph for this function:


Member Function Documentation

BC_WindowBase * ChannelPicker::get_subwindow (  ) 

Reimplemented in PrefsChannelPicker.

Definition at line 436 of file channelpicker.C.

References parent_window.

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

virtual void ChannelPicker::handle_channel_edit ( int  result  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 45 of file channelpicker.h.

Referenced by ChannelEditThread::run().

virtual void ChannelPicker::load_scan_defaults ( Channel scan_params  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 47 of file channelpicker.h.

Referenced by ChannelEditWindow::scan_confirm().

virtual void ChannelPicker::save_scan_defaults ( Channel scan_params  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 48 of file channelpicker.h.

Referenced by ConfirmScanThread::handle_done_event().

virtual Channel* ChannelPicker::get_master_channel (  )  [inline, virtual]

Reimplemented in RecordChannelPicker.

Definition at line 50 of file channelpicker.h.

Referenced by ChannelEditWindow::add_channel().

virtual int ChannelPicker::use_select (  )  [inline, virtual]

Reimplemented in RecordChannelPicker.

Definition at line 52 of file channelpicker.h.

Referenced by ChannelEditWindow::create_objects().

virtual BC_Theme* ChannelPicker::get_theme (  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 53 of file channelpicker.h.

virtual Channel* ChannelPicker::get_current_channel_struct (  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 55 of file channelpicker.h.

Referenced by current_channel_name().

virtual int ChannelPicker::get_current_channel_number (  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 56 of file channelpicker.h.

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

virtual void ChannelPicker::set_channel_number ( int  number  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 58 of file channelpicker.h.

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

virtual void ChannelPicker::set_channel ( Channel channel  )  [inline, virtual]

virtual int ChannelPicker::has_signal (  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 60 of file channelpicker.h.

Referenced by ScanThread::run().

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

virtual Channel* ChannelPicker::get_channel_usage (  )  [inline, virtual]

virtual int ChannelPicker::set_brightness ( int  value  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 67 of file channelpicker.h.

Referenced by ChannelEditBright::button_release_event().

virtual int ChannelPicker::set_hue ( int  value  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 68 of file channelpicker.h.

Referenced by ChannelEditHue::button_release_event().

virtual int ChannelPicker::set_color ( int  value  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 69 of file channelpicker.h.

Referenced by ChannelEditColor::button_release_event().

virtual int ChannelPicker::set_contrast ( int  value  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 70 of file channelpicker.h.

Referenced by ChannelEditContrast::button_release_event().

virtual int ChannelPicker::set_whiteness ( int  value  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 71 of file channelpicker.h.

Referenced by ChannelEditWhiteness::button_release_event().

virtual int ChannelPicker::set_picture ( int  device_id,
int  value 
) [inline, virtual]

Reimplemented in RecordChannelPicker.

Definition at line 72 of file channelpicker.h.

Referenced by ChannelEditCommon::button_release_event().

virtual int ChannelPicker::get_brightness (  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 75 of file channelpicker.h.

Referenced by ChannelEditPictureWindow::create_objects().

virtual int ChannelPicker::get_hue (  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 76 of file channelpicker.h.

Referenced by ChannelEditPictureWindow::create_objects().

virtual int ChannelPicker::get_color (  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 77 of file channelpicker.h.

Referenced by ChannelEditPictureWindow::create_objects().

virtual int ChannelPicker::get_contrast (  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 78 of file channelpicker.h.

Referenced by ChannelEditPictureWindow::create_objects().

virtual int ChannelPicker::get_whiteness (  )  [inline, virtual]

Reimplemented in PrefsChannelPicker, and RecordChannelPicker.

Definition at line 79 of file channelpicker.h.

Referenced by ChannelEditPictureWindow::create_objects().

virtual int ChannelPicker::get_controls (  )  [inline, virtual]

virtual PictureItem* ChannelPicker::get_control ( int  i  )  [inline, virtual]

Reimplemented in RecordChannelPicker.

Definition at line 81 of file channelpicker.h.

Referenced by ChannelEditPictureWindow::create_objects().

virtual PictureConfig* ChannelPicker::get_picture_usage (  )  [inline, virtual]

void ChannelPicker::update_channel_list (  ) 

int ChannelPicker::create_objects (  ) 

int ChannelPicker::reposition (  ) 

int ChannelPicker::close_threads (  ) 

Definition at line 476 of file channelpicker.C.

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

Referenced by RecordMonitor::close_threads().

Here is the call graph for this function:

char * ChannelPicker::get_source_name ( Channel channel  ) 

char * ChannelPicker::current_channel_name (  ) 

Definition at line 490 of file channelpicker.C.

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

Here is the call graph for this function:

int ChannelPicker::channel_up (  ) 

Definition at line 509 of file channelpicker.C.

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

Referenced by ChannelTumbler::handle_up_event().

Here is the call graph for this function:

int ChannelPicker::channel_down (  ) 

Definition at line 500 of file channelpicker.C.

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

Referenced by ChannelTumbler::handle_down_event().

Here is the call graph for this function:


Field Documentation

Definition at line 96 of file channelpicker.h.

Referenced by create_objects().

Definition at line 96 of file channelpicker.h.

Referenced by create_objects().

Definition at line 110 of file channelpicker.h.

Definition at line 112 of file channelpicker.h.

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

Definition at line 114 of file channelpicker.h.


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

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