#include <llgroupnotify.h>


Public Member Functions | |
| void | close () |
Static Public Member Functions | |
| static LLGroupNotifyBox * | show (const char *subject, const char *message, const char *from_name, const LLUUID &group_id, const U32 &time_stamp, const bool &has_inventory=FALSE, const char *inventory_name=NULL, LLOfferInfo *inventory_offer=NULL) |
Protected Member Functions | |
| LLGroupNotifyBox (const char *subject, const char *message, const char *from_name, const LLUUID &group_id, const LLUUID &group_insignia, const char *group_name, const U32 &t, const bool &has_inventory=FALSE, const char *inventory_name=NULL, LLOfferInfo *inventory_offer=NULL) | |
| ~LLGroupNotifyBox () | |
| BOOL | handleRightMouseDown (S32 x, S32 y, MASK mask) |
| void | draw () |
| void | moveToBack () |
Static Protected Member Functions | |
| static LLRect | getGroupNotifyRect () |
| static void | onClickOk (void *data) |
| static void | onClickGroupInfo (void *data) |
| static void | onClickSaveInventory (void *data) |
| static void | onClickNext (void *data) |
Protected Attributes | |
| BOOL | mAnimating |
| LLTimer | mTimer |
| LLButton * | mNextBtn |
| LLButton * | mSaveInventoryBtn |
| LLUUID | mGroupID |
| BOOL | mHasInventory |
| LLOfferInfo * | mInventoryOffer |
Static Protected Attributes | |
| static S32 | sGroupNotifyBoxCount = 0 |
Definition at line 45 of file llgroupnotify.h.
| LLGroupNotifyBox::LLGroupNotifyBox | ( | const char * | subject, | |
| const char * | message, | |||
| const char * | from_name, | |||
| const LLUUID & | group_id, | |||
| const LLUUID & | group_insignia, | |||
| const char * | group_name, | |||
| const U32 & | t, | |||
| const bool & | has_inventory = FALSE, |
|||
| const char * | inventory_name = NULL, |
|||
| LLOfferInfo * | inventory_offer = NULL | |||
| ) | [protected] |
Definition at line 115 of file llgroupnotify.cpp.
References LLView::addChild(), LLTextEditor::appendColoredText(), LLTextEditor::appendStyledText(), LLColor4::black, LLColor4::blue4, BTN_HEIGHT, DB_GROUP_NOTICE_MSG_STR_LEN, LLFontGL::DROP_SHADOW_SOFT, FALSE, FOLLOWS_RIGHT, FOLLOWS_TOP, g_formatted_time(), gColors, get_item_icon(), LLControlGroup::getColor(), LLRectBase< Type >::getHeight(), LLView::getRect(), LLRectBase< Type >::getWidth(), LLColor4::grey4, HPAD, ICON_WIDTH, is_openable(), LLUUID::isNull(), LLInventoryType::IT_TEXTURE, LINE_HEIGHT, llfloor(), mHasInventory, mInventoryOffer, mNextBtn, mSaveInventoryBtn, LLOfferInfo::mType, LLFontGL::NORMAL, NULL, LLStringBase< char >::null, onClickGroupInfo(), onClickNext(), onClickOk(), onClickSaveInventory(), LLFontGL::RIGHT, RIGHT, S32, LLTextBox::setBackgroundColor(), LLPanel::setBackgroundColor(), LLPanel::setBackgroundOpaque(), LLTextBox::setBackgroundVisible(), LLPanel::setBackgroundVisible(), LLTextBox::setBorderVisible(), LLTextEditor::setBorderVisible(), LLPanel::setBorderVisible(), LLUICtrl::setColor(), LLTextEditor::setCursor(), LLPanel::setDefaultBtn(), LLTextBox::setDisabledColor(), LLView::setEnabled(), LLTextEditor::setEnabled(), LLView::setFocusRoot(), LLView::setFollows(), LLTextBox::setFontStyle(), LLTextEditor::setHideScrollbarForShortDocs(), LLView::setMouseOpaque(), LLRectBase< Type >::setOriginAndSize(), LLTextEditor::setReadOnlyBgColor(), LLButton::setScaleImage(), LLTextEditor::setTabsToNextField(), LLUICtrl::setTabStop(), LLTextEditor::setTakesNonScrollClicks(), LLView::setToolTip(), LLView::setVisible(), LLTextEditor::setWordWrap(), LLTextEditor::setWriteableBgColor(), sGroupNotifyBoxCount, LLFontGL::sSansSerif, LLFontGL::sSansSerifHuge, TOP, TRUE, and VPAD.
Referenced by show().


