#include <llgroupnotify.h>
Inheritance diagram for LLGroupNotifyBox:
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, f, FALSE, FOLLOWS_RIGHT, FOLLOWS_TOP, g_formatted_time(), gColors, get_item_icon(), LLControlGroup::getColor(), LLRectBase< Type >::getHeight(), LLViewerImage::getID(), LLControlGroup::getString(), LLRectBase< Type >::getWidth(), LLColor4::grey4, gViewerArt, HPAD, ICON_WIDTH, is_openable(), LLUUID::isNull(), LLInventoryType::IT_TEXTURE, LINE_HEIGHT, llfloor(), mHasInventory, mInventoryOffer, LLView::mIsFocusRoot, mNextBtn, LLView::mRect, mSaveInventoryBtn, LLOfferInfo::mType, LLFontGL::NORMAL, onClickGroupInfo(), onClickNext(), onClickOk(), onClickSaveInventory(), LLFontGL::RIGHT, S32, LLTextBox::setBackgroundColor(), LLPanel::setBackgroundColor(), LLPanel::setBackgroundOpaque(), LLTextBox::setBackgroundVisible(), LLPanel::setBackgroundVisible(), LLTextEditor::setBorderVisible(), LLTextBox::setBorderVisible(), LLTextBox::setColor(), LLTextEditor::setCursor(), LLPanel::setDefaultBtn(), LLTextBox::setDisabledColor(), LLView::setEnabled(), LLTextEditor::setEnabled(), LLView::setFollows(), LLTextBox::setFontStyle(), LLTextBox::setHAlign(), LLTextEditor::setHideScrollbarForShortDocs(), LLView::setMouseOpaque(), LLRectBase< Type >::setOriginAndSize(), LLTextEditor::setReadOnlyBgColor(), LLTextEditor::setTabToNextField(), LLTextEditor::setTakesFocus(), LLTextEditor::setTakesNonScrollClicks(), LLView::setToolTip(), LLView::setVisible(), LLTextEditor::setWordWrap(), LLTextEditor::setWriteableBgColor(), sGroupNotifyBoxCount, LLFontGL::sSansSerif, LLFontGL::sSansSerifHuge, TOP, TRUE, VPAD, LLColor4::white, x, and y.
Referenced by show().
LLGroupNotifyBox::~LLGroupNotifyBox | ( | ) | [protected] |
void LLGroupNotifyBox::close | ( | ) |
Definition at line 398 of file llgroupnotify.cpp.
References LLMortician::die(), gNotifyBoxView, inventory_offer_callback(), IOR_DECLINE, mHasInventory, mInventoryOffer, and LLView::removeChild().
void LLGroupNotifyBox::draw | ( | ) | [protected, virtual] |
Reimplemented from LLPanel.
Definition at line 371 of file llgroupnotify.cpp.
References ANIMATION_TIME, LLPanel::draw(), f, FALSE, LLTimer::getElapsedTimeF32(), LLRectBase< Type >::getHeight(), glPopMatrix, glTranslatef, height, mAnimating, LLView::mRect, mTimer, and S32.
LLRect LLGroupNotifyBox::getGroupNotifyRect | ( | ) | [static, protected] |
Definition at line 431 of file llgroupnotify.cpp.
References LLRectBase< Type >::getHeight(), LLView::getRect(), LLControlGroup::getS32(), LLRectBase< Type >::getWidth(), gNotifyBoxView, gSavedSettings, LEFT, S32, and TOP.
Reimplemented from LLView.
Definition at line 358 of file llgroupnotify.cpp.
References LLView::getEnabled(), LLView::getVisible(), LLView::handleRightMouseDown(), moveToBack(), LLView::pointInView(), and TRUE.
void LLGroupNotifyBox::moveToBack | ( | ) | [protected] |
Definition at line 413 of file llgroupnotify.cpp.
References LLView::addChildAtEnd(), FALSE, LLView::getFirstChild(), gNotifyBoxView, mNextBtn, LLView::removeChild(), LLView::setVisible(), sGroupNotifyBoxCount, and TRUE.
Referenced by handleRightMouseDown().
Definition at line 451 of file llgroupnotify.cpp.
References LLFloaterGroupInfo::showFromUUID().
Referenced by LLGroupNotifyBox().
Definition at line 463 of file llgroupnotify.cpp.
References FALSE, inventory_offer_callback(), IOR_ACCEPT, and NULL.
Referenced by LLGroupNotifyBox().
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().
BOOL LLGroupNotifyBox::mAnimating [protected] |
LLUUID LLGroupNotifyBox::mGroupID [protected] |
Definition at line 114 of file llgroupnotify.h.
BOOL LLGroupNotifyBox::mHasInventory [protected] |
LLOfferInfo* LLGroupNotifyBox::mInventoryOffer [protected] |
LLButton* LLGroupNotifyBox::mNextBtn [protected] |
LLButton* LLGroupNotifyBox::mSaveInventoryBtn [protected] |
LLTimer LLGroupNotifyBox::mTimer [protected] |
S32 LLGroupNotifyBox::sGroupNotifyBoxCount = 0 [static, protected] |
Definition at line 112 of file llgroupnotify.h.
Referenced by LLGroupNotifyBox(), moveToBack(), and ~LLGroupNotifyBox().