LLMultiFloater Class Reference

#include <llfloater.h>

Inheritance diagram for LLMultiFloater:

Inheritance graph
[legend]
Collaboration diagram for LLMultiFloater:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLMultiFloater ()
 LLMultiFloater (LLTabContainer::TabPosition tab_pos)
 LLMultiFloater (const LLString &name)
 LLMultiFloater (const LLString &name, const LLRect &rect, LLTabContainer::TabPosition tab_pos=LLTabContainer::TOP, BOOL auto_resize=TRUE)
 LLMultiFloater (const LLString &name, const LLString &rect_control, LLTabContainer::TabPosition tab_pos=LLTabContainer::TOP, BOOL auto_resize=TRUE)
virtual ~LLMultiFloater ()
virtual BOOL postBuild ()
void open ()
void onClose (bool app_quitting)
void draw ()
void setVisible (BOOL visible)
BOOL handleKeyHere (KEY key, MASK mask)
virtual void setCanResize (BOOL can_resize)
virtual void growToFit (S32 content_width, S32 content_height)
virtual void addFloater (LLFloater *floaterp, BOOL select_added_floater, LLTabContainer::eInsertionPoint insertion_point=LLTabContainer::END)
virtual void showFloater (LLFloater *floaterp)
virtual void removeFloater (LLFloater *floaterp)
virtual void tabOpen (LLFloater *opened_floater, bool from_click)
virtual void tabClose ()
virtual BOOL selectFloater (LLFloater *floaterp)
virtual void selectNextFloater ()
virtual void selectPrevFloater ()
virtual LLFloatergetActiveFloater ()
virtual BOOL isFloaterFlashing (LLFloater *floaterp)
virtual S32 getFloaterCount ()
virtual void setFloaterFlashing (LLFloater *floaterp, BOOL flashing)
virtual BOOL closeAllFloaters ()
void setTabContainer (LLTabContainer *tab_container)
virtual void updateResizeLimits ()

Static Public Member Functions

static void onTabSelected (void *userdata, bool)

Protected Types

typedef std::map< LLHandle
< LLFloater >, LLFloaterData
floater_data_map_t

Protected Attributes

LLTabContainermTabContainer
floater_data_map_t mFloaterDataMap
LLTabContainer::TabPosition mTabPos
BOOL mAutoResize
S32 mOrigMinWidth
S32 mOrigMinHeight

Classes

struct  LLFloaterData


Detailed Description

Definition at line 359 of file llfloater.h.


Member Typedef Documentation

Definition at line 412 of file llfloater.h.


Constructor & Destructor Documentation

LLMultiFloater::LLMultiFloater (  ) 

Definition at line 2360 of file llfloater.cpp.

LLMultiFloater::LLMultiFloater ( LLTabContainer::TabPosition  tab_pos  ) 

Definition at line 2370 of file llfloater.cpp.

LLMultiFloater::LLMultiFloater ( const LLString name  ) 

Definition at line 2380 of file llfloater.cpp.

LLMultiFloater::LLMultiFloater ( const LLString name,
const LLRect rect,
LLTabContainer::TabPosition  tab_pos = LLTabContainer::TOP,
BOOL  auto_resize = TRUE 
)

LLMultiFloater::LLMultiFloater ( const LLString name,
const LLString rect_control,
LLTabContainer::TabPosition  tab_pos = LLTabContainer::TOP,
BOOL  auto_resize = TRUE 
)

virtual LLMultiFloater::~LLMultiFloater (  )  [inline, virtual]

Definition at line 367 of file llfloater.h.


Member Function Documentation

BOOL LLMultiFloater::postBuild ( void   )  [virtual]

Reimplemented from LLPanel.

Reimplemented in LLFloaterScriptDebug, and LLFloaterIM.

Definition at line 2800 of file llfloater.cpp.

References LLPanel::checkRequirements(), FALSE, LLFloater::getResizeLimits(), mOrigMinHeight, mOrigMinWidth, mTabContainer, and TRUE.

Referenced by LLFloaterScriptDebug::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMultiFloater::open (  )  [virtual]

Reimplemented from LLFloater.

Reimplemented in LLMultiPreview.

Definition at line 2444 of file llfloater.cpp.

References LLFloater::close(), LLTabContainer::getTabCount(), mTabContainer, and LLFloater::open().

Referenced by doToSelected(), LLFloater::onClickTearOff(), LLMultiPreview::open(), LLFolderView::openSelectedItems(), LLFolderView::propertiesSelectedItems(), LLFloaterScriptDebug::show(), and VisibilityPolicy< LLFloater >::show().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented from LLFloater.

Reimplemented in LLFloaterChatterBox, and LLFloaterScriptDebug.

Definition at line 2458 of file llfloater.cpp.

References closeAllFloaters(), LLFloater::onClose(), and TRUE.

Here is the call graph for this function:

void LLMultiFloater::draw ( void   )  [virtual]

Reimplemented from LLFloater.

Reimplemented in LLFloaterChatterBox.

Definition at line 2466 of file llfloater.cpp.

References LLFloater::close(), LLFloater::draw(), LLTabContainer::getPanelByIndex(), LLTabContainer::getPanelTitle(), LLFloater::getShortTitle(), LLTabContainer::getTabCount(), i, mTabContainer, S32, and LLTabContainer::setPanelTitle().

Referenced by LLFloaterChatterBox::draw().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMultiFloater::setVisible ( BOOL  visible  )  [virtual]

Reimplemented from LLFloater.

Definition at line 2698 of file llfloater.cpp.

References LLTabContainer::getCurrentPanel(), mTabContainer, LLTabContainer::selectLastTab(), LLView::setVisible(), and LLFloater::setVisible().

Referenced by LLFloaterScriptDebug::addOutputWindow(), LLFloaterScriptDebug::onClose(), and LLFloaterChatterBox::onClose().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLMultiFloater::handleKeyHere ( KEY  key,
MASK  mask 
) [virtual]

Reimplemented from LLPanel.

Reimplemented in LLFloaterChatterBox.

Definition at line 2721 of file llfloater.cpp.

References LLFloater::canClose(), LLFloater::close(), getActiveFloater(), LLPanel::handleKeyHere(), LLFloater::isCloseable(), MASK_CONTROL, and TRUE.

Referenced by LLFloaterChatterBox::handleKeyHere().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMultiFloater::setCanResize ( BOOL  can_resize  )  [virtual]

Reimplemented from LLFloater.

Definition at line 2787 of file llfloater.cpp.

References LLTabContainer::BOTTOM, LLTabContainer::getTabPosition(), LLFloater::isResizable(), mTabContainer, RESIZE_HANDLE_WIDTH, LLFloater::setCanResize(), and LLTabContainer::setRightTabBtnOffset().

Referenced by LLMultiPreview::LLMultiPreview().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMultiFloater::growToFit ( S32  content_width,
S32  content_height 
) [virtual]

void LLMultiFloater::addFloater ( LLFloater floaterp,
BOOL  select_added_floater,
LLTabContainer::eInsertionPoint  insertion_point = LLTabContainer::END 
) [virtual]

void addFloater(LLFloater* floaterp, BOOL select_added_floater)

Adds the LLFloater pointed to by floaterp to this. If floaterp is already hosted by this, then it is re-added to get new titles, etc. If select_added_floater is true, the LLFloater pointed to by floaterp will become the selected tab in this

Affects: mTabContainer, floaterp

Reimplemented in LLFloaterChatterBox.

Definition at line 2542 of file llfloater.cpp.

References LLTabContainer::addTabPanel(), FALSE, LLTabContainer::getCurrentPanelIndex(), LLFloater::getHandle(), LLRectBase< Type >::getHeight(), LLFloater::getHost(), LLView::getParent(), LLView::getRect(), LLFloater::getShortTitle(), LLRectBase< Type >::getWidth(), growToFit(), LLFloater::isMinimizeable(), LLFloater::isMinimized(), LLFloater::isResizable(), llendl, llerrs, mAutoResize, LLMultiFloater::LLFloaterData::mCanMinimize, LLMultiFloater::LLFloaterData::mCanResize, mFloaterDataMap, LLMultiFloater::LLFloaterData::mHeight, mTabContainer, LLMultiFloater::LLFloaterData::mWidth, onTabSelected(), LLView::removeChild(), removeFloater(), LLTabContainer::removeTabPanel(), LLTabContainer::selectTab(), LLTabContainer::selectTabPanel(), LLPanel::setBackgroundVisible(), LLFloater::setCanDrag(), LLFloater::setCanMinimize(), LLFloater::setCanResize(), LLFloater::setHost(), LLFloater::setVisible(), LLPanel::storeRectControl(), and updateResizeLimits().

Referenced by LLFloaterChatterBox::addFloater(), LLFloater::open(), LLPreviewGesture::show(), LLPreview::show(), LLFloaterProperties::show(), and showFloater().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMultiFloater::showFloater ( LLFloater floaterp  )  [virtual]

Definition at line 2642 of file llfloater.cpp.

References addFloater(), LLTabContainer::getCurrentPanel(), mTabContainer, LLTabContainer::selectTabPanel(), and TRUE.

Referenced by LLIMMgr::addSession(), LLFloater::bringToFront(), LLFloater::onClickTearOff(), LLFloater::open(), LLFloater::setFrontmost(), and LLFloaterScriptDebug::show().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMultiFloater::removeFloater ( LLFloater floaterp  )  [virtual]

void LLMultiFloater::tabOpen ( LLFloater opened_floater,
bool  from_click 
) [virtual]

Reimplemented in LLMultiPreview.

Definition at line 2684 of file llfloater.cpp.

Referenced by onTabSelected(), and removeFloater().

Here is the caller graph for this function:

void LLMultiFloater::tabClose (  )  [virtual]

Definition at line 2689 of file llfloater.cpp.

References LLFloater::close(), LLTabContainer::getTabCount(), and mTabContainer.

Here is the call graph for this function:

BOOL LLMultiFloater::selectFloater ( LLFloater floaterp  )  [virtual]

BOOL selectFloater(LLFloater* floaterp)

If the LLFloater pointed to by floaterp is hosted by this, then its tab is selected and returns true. Otherwise returns false.

Affects: mTabContainer

Definition at line 2625 of file llfloater.cpp.

References mTabContainer, and LLTabContainer::selectTabPanel().

Referenced by LLIMMgr::addMessage().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMultiFloater::selectNextFloater (  )  [virtual]

Definition at line 2631 of file llfloater.cpp.

References mTabContainer, and LLTabContainer::selectNextTab().

Here is the call graph for this function:

void LLMultiFloater::selectPrevFloater (  )  [virtual]

Definition at line 2637 of file llfloater.cpp.

References mTabContainer, and LLTabContainer::selectPrevTab().

Here is the call graph for this function:

LLFloater * LLMultiFloater::getActiveFloater (  )  [virtual]

Definition at line 2737 of file llfloater.cpp.

References LLTabContainer::getCurrentPanel(), and mTabContainer.

Referenced by LLIMMgr::addMessage(), LLFloaterChatterBox::handleKeyHere(), handleKeyHere(), and LLToolBar::updateCommunicateList().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLMultiFloater::isFloaterFlashing ( LLFloater floaterp  )  [virtual]

BOOL isFloaterFlashing(LLFloater* floaterp)

Returns true if the LLFloater pointed to by floaterp is currently in a flashing state and is hosted by this. False otherwise.

Requires: floaterp != NULL

Definition at line 2756 of file llfloater.cpp.

References FALSE, LLFloater::getHost(), LLTabContainer::getTabPanelFlashing(), and mTabContainer.

Here is the call graph for this function:

S32 LLMultiFloater::getFloaterCount (  )  [virtual]

Definition at line 2742 of file llfloater.cpp.

References LLTabContainer::getTabCount(), and mTabContainer.

Referenced by LLFloaterNewIM::canClose(), LLFloaterChatterBox::getCurrentVoiceFloater(), and LLToolBar::onClickCommunicate().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMultiFloater::setFloaterFlashing ( LLFloater floaterp,
BOOL  flashing 
) [virtual]

BOOL setFloaterFlashing(LLFloater* floaterp, BOOL flashing)

Sets the current flashing state of the LLFloater pointed to by floaterp to be the BOOL flashing if the LLFloater pointed to by floaterp is hosted by this.

Requires: floaterp != NULL

Definition at line 2773 of file llfloater.cpp.

References LLFloater::getHost(), mTabContainer, and LLTabContainer::setTabPanelFlashing().

Referenced by LLFloaterChat::addChatHistory(), LLFloaterIMPanel::addHistoryLine(), LLIMMgr::addMessage(), LLFloaterChat::onVisibilityChange(), and LLFloaterIMPanel::setVisible().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLMultiFloater::closeAllFloaters (  )  [virtual]

Definition at line 2487 of file llfloater.cpp.

References LLFloater::close(), FALSE, LLTabContainer::getPanelByIndex(), LLTabContainer::getTabCount(), mTabContainer, S32, and TRUE.

Referenced by onClose().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMultiFloater::setTabContainer ( LLTabContainer tab_container  )  [inline]

Definition at line 396 of file llfloater.h.

References mTabContainer.

Referenced by LLTabContainer::fromXML().

Here is the caller graph for this function:

void LLMultiFloater::onTabSelected ( void *  userdata,
bool  from_click 
) [static]

Definition at line 2780 of file llfloater.cpp.

References LLTabContainer::getCurrentPanel(), mTabContainer, and tabOpen().

Referenced by addFloater().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMultiFloater::updateResizeLimits (  )  [virtual]


Member Data Documentation

Definition at line 413 of file llfloater.h.

Referenced by addFloater(), and removeFloater().

Definition at line 415 of file llfloater.h.

Referenced by LLMultiFloater().

Definition at line 417 of file llfloater.h.

Referenced by postBuild(), and updateResizeLimits().

Definition at line 417 of file llfloater.h.

Referenced by postBuild(), and updateResizeLimits().


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

Generated on Fri May 16 08:54:10 2008 for SecondLife by  doxygen 1.5.5