LLVoiceHotkeySelectDialog Class Reference

Inheritance diagram for LLVoiceHotkeySelectDialog:

Inheritance graph
[legend]
Collaboration diagram for LLVoiceHotkeySelectDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLVoiceHotkeySelectDialog (LLPrefsVoiceLogic *parent)
void setFocus (BOOL b)
BOOL handleKey (KEY key, MASK mask, BOOL called_from_parent)

Static Public Member Functions

static void onCancel (void *userdata)

Private Attributes

LLPrefsVoiceLogicmParent
LLFloatermOldFrontmost

Detailed Description

Definition at line 52 of file llprefsvoice.cpp.


Constructor & Destructor Documentation

LLVoiceHotkeySelectDialog::LLVoiceHotkeySelectDialog ( LLPrefsVoiceLogic parent  )  [inline]

Definition at line 59 of file llprefsvoice.cpp.

References LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetFocus(), LLFloaterView::getFrontmost(), gFloaterView, gUICtrlFactory, mOldFrontmost, and onCancel().


Member Function Documentation

BOOL LLVoiceHotkeySelectDialog::handleKey ( KEY  key,
MASK  mask,
BOOL  called_from_parent 
) [virtual]

Reimplemented from LLPanel.

Definition at line 205 of file llprefsvoice.cpp.

References LLFloater::close(), FALSE, MASK_CONTROL, mOldFrontmost, mParent, LLFloater::setFrontmost(), LLPrefsVoiceLogic::setKey(), and TRUE.

void LLVoiceHotkeySelectDialog::onCancel ( void userdata  )  [static]

Definition at line 198 of file llprefsvoice.cpp.

References TRUE.

Referenced by LLVoiceHotkeySelectDialog().

void LLVoiceHotkeySelectDialog::setFocus ( BOOL  b  )  [inline, virtual]

Reimplemented from LLFloater.

Definition at line 71 of file llprefsvoice.cpp.

References LLFocusMgr::getKeyboardFocus(), gFocusMgr, LLFocusMgr::removeKeyboardFocusWithoutCallback(), and LLFloater::setFocus().


Member Data Documentation

LLFloater* LLVoiceHotkeySelectDialog::mOldFrontmost [private]

Definition at line 56 of file llprefsvoice.cpp.

Referenced by handleKey(), and LLVoiceHotkeySelectDialog().

LLPrefsVoiceLogic* LLVoiceHotkeySelectDialog::mParent [private]

Definition at line 55 of file llprefsvoice.cpp.

Referenced by handleKey().


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