LLPanelDeviceSettings Class Reference

#include <llfloatervoicewizard.h>

Inheritance diagram for LLPanelDeviceSettings:

Inheritance graph
[legend]
Collaboration diagram for LLPanelDeviceSettings:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelDeviceSettings ()
 ~LLPanelDeviceSettings ()
void draw ()
BOOL postBuild ()
void apply ()
void cancel ()
void refresh ()
void onOpen ()
void onClose (bool app_quitting)

Protected Attributes

F32 mMicVolume
std::string mInputDevice
std::string mOutputDevice
LLComboBoxmCtrlInputDevices
LLComboBoxmCtrlOutputDevices
BOOL mDevicesUpdated

Detailed Description

Definition at line 66 of file llfloatervoicewizard.h.


Constructor & Destructor Documentation

LLPanelDeviceSettings::LLPanelDeviceSettings (  ) 

Definition at line 220 of file llfloatervoicewizard.cpp.

References FALSE, LLControlGroup::getF32(), LLControlGroup::getString(), gSavedSettings, mCtrlInputDevices, mCtrlOutputDevices, mDevicesUpdated, mInputDevice, mMicVolume, mOutputDevice, and NULL.

LLPanelDeviceSettings::~LLPanelDeviceSettings (  ) 

Definition at line 236 of file llfloatervoicewizard.cpp.


Member Function Documentation

void LLPanelDeviceSettings::apply (  ) 

Definition at line 290 of file llfloatervoicewizard.cpp.

References LLComboBox::getSimple(), gSavedSettings, mCtrlInputDevices, mCtrlOutputDevices, mMicVolume, s, LLControlGroup::setF32(), and LLControlGroup::setString().

Referenced by LLFloaterDeviceSettings::apply().

void LLPanelDeviceSettings::cancel (  ) 

Definition at line 309 of file llfloatervoicewizard.cpp.

References gSavedSettings, mCtrlInputDevices, mCtrlOutputDevices, mInputDevice, mOutputDevice, LLComboBox::setSimple(), and LLControlGroup::setString().

Referenced by LLFloaterDeviceSettings::cancel().

void LLPanelDeviceSettings::draw (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 252 of file llfloatervoicewizard.cpp.

References LLPanel::childSetVisible(), LLPanel::draw(), f, FALSE, LLControlGroup::getColor4(), gl_rect_2d(), LLColor4::grey, gSavedSettings, gVoiceClient, LLVoiceClient::inTuningMode(), llfloor(), llmin(), LLVoiceClient::OVERDRIVEN_POWER_LEVEL, S32, TRUE, and LLVoiceClient::tuningGetEnergy().

void LLPanelDeviceSettings::onClose ( bool  app_quitting  ) 

Definition at line 407 of file llfloatervoicewizard.cpp.

References gVoiceClient, and LLVoiceClient::tuningStop().

Referenced by LLFloaterDeviceSettings::onClose(), and LLFloaterVoiceWizard::onClose().

void LLPanelDeviceSettings::onOpen (  ) 

Definition at line 396 of file llfloatervoicewizard.cpp.

References FALSE, gVoiceClient, mDevicesUpdated, LLVoiceClient::refreshDeviceLists(), and LLVoiceClient::tuningStart().

Referenced by LLFloaterDeviceSettings::onOpen(), and LLFloaterVoiceWizard::onOpen().

BOOL LLPanelDeviceSettings::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 240 of file llfloatervoicewizard.cpp.

References LLUICtrlFactory::getSliderBarByName(), gUICtrlFactory, mMicVolume, LLSlider::setValue(), and TRUE.

void LLPanelDeviceSettings::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 321 of file llfloatervoicewizard.cpp.

References LLComboBox::add(), ADD_BOTTOM, LLSD::asReal(), LLPanel::childGetText(), LLVoiceClient::deviceSettingsAvailable(), LLVoiceClient::getCaptureDevices(), LLUICtrlFactory::getComboBoxByName(), LLVoiceClient::getRenderDevices(), LLUICtrlFactory::getSliderBarByName(), LLSlider::getValue(), gUICtrlFactory, gVoiceClient, mCtrlInputDevices, mCtrlOutputDevices, mDevicesUpdated, mInputDevice, mMicVolume, mOutputDevice, LLComboBox::removeall(), LLComboBox::setSimple(), TRUE, and LLVoiceClient::tuningSetMicVolume().

Referenced by LLFloaterDeviceSettings::draw(), and LLFloaterVoiceWizard::draw().


Member Data Documentation

LLComboBox* LLPanelDeviceSettings::mCtrlInputDevices [protected]

Definition at line 84 of file llfloatervoicewizard.h.

Referenced by apply(), cancel(), LLPanelDeviceSettings(), and refresh().

LLComboBox* LLPanelDeviceSettings::mCtrlOutputDevices [protected]

Definition at line 85 of file llfloatervoicewizard.h.

Referenced by apply(), cancel(), LLPanelDeviceSettings(), and refresh().

BOOL LLPanelDeviceSettings::mDevicesUpdated [protected]

Definition at line 86 of file llfloatervoicewizard.h.

Referenced by LLPanelDeviceSettings(), onOpen(), and refresh().

std::string LLPanelDeviceSettings::mInputDevice [protected]

Definition at line 82 of file llfloatervoicewizard.h.

Referenced by cancel(), LLPanelDeviceSettings(), and refresh().

F32 LLPanelDeviceSettings::mMicVolume [protected]

Definition at line 81 of file llfloatervoicewizard.h.

Referenced by apply(), LLPanelDeviceSettings(), postBuild(), and refresh().

std::string LLPanelDeviceSettings::mOutputDevice [protected]

Definition at line 83 of file llfloatervoicewizard.h.

Referenced by cancel(), LLPanelDeviceSettings(), and refresh().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:35 2010 for Second Life Viewer by  doxygen 1.4.7