Public Types | |
typedef void(* | callback_t )(const LLString &, void *) |
Public Member Functions | |
virtual BOOL | postBuild () |
Static Public Member Functions | |
static LLFloaterMuteObjectUI * | show (callback_t callback, void *userdata) |
Protected Member Functions | |
LLFloaterMuteObjectUI () | |
virtual | ~LLFloaterMuteObjectUI () |
virtual BOOL | handleKeyHere (KEY key, MASK mask) |
Static Private Member Functions | |
static void | onBtnOk (void *data) |
static void | onBtnCancel (void *data) |
Private Attributes | |
void(* | mCallback )(const LLString &objectName, void *userdata) |
void * | mCallbackUserData |
Static Private Attributes | |
static LLFloaterMuteObjectUI * | sInstance = NULL |
Definition at line 73 of file llfloatermute.cpp.
typedef void(* LLFloaterMuteObjectUI::callback_t)(const LLString &, void *) |
LLFloaterMuteObjectUI::LLFloaterMuteObjectUI | ( | ) | [protected] |
Definition at line 101 of file llfloatermute.cpp.
References LLUICtrlFactory::buildFloater(), LLSingleton< LLUICtrlFactory >::getInstance(), and NULL.
LLFloaterMuteObjectUI::~LLFloaterMuteObjectUI | ( | ) | [protected, virtual] |
Definition at line 110 of file llfloatermute.cpp.
References gFocusMgr, NULL, LLFocusMgr::releaseFocusIfNeeded(), and sInstance.
LLFloaterMuteObjectUI * LLFloaterMuteObjectUI::show | ( | callback_t | callback, | |
void * | userdata | |||
) | [static] |
Definition at line 116 of file llfloatermute.cpp.
References LLFloater::center(), mCallback, mCallbackUserData, NULL, LLFloater::open(), and sInstance.
Referenced by LLFloaterMute::onClickMuteByName().
BOOL LLFloaterMuteObjectUI::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 137 of file llfloatermute.cpp.
References LLPanel::childSetAction(), onBtnCancel(), onBtnOk(), and TRUE.
Reimplemented from LLPanel.
Definition at line 165 of file llfloatermute.cpp.
References LLPanel::handleKeyHere(), KEY_ESCAPE, KEY_RETURN, MASK_NONE, onBtnCancel(), onBtnOk(), and TRUE.
void LLFloaterMuteObjectUI::onBtnOk | ( | void * | data | ) | [static, private] |
Definition at line 144 of file llfloatermute.cpp.
Referenced by handleKeyHere(), and postBuild().
void LLFloaterMuteObjectUI::onBtnCancel | ( | void * | data | ) | [static, private] |
Definition at line 157 of file llfloatermute.cpp.
Referenced by handleKeyHere(), and postBuild().
void(* LLFloaterMuteObjectUI::mCallback)(const LLString &objectName, void *userdata) [private] |
Referenced by show().
void* LLFloaterMuteObjectUI::mCallbackUserData [private] |
LLFloaterMuteObjectUI * LLFloaterMuteObjectUI::sInstance = NULL [static, private] |
Definition at line 96 of file llfloatermute.cpp.
Referenced by show(), and ~LLFloaterMuteObjectUI().