| LLGroupNotifyBox::~LLGroupNotifyBox | ( | ) | [protected] |
| LLGroupNotifyBox * LLGroupNotifyBox::show | ( | const char * | subject, | |
| const char * | message, | |||
| const char * | from_name, | |||
| const LLUUID & | group_id, | |||
| const U32 & | time_stamp, | |||
| const bool & | has_inventory = FALSE, |
|||
| const char * | inventory_name = NULL, |
|||
| LLOfferInfo * | inventory_offer = NULL | |||
| ) | [static] |
Definition at line 74 of file llgroupnotify.cpp.
References LLView::addChild(), gAgent, LLAgent::getGroupData(), gNotifyBoxView, llendl, LLGroupNotifyBox(), llwarns, LLGroupData::mInsigniaID, LLGroupData::mName, and NULL.
Referenced by process_improved_im().


| void LLGroupNotifyBox::close | ( | ) |
Definition at line 391 of file llgroupnotify.cpp.
References LLMortician::die(), gNotifyBoxView, inventory_offer_callback(), IOR_DECLINE, mHasInventory, mInventoryOffer, and LLView::removeChild().

Reimplemented from LLView.
Definition at line 356 of file llgroupnotify.cpp.
References moveToBack(), and TRUE.

| void LLGroupNotifyBox::draw | ( | void | ) | [protected, virtual] |
Reimplemented from LLPanel.
Definition at line 364 of file llgroupnotify.cpp.
References ANIMATION_TIME, LLPanel::draw(), FALSE, LLTimer::getElapsedTimeF32(), LLRectBase< Type >::getHeight(), LLView::getRect(), mAnimating, mTimer, and S32.

| void LLGroupNotifyBox::moveToBack | ( | ) | [protected] |
Definition at line 406 of file llgroupnotify.cpp.
References LLView::addChildAtEnd(), FALSE, LLView::getFirstChild(), gNotifyBoxView, mNextBtn, LLView::removeChild(), LLView::setVisible(), sGroupNotifyBoxCount, and TRUE.
Referenced by handleRightMouseDown().


| LLRect LLGroupNotifyBox::getGroupNotifyRect | ( | ) | [static, protected] |
Definition at line 424 of file llgroupnotify.cpp.
References LLRectBase< Type >::getHeight(), LLView::getRect(), LLControlGroup::getS32(), LLRectBase< Type >::getWidth(), gNotifyBoxView, gSavedSettings, LEFT, RIGHT, S32, and TOP.

| void LLGroupNotifyBox::onClickOk | ( | void * | data | ) | [static, protected] |
Definition at line 438 of file llgroupnotify.cpp.
Referenced by LLGroupNotifyBox().

| void LLGroupNotifyBox::onClickGroupInfo | ( | void * | data | ) | [static, protected] |
Definition at line 444 of file llgroupnotify.cpp.
References LLFloaterGroupInfo::showFromUUID().
Referenced by LLGroupNotifyBox().


| void LLGroupNotifyBox::onClickSaveInventory | ( | void * | data | ) | [static, protected] |
Definition at line 456 of file llgroupnotify.cpp.
References FALSE, inventory_offer_callback(), IOR_ACCEPT, and NULL.
Referenced by LLGroupNotifyBox().


| void LLGroupNotifyBox::onClickNext | ( | void * | data | ) | [static, protected] |
Definition at line 469 of file llgroupnotify.cpp.
Referenced by LLGroupNotifyBox().

BOOL LLGroupNotifyBox::mAnimating [protected] |
LLTimer LLGroupNotifyBox::mTimer [protected] |
LLButton* LLGroupNotifyBox::mNextBtn [protected] |
LLButton* LLGroupNotifyBox::mSaveInventoryBtn [protected] |
S32 LLGroupNotifyBox::sGroupNotifyBoxCount = 0 [static, protected] |
Definition at line 112 of file llgroupnotify.h.
Referenced by LLGroupNotifyBox(), moveToBack(), and ~LLGroupNotifyBox().
LLUUID LLGroupNotifyBox::mGroupID [protected] |
Definition at line 114 of file llgroupnotify.h.
BOOL LLGroupNotifyBox::mHasInventory [protected] |
LLOfferInfo* LLGroupNotifyBox::mInventoryOffer [protected] |
1.5.5