PrefsChannelPicker Class Reference

#include <channelpicker.h>

Inherits ChannelPicker.

Collaboration diagram for PrefsChannelPicker:

Collaboration graph
[legend]

Public Member Functions

 PrefsChannelPicker (MWindow *mwindow, VDevicePrefs *prefs, ChannelDB *channeldb, int x, int y)
 ~PrefsChannelPicker ()
BC_WindowBaseget_subwindow ()
void load_scan_defaults (Channel *scan_params)
void save_scan_defaults (Channel *scan_params)
void handle_channel_edit (int result)
BC_Themeget_theme ()
Channelget_current_channel_struct ()
int get_current_channel_number ()
void set_channel (Channel *channel)
void set_channel_number (int number)
int has_signal ()
ArrayList< Channel * > * get_video_inputs ()
Channelget_channel_usage ()
int set_brightness (int value)
int set_hue (int value)
int set_color (int value)
int set_contrast (int value)
int set_whiteness (int value)
int get_brightness ()
int get_hue ()
int get_color ()
int get_contrast ()
int get_whiteness ()

Data Fields

ArrayList< Channel * > input_sources
MWindowmwindow
VDevicePrefsprefs

Detailed Description

Definition at line 117 of file channelpicker.h.


Constructor & Destructor Documentation

PrefsChannelPicker::PrefsChannelPicker ( MWindow mwindow,
VDevicePrefs prefs,
ChannelDB channeldb,
int  x,
int  y 
)

Definition at line 249 of file channelpicker.C.

References VDeviceBUZ::get_inputs(), and input_sources.

Here is the call graph for this function:

PrefsChannelPicker::~PrefsChannelPicker (  ) 

Definition at line 265 of file channelpicker.C.

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

Here is the call graph for this function:


Member Function Documentation

BC_WindowBase* PrefsChannelPicker::get_subwindow (  ) 

Reimplemented from ChannelPicker.

void PrefsChannelPicker::load_scan_defaults ( Channel scan_params  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 270 of file channelpicker.C.

References MWindow::defaults, Channel::load_defaults(), and mwindow.

Here is the call graph for this function:

void PrefsChannelPicker::save_scan_defaults ( Channel scan_params  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 275 of file channelpicker.C.

References MWindow::defaults, mwindow, and Channel::save_defaults().

Here is the call graph for this function:

void PrefsChannelPicker::handle_channel_edit ( int  result  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 280 of file channelpicker.C.

References mwindow, and MWindow::save_defaults().

Here is the call graph for this function:

BC_Theme * PrefsChannelPicker::get_theme (  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 285 of file channelpicker.C.

References mwindow, and MWindow::theme.

Channel * PrefsChannelPicker::get_current_channel_struct (  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 291 of file channelpicker.C.

References ChannelPicker::channeldb, ChannelDB::get(), and get_current_channel_number().

Referenced by set_channel_number().

Here is the call graph for this function:

int PrefsChannelPicker::get_current_channel_number (  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 302 of file channelpicker.C.

References VideoOutConfig::buz_out_channel, VDevicePrefs::out_config, and prefs.

Referenced by get_current_channel_struct().

void PrefsChannelPicker::set_channel ( Channel channel  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 318 of file channelpicker.C.

References ChannelPicker::channel_text, Channel::title, and BC_PopupTextBox::update().

Referenced by set_channel_number().

Here is the call graph for this function:

void PrefsChannelPicker::set_channel_number ( int  number  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 324 of file channelpicker.C.

References VideoOutConfig::buz_out_channel, ChannelPicker::channeldb, CLAMP, get_current_channel_struct(), VDevicePrefs::out_config, prefs, set_channel(), and ChannelDB::size().

Here is the call graph for this function:

int PrefsChannelPicker::has_signal (  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 331 of file channelpicker.C.

ArrayList< Channel * > * PrefsChannelPicker::get_video_inputs (  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 307 of file channelpicker.C.

References input_sources.

Channel * PrefsChannelPicker::get_channel_usage (  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 312 of file channelpicker.C.

int PrefsChannelPicker::set_brightness ( int  value  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 336 of file channelpicker.C.

References VideoOutConfig::brightness, VDevicePrefs::out_config, and prefs.

int PrefsChannelPicker::set_hue ( int  value  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 341 of file channelpicker.C.

References VideoOutConfig::hue, VDevicePrefs::out_config, and prefs.

int PrefsChannelPicker::set_color ( int  value  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 346 of file channelpicker.C.

References VideoOutConfig::color, VDevicePrefs::out_config, and prefs.

int PrefsChannelPicker::set_contrast ( int  value  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 351 of file channelpicker.C.

References VideoOutConfig::contrast, VDevicePrefs::out_config, and prefs.

int PrefsChannelPicker::set_whiteness ( int  value  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 356 of file channelpicker.C.

References VDevicePrefs::out_config, prefs, and VideoOutConfig::whiteness.

int PrefsChannelPicker::get_brightness (  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 361 of file channelpicker.C.

References VideoOutConfig::brightness, VDevicePrefs::out_config, and prefs.

int PrefsChannelPicker::get_hue (  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 366 of file channelpicker.C.

References VideoOutConfig::hue, VDevicePrefs::out_config, and prefs.

int PrefsChannelPicker::get_color (  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 371 of file channelpicker.C.

References VideoOutConfig::color, VDevicePrefs::out_config, and prefs.

int PrefsChannelPicker::get_contrast (  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 376 of file channelpicker.C.

References VideoOutConfig::contrast, VDevicePrefs::out_config, and prefs.

int PrefsChannelPicker::get_whiteness (  )  [virtual]

Reimplemented from ChannelPicker.

Definition at line 381 of file channelpicker.C.

References VDevicePrefs::out_config, prefs, and VideoOutConfig::whiteness.


Field Documentation

Definition at line 161 of file channelpicker.h.

Referenced by get_video_inputs(), PrefsChannelPicker(), and ~PrefsChannelPicker().


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

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