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

Here is the call graph for this function:

Here is the caller graph for this function:

LLGroupNotifyBox::~LLGroupNotifyBox (  )  [protected]

Definition at line 350 of file llgroupnotify.cpp.

References sGroupNotifyBoxCount.


Member Function Documentation

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

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

Reimplemented from LLView.

Definition at line 356 of file llgroupnotify.cpp.

References moveToBack(), and TRUE.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

LLRect LLGroupNotifyBox::getGroupNotifyRect (  )  [static, protected]

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

Definition at line 438 of file llgroupnotify.cpp.

Referenced by LLGroupNotifyBox().

Here is the caller graph for this function:

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

Definition at line 444 of file llgroupnotify.cpp.

References LLFloaterGroupInfo::showFromUUID().

Referenced by LLGroupNotifyBox().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 469 of file llgroupnotify.cpp.

Referenced by LLGroupNotifyBox().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 102 of file llgroupnotify.h.

Referenced by draw().

Definition at line 107 of file llgroupnotify.h.

Referenced by draw().

Definition at line 109 of file llgroupnotify.h.

Referenced by LLGroupNotifyBox(), and moveToBack().

Definition at line 110 of file llgroupnotify.h.

Referenced by LLGroupNotifyBox().

Definition at line 112 of file llgroupnotify.h.

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

Definition at line 114 of file llgroupnotify.h.

Definition at line 115 of file llgroupnotify.h.

Referenced by close(), and LLGroupNotifyBox().

Definition at line 116 of file llgroupnotify.h.

Referenced by close(), and LLGroupNotifyBox().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:48:44 2008 for SecondLife by  doxygen 1.5.5