LLFloaterClothing Class Reference

#include <llfloaterclothing.h>

Inheritance diagram for LLFloaterClothing:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterClothing:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLFloaterClothing ()
virtual ~LLFloaterClothing ()
virtual void onClose (bool app_quitting)

Static Public Member Functions

static void show (void *unused=NULL)
static void toggleVisibility ()
static void refreshAll ()

Private Member Functions

void buildClothingList ()

Static Private Member Functions

static void onClickWear (void *data)
static void onClickTakeOff (void *data)
static void onCommitList (LLUICtrl *ctrl, void *data)

Private Attributes

LLUUID mSelectedID
BOOL mAllowSelection

Static Private Attributes

static LLFloaterClothingsInstance = NULL
static LLFloaterClothingObserversObserver = NULL


Detailed Description

Definition at line 45 of file llfloaterclothing.h.


Constructor & Destructor Documentation

LLFloaterClothing::LLFloaterClothing (  ) 

LLFloaterClothing::~LLFloaterClothing (  )  [virtual]

Definition at line 102 of file llfloaterclothing.cpp.

References gInventory, NULL, LLInventoryModel::removeObserver(), sInstance, and sObserver.

Here is the call graph for this function:


Member Function Documentation

void LLFloaterClothing::onClose ( bool  app_quitting  )  [virtual]

Reimplemented from LLFloater.

Definition at line 113 of file llfloaterclothing.cpp.

References FALSE, gSavedSettings, LLFloater::onClose(), and LLControlGroup::setBOOL().

Here is the call graph for this function:

void LLFloaterClothing::show ( void *  unused = NULL  )  [static]

Definition at line 122 of file llfloaterclothing.cpp.

References gSavedSettings, LLFloaterClothing(), NULL, LLUUID::null, onCommitList(), LLCtrlSelectionInterface::selectFirstItem(), LLControlGroup::setBOOL(), LLFloater::setVisibleAndFrontmost(), sInstance, and TRUE.

Referenced by toggleVisibility().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterClothing::toggleVisibility (  )  [static]

Definition at line 151 of file llfloaterclothing.cpp.

References LLFloater::close(), LLView::getVisible(), show(), and sInstance.

Referenced by handle_clothing().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterClothing::refreshAll (  )  [static]

void LLFloaterClothing::buildClothingList (  )  [private]

void LLFloaterClothing::onClickWear ( void *  data  )  [static, private]

Definition at line 324 of file llfloaterclothing.cpp.

References LLInventoryModel::getItem(), gInventory, llendl, llwarns, and wear_inventory_item_on_avatar().

Referenced by LLFloaterClothing().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterClothing::onClickTakeOff ( void *  data  )  [static, private]

Definition at line 366 of file llfloaterclothing.cpp.

References gAgent, LLAgent::getAvatarObject(), LLInventoryItem::getFlags(), LLInventoryModel::getItem(), LLAgent::getWearable(), gInventory, llendl, llwarns, LLAgent::removeWearable(), and wearable_can_take_off().

Referenced by LLFloaterClothing().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterClothing::onCommitList ( LLUICtrl ctrl,
void *  data 
) [static, private]

Definition at line 395 of file llfloaterclothing.cpp.

References gAgent, LLAgent::getAvatarObject(), LLInventoryItem::getFlags(), LLInventoryModel::getItem(), gInventory, LLAgent::isWearingItem(), and wearable_can_take_off().

Referenced by LLFloaterClothing(), refreshAll(), and show().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 66 of file llfloaterclothing.h.

Referenced by refreshAll().

Definition at line 67 of file llfloaterclothing.h.

Referenced by buildClothingList(), and refreshAll().

LLFloaterClothing * LLFloaterClothing::sInstance = NULL [static, private]

Definition at line 70 of file llfloaterclothing.h.

Referenced by LLFloaterClothing(), and ~LLFloaterClothing().


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

Generated on Fri May 16 08:45:13 2008 for SecondLife by  doxygen 1.5.5