LLGroupNotifyBox Class Reference

#include <llgroupnotify.h>

Inheritance diagram for LLGroupNotifyBox:

Inheritance graph
[legend]
Collaboration diagram for LLGroupNotifyBox:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void close ()

Static Public Member Functions

static LLGroupNotifyBoxshow (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
LLButtonmNextBtn
LLButtonmSaveInventoryBtn
LLUUID mGroupID
BOOL mHasInventory
LLOfferInfomInventoryOffer

Static Protected Attributes

static S32 sGroupNotifyBoxCount = 0

Detailed Description

Definition at line 45 of file llgroupnotify.h.


Constructor & Destructor Documentation

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]

Definition at line 352 of file llgroupnotify.cpp.

References sGroupNotifyBoxCount.


Member Function Documentation

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.

BOOL LLGroupNotifyBox::handleRightMouseDown ( S32  x,
S32  y,
MASK  mask 
) [protected, virtual]

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().

void LLGroupNotifyBox::onClickGroupInfo ( void data  )  [static, protected]

Definition at line 451 of file llgroupnotify.cpp.

References LLFloaterGroupInfo::showFromUUID().

Referenced by LLGroupNotifyBox().

void LLGroupNotifyBox::onClickNext ( void data  )  [static, protected]

Definition at line 476 of file llgroupnotify.cpp.

Referenced by LLGroupNotifyBox().

void LLGroupNotifyBox::onClickOk ( void data  )  [static, protected]

Definition at line 445 of file llgroupnotify.cpp.

Referenced by LLGroupNotifyBox().

void LLGroupNotifyBox::onClickSaveInventory ( void data  )  [static, protected]

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().


Member Data Documentation

BOOL LLGroupNotifyBox::mAnimating [protected]

Definition at line 102 of file llgroupnotify.h.

Referenced by draw().

LLUUID LLGroupNotifyBox::mGroupID [protected]

Definition at line 114 of file llgroupnotify.h.

BOOL LLGroupNotifyBox::mHasInventory [protected]

Definition at line 115 of file llgroupnotify.h.

Referenced by close(), and LLGroupNotifyBox().

LLOfferInfo* LLGroupNotifyBox::mInventoryOffer [protected]

Definition at line 116 of file llgroupnotify.h.

Referenced by close(), and LLGroupNotifyBox().

LLButton* LLGroupNotifyBox::mNextBtn [protected]

Definition at line 109 of file llgroupnotify.h.

Referenced by LLGroupNotifyBox(), and moveToBack().

LLButton* LLGroupNotifyBox::mSaveInventoryBtn [protected]

Definition at line 110 of file llgroupnotify.h.

Referenced by LLGroupNotifyBox().

LLTimer LLGroupNotifyBox::mTimer [protected]

Definition at line 107 of file llgroupnotify.h.

Referenced by draw().

S32 LLGroupNotifyBox::sGroupNotifyBoxCount = 0 [static, protected]

Definition at line 112 of file llgroupnotify.h.

Referenced by LLGroupNotifyBox(), moveToBack(), and ~LLGroupNotifyBox().


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