LLTabContainerCommon Class Reference

#include <lltabcontainer.h>

Inheritance diagram for LLTabContainerCommon:

Inheritance graph
[legend]
Collaboration diagram for LLTabContainerCommon:

Collaboration graph
[legend]
List of all members.

Public Types

typedef enum LLTabContainerCommon::e_insertion_point eInsertionPoint
 TOP
 BOTTOM
 LEFT
 START
 END
 RIGHT_OF_CURRENT
enum  TabPosition { TOP, BOTTOM, LEFT }
enum  e_insertion_point { START, END, RIGHT_OF_CURRENT }

Public Member Functions

 LLTabContainerCommon (const LLString &name, const LLRect &rect, TabPosition pos, void(*close_callback)(void *), void *callback_userdata, BOOL bordered=TRUE)
 LLTabContainerCommon (const LLString &name, const LLString &rect_control, TabPosition pos, void(*close_callback)(void *), void *callback_userdata, BOOL bordered=TRUE)
virtual ~LLTabContainerCommon ()
virtual void initButtons ()=0
virtual void setValue (const LLSD &value)
virtual EWidgetType getWidgetType () const
virtual LLString getWidgetTag () const
virtual LLViewgetChildByName (const LLString &name, BOOL recurse=FALSE) const
virtual void addTabPanel (LLPanel *child, const LLString &label, BOOL select=FALSE, void(*on_tab_clicked)(void *, bool)=NULL, void *userdata=NULL, S32 indent=0, BOOL placeholder=FALSE, eInsertionPoint insertion_point=END)=0
virtual void addPlaceholder (LLPanel *child, const LLString &label)
virtual void lockTabs (S32 num_tabs=0)
virtual void enableTabButton (S32 which, BOOL enable)
virtual void removeTabPanel (LLPanel *child)
virtual void deleteAllTabs ()
virtual LLPanelgetCurrentPanel ()
virtual S32 getCurrentPanelIndex ()
virtual S32 getTabCount ()
virtual S32 getPanelIndexByTitle (const LLString &title)
virtual LLPanelgetPanelByIndex (S32 index)
virtual LLPanelgetPanelByName (const LLString &name)
virtual S32 getIndexForPanel (LLPanel *panel)
virtual void setCurrentTabName (const LLString &name)
virtual void selectFirstTab ()
virtual void selectLastTab ()
virtual BOOL selectTabPanel (LLPanel *child)
virtual BOOL selectTab (S32 which)=0
virtual BOOL selectTabByName (const LLString &title)
virtual void selectNextTab ()
virtual void selectPrevTab ()
BOOL getTabPanelFlashing (LLPanel *child)
void setTabPanelFlashing (LLPanel *child, BOOL state)
virtual void setTabImage (LLPanel *child, std::string img_name, const LLColor4 &color=LLColor4::white)
void setTitle (const LLString &title)
const LLString getPanelTitle (S32 index)
void setDragAndDropDelayTimer ()
virtual void setTopBorderHeight (S32 height)
virtual void setTabChangeCallback (LLPanel *tab, void(*on_tab_clicked)(void *, bool))
virtual void setTabUserData (LLPanel *tab, void *userdata)
virtual void reshape (S32 width, S32 height, BOOL called_from_parent)
virtual void setRightTabBtnOffset (S32 offset)
virtual void setPanelTitle (S32 index, const LLString &title)
virtual TabPosition getTabPosition ()

Static Public Member Functions

static LLViewfromXML (LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)
static void onCloseBtn (void *userdata)
static void onTabBtn (void *userdata)
static void onNextBtn (void *userdata)
static void onNextBtnHeld (void *userdata)
static void onPrevBtn (void *userdata)
static void onPrevBtnHeld (void *userdata)
static void onJumpFirstBtn (void *userdata)
static void onJumpLastBtn (void *userdata)

Protected Types

typedef std::vector< LLTabTuple * > tuple_list_t

Protected Member Functions

void scrollPrev ()
void scrollNext ()
virtual void updateMaxScrollPos ()=0
virtual void commitHoveredButton (S32 x, S32 y)=0
LLTabTuplegetTabByPanel (LLPanel *child)
void insertTuple (LLTabTuple *tuple, eInsertionPoint insertion_point)

Protected Attributes

tuple_list_t mTabList
S32 mCurrentTabIdx
BOOL mTabsHidden
BOOL mScrolled
LLFrameTimer mScrollTimer
S32 mScrollPos
S32 mScrollPosPixels
S32 mMaxScrollPos
LLFrameTimer mDragAndDropDelayTimer
void(* mCloseCallback )(void *)
voidmCallbackUserdata
LLTextBoxmTitleBox
S32 mTopBorderHeight
TabPosition mTabPosition
S32 mLockedTabCount

Classes

struct  LLTabTuple

Detailed Description

Definition at line 44 of file lltabcontainer.h.


Member Typedef Documentation

typedef enum LLTabContainerCommon::e_insertion_point LLTabContainerCommon::eInsertionPoint

typedef std::vector<LLTabTuple*> LLTabContainerCommon::tuple_list_t [protected]

Definition at line 175 of file lltabcontainer.h.


Member Enumeration Documentation

enum LLTabContainerCommon::e_insertion_point

Enumerator:
START 
END 
RIGHT_OF_CURRENT 

Definition at line 53 of file lltabcontainer.h.

enum LLTabContainerCommon::TabPosition

Enumerator:
TOP 
BOTTOM 
LEFT 

Definition at line 47 of file lltabcontainer.h.


Constructor & Destructor Documentation

LLTabContainerCommon::LLTabContainerCommon ( const LLString name,
const LLRect rect,
TabPosition  pos,
void(*)(void *)  close_callback,
void callback_userdata,
BOOL  bordered = TRUE 
)

Definition at line 68 of file lltabcontainer.cpp.

References FALSE, mDragAndDropDelayTimer, LLView::setMouseOpaque(), and LLFrameTimer::stop().

LLTabContainerCommon::LLTabContainerCommon ( const LLString name,
const LLString rect_control,
TabPosition  pos,
void(*)(void *)  close_callback,
void callback_userdata,
BOOL  bordered = TRUE 
)

Definition at line 93 of file lltabcontainer.cpp.

References FALSE, mDragAndDropDelayTimer, LLView::setMouseOpaque(), and LLFrameTimer::stop().

LLTabContainerCommon::~LLTabContainerCommon (  )  [virtual]

Definition at line 119 of file lltabcontainer.cpp.

References mTabList.


Member Function Documentation

void LLTabContainerCommon::addPlaceholder ( LLPanel child,
const LLString label 
) [virtual]

Definition at line 150 of file lltabcontainer.cpp.

References addTabPanel(), FALSE, NULL, and TRUE.

virtual void LLTabContainerCommon::addTabPanel ( LLPanel child,
const LLString label,
BOOL  select = FALSE,
void(*)(void *, bool)  on_tab_clicked = NULL,
void userdata = NULL,
S32  indent = 0,
BOOL  placeholder = FALSE,
eInsertionPoint  insertion_point = END 
) [pure virtual]

Referenced by addPlaceholder(), LLPanelAvatarClassified::callbackNew(), fromXML(), LLPreferenceCore::LLPreferenceCore(), LLPanelAvatarPicks::onClickNew(), LLPanelAvatarClassified::processAvatarClassifiedReply(), and LLPanelAvatarPicks::processAvatarPicksReply().

virtual void LLTabContainerCommon::commitHoveredButton ( S32  x,
S32  y 
) [protected, pure virtual]

Implemented in LLTabContainer, and LLTabContainerVertical.

void LLTabContainerCommon::deleteAllTabs (  )  [virtual]

Definition at line 205 of file lltabcontainer.cpp.

References mCurrentTabIdx, mTabList, and LLView::removeChild().

Referenced by LLPanelAvatarClassified::deleteClassifiedPanels(), and LLPanelAvatarPicks::deletePickPanels().

void LLTabContainerCommon::enableTabButton ( S32  which,
BOOL  enable 
) [virtual]

Definition at line 341 of file lltabcontainer.cpp.

References mTabList, and S32.

Referenced by LLFloaterTools::refresh(), and LLPanelGroup::updateTabVisibility().

LLView * LLTabContainerCommon::fromXML ( LLXMLNodePtr  node,
LLView parent,
LLUICtrlFactory factory 
) [static]

Reimplemented from LLPanel.

Definition at line 592 of file lltabcontainer.cpp.

References addTabPanel(), border, BOTTOM, LLUICtrlFactory::createCtrlWidget(), FALSE, LLFloater::getFloaterHost(), initButtons(), mTabsHidden, LLPointer< Type >::notNull(), LLStringBase< char >::null, LLRectBase< Type >::null, NULL, LLPanel::postBuild(), S32, selectFirstTab(), LLPanel::setPanelParameters(), LLMultiFloater::setTabContainer(), TABCNTRV_TAB_WIDTH, LLStringBase< char >::toLower(), and TOP.

LLView * LLTabContainerCommon::getChildByName ( const LLString name,
BOOL  recurse = FALSE 
) const [virtual]

Reimplemented from LLPanel.

Definition at line 124 of file lltabcontainer.cpp.

References LLView::getChildByName(), and mTabList.

LLPanel * LLTabContainerCommon::getCurrentPanel (  )  [virtual]

Definition at line 228 of file lltabcontainer.cpp.

References mCurrentTabIdx, mTabList, NULL, and S32.

Referenced by LLPanelGroupRoles::activate(), LLFloaterWorldMap::adjustZoomSliderBounds(), LLPanelGroupRoles::apply(), LLPanelGroup::apply(), LLPanelAvatarPicks::callbackDelete(), LLPanelAvatarClassified::callbackDelete(), LLPanelGroupRoles::cancel(), LLPanelGroup::changed(), LLPanel::childGetVisibleTab(), LLPanelGroupRoles::deactivate(), LLFloaterDirectory::focusCurrentPanel(), LLMultiFloater::getActiveFloater(), LLPanelGroupRoles::getHelpText(), LLPanelGroupRoles::handleClickSubTab(), LLPanelGroup::handleClickTab(), LLTabContainerVertical::handleKeyHere(), LLTabContainer::handleKeyHere(), LLTabContainerVertical::handleMouseUp(), LLTabContainer::handleMouseUp(), LLPanelGroupRoles::hasModal(), LLPanelGroupRoles::needsApply(), LLPanelAvatarPicks::onClickDelete(), LLPanelAvatarClassified::onClickDelete(), LLPanelAvatar::onClickOK(), LLFloaterWorldMap::onPanBtn(), LLMultiFloater::onTabSelected(), LLMultiPreview::open(), LLPanelGroupRoles::postBuild(), LLPanelGroup::postBuild(), LLMultiFloater::removeFloater(), LLMultiFloater::setVisible(), LLFloaterWorldMap::show(), LLMultiFloater::showFloater(), LLPanelAvatarClassified::titleIsValid(), LLPanelGroupRoles::update(), LLPanelGroupLandMoney::update(), LLPanelGroup::updateTabVisibility(), and LLMultiPreview::userSetShape().

S32 LLTabContainerCommon::getCurrentPanelIndex (  )  [virtual]

Definition at line 266 of file lltabcontainer.cpp.

References mCurrentTabIdx.

Referenced by LLFloaterVoiceWizard::draw(), LLTabContainerVertical::handleMouseDown(), LLTabContainer::handleMouseDown(), LLTabContainerVertical::handleMouseUp(), LLTabContainer::handleMouseUp(), LLFloaterMyFriends::instanceVisible(), LLFloaterLand::onClose(), LLFloaterTools::refresh(), and LLFloaterWorldMap::show().

S32 LLTabContainerCommon::getIndexForPanel ( LLPanel panel  )  [virtual]

Definition at line 285 of file lltabcontainer.cpp.

References mTabList, and S32.

LLPanel * LLTabContainerCommon::getPanelByIndex ( S32  index  )  [virtual]

Definition at line 276 of file lltabcontainer.cpp.

References mTabList, NULL, and S32.

Referenced by LLPanelAvatarClassified::apply(), LLPanelAvatarClassified::canClose(), LLMultiFloater::closeAllFloaters(), LLMultiFloater::draw(), LLFloaterChatterBox::getCurrentVoiceFloater(), LLPanelGroupRoles::postBuild(), LLPanelGroup::postBuild(), removeTabPanel(), LLMultiFloater::updateResizeLimits(), LLPanelGroup::updateTabVisibility(), LLPanelGroup::~LLPanelGroup(), and LLPanelGroupRoles::~LLPanelGroupRoles().

LLPanel * LLTabContainerCommon::getPanelByName ( const LLString name  )  [virtual]

Definition at line 309 of file lltabcontainer.cpp.

References mTabList, NULL, and S32.

Referenced by LLPanel::childSetTabChangeCallback(), LLPanelAvatar::postBuild(), and selectTabByName().

S32 LLTabContainerCommon::getPanelIndexByTitle ( const LLString title  )  [virtual]

Definition at line 297 of file lltabcontainer.cpp.

References mTabList, and S32.

Referenced by LLFloaterTools::refresh().

const LLString LLTabContainerCommon::getPanelTitle ( S32  index  ) 

Definition at line 567 of file lltabcontainer.cpp.

References mTabList, LLStringBase< char >::null, and S32.

Referenced by LLMultiFloater::draw().

LLTabContainerCommon::LLTabTuple * LLTabContainerCommon::getTabByPanel ( LLPanel child  )  [protected]

Definition at line 235 of file lltabcontainer.cpp.

References mTabList, and NULL.

Referenced by getTabPanelFlashing(), setTabChangeCallback(), LLTabContainer::setTabImage(), setTabImage(), setTabPanelFlashing(), and setTabUserData().

S32 LLTabContainerCommon::getTabCount (  )  [virtual]

Definition at line 271 of file lltabcontainer.cpp.

References mTabList.

Referenced by LLPanelAvatarClassified::apply(), LLPanelAvatarClassified::canClose(), LLMultiFloater::closeAllFloaters(), LLFloaterVoiceWizard::draw(), LLMultiFloater::draw(), LLMultiFloater::getFloaterCount(), lockTabs(), LLMultiFloater::open(), LLPanelGroupRoles::postBuild(), LLPanelGroup::postBuild(), LLPanelAvatarPicks::refresh(), LLPanelAvatarClassified::refresh(), removeTabPanel(), LLMultiFloater::tabClose(), LLMultiFloater::updateResizeLimits(), LLPanelGroup::updateTabVisibility(), LLPanelGroup::~LLPanelGroup(), and LLPanelGroupRoles::~LLPanelGroupRoles().

BOOL LLTabContainerCommon::getTabPanelFlashing ( LLPanel child  ) 

Definition at line 531 of file lltabcontainer.cpp.

References FALSE, LLButton::getFlashing(), getTabByPanel(), and LLTabContainerCommon::LLTabTuple::mButton.

Referenced by LLMultiFloater::isFloaterFlashing().

virtual TabPosition LLTabContainerCommon::getTabPosition (  )  [inline, virtual]

Definition at line 145 of file lltabcontainer.h.

References mTabPosition.

Referenced by LLTabContainerVertical::handleKeyHere(), LLTabContainer::handleKeyHere(), and LLMultiFloater::setCanResize().

virtual LLString LLTabContainerCommon::getWidgetTag (  )  const [inline, virtual]

Reimplemented from LLPanel.

Definition at line 78 of file lltabcontainer.h.

References LL_TAB_CONTAINER_COMMON_TAG.

virtual EWidgetType LLTabContainerCommon::getWidgetType (  )  const [inline, virtual]

Reimplemented from LLPanel.

Definition at line 77 of file lltabcontainer.h.

References WIDGET_TYPE_TAB_CONTAINER.

virtual void LLTabContainerCommon::initButtons (  )  [pure virtual]

Implemented in LLTabContainer, and LLTabContainerVertical.

Referenced by fromXML().

void LLTabContainerCommon::insertTuple ( LLTabTuple tuple,
eInsertionPoint  insertion_point 
) [protected]

Definition at line 716 of file lltabcontainer.cpp.

References END, llmax(), mCurrentTabIdx, mLockedTabCount, mTabList, RIGHT_OF_CURRENT, and START.

Referenced by LLTabContainerVertical::addTabPanel(), and LLTabContainer::addTabPanel().

void LLTabContainerCommon::lockTabs ( S32  num_tabs = 0  )  [virtual]

Definition at line 155 of file lltabcontainer.cpp.

References getTabCount(), and mLockedTabCount.

Referenced by LLFloaterChatterBox::addFloater(), LLFloaterChatterBox::LLFloaterChatterBox(), and LLFloaterChatterBox::removeFloater().

void LLTabContainerCommon::onCloseBtn ( void userdata  )  [static]

Definition at line 457 of file lltabcontainer.cpp.

void LLTabContainerCommon::onJumpFirstBtn ( void userdata  )  [static]

Definition at line 502 of file lltabcontainer.cpp.

Referenced by LLTabContainer::initButtons().

void LLTabContainerCommon::onJumpLastBtn ( void userdata  )  [static]

Definition at line 511 of file lltabcontainer.cpp.

Referenced by LLTabContainer::initButtons().

void LLTabContainerCommon::onNextBtn ( void userdata  )  [static]

Definition at line 467 of file lltabcontainer.cpp.

References FALSE.

Referenced by LLTabContainerVertical::initButtons(), and LLTabContainer::initButtons().

void LLTabContainerCommon::onNextBtnHeld ( void userdata  )  [static]

Definition at line 479 of file lltabcontainer.cpp.

References SCROLL_STEP_TIME, and TRUE.

Referenced by LLTabContainerVertical::initButtons(), and LLTabContainer::initButtons().

void LLTabContainerCommon::onPrevBtn ( void userdata  )  [static]

Definition at line 491 of file lltabcontainer.cpp.

References FALSE.

Referenced by LLTabContainerVertical::initButtons(), and LLTabContainer::initButtons().

void LLTabContainerCommon::onPrevBtnHeld ( void userdata  )  [static]

Definition at line 520 of file lltabcontainer.cpp.

References SCROLL_STEP_TIME, and TRUE.

Referenced by LLTabContainerVertical::initButtons(), and LLTabContainer::initButtons().

void LLTabContainerCommon::onTabBtn ( void userdata  )  [static]

Definition at line 442 of file lltabcontainer.cpp.

References LLTabContainerCommon::LLTabTuple::mOnChangeCallback, LLTabContainerCommon::LLTabTuple::mTabContainer, LLTabContainerCommon::LLTabTuple::mTabPanel, LLTabContainerCommon::LLTabTuple::mUserData, selectTabPanel(), LLPanel::setFocus(), and TRUE.

Referenced by LLTabContainerVertical::addTabPanel(), and LLTabContainer::addTabPanel().

void LLTabContainerCommon::removeTabPanel ( LLPanel child  )  [virtual]

Reimplemented in LLTabContainer, and LLTabContainerVertical.

Definition at line 162 of file lltabcontainer.cpp.

References LLFocusMgr::childHasKeyboardFocus(), getPanelByIndex(), getTabCount(), gFocusMgr, llmin(), mCurrentTabIdx, mLockedTabCount, mTabList, LLView::removeChild(), S32, selectTab(), LLPanel::setFocus(), TRUE, and updateMaxScrollPos().

Referenced by LLPanelAvatarPicks::callbackDelete(), LLPanelAvatarClassified::callbackDelete(), LLPanelAvatar::postBuild(), LLMultiFloater::removeFloater(), LLTabContainerVertical::removeTabPanel(), and LLTabContainer::removeTabPanel().

void LLTabContainerCommon::reshape ( S32  width,
S32  height,
BOOL  called_from_parent 
) [virtual]

Reimplemented from LLView.

Definition at line 435 of file lltabcontainer.cpp.

References LLView::reshape(), and updateMaxScrollPos().

void LLTabContainerCommon::scrollNext (  )  [protected]

Definition at line 323 of file lltabcontainer.cpp.

References mMaxScrollPos, and mScrollPos.

void LLTabContainerCommon::scrollPrev (  )  [protected]

Definition at line 332 of file lltabcontainer.cpp.

References mScrollPos.

void LLTabContainerCommon::selectFirstTab (  )  [virtual]

Definition at line 379 of file lltabcontainer.cpp.

References selectTab().

Referenced by LLPanelGroupLandMoney::activate(), LLFloaterChatterBox::addFloater(), fromXML(), LLPanelGroupRoles::postBuild(), LLPanelGroup::postBuild(), LLFloaterTools::postBuild(), LLPanelAvatarClassified::processAvatarClassifiedReply(), LLPanelAvatarPicks::processAvatarPicksReply(), LLFloaterTools::refresh(), and LLPanelAvatar::selectTabByName().

void LLTabContainerCommon::selectLastTab (  )  [virtual]

Definition at line 385 of file lltabcontainer.cpp.

References mTabList, and selectTab().

Referenced by LLTabContainer::addTabPanel(), LLPanelAvatarClassified::callbackNew(), LLPanelAvatarPicks::onClickNew(), and LLMultiFloater::setVisible().

void LLTabContainerCommon::selectNextTab (  )  [virtual]

Definition at line 391 of file lltabcontainer.cpp.

References FALSE, mCurrentTabIdx, mTabList, S32, selectTab(), and TRUE.

Referenced by LLTabContainerVertical::handleKeyHere(), LLTabContainer::handleKeyHere(), LLFloaterVoiceWizard::onClickNext(), and LLMultiFloater::selectNextFloater().

void LLTabContainerCommon::selectPrevTab (  )  [virtual]

Definition at line 412 of file lltabcontainer.cpp.

References FALSE, mCurrentTabIdx, mTabList, S32, selectTab(), and TRUE.

Referenced by LLTabContainerVertical::handleKeyHere(), LLTabContainer::handleKeyHere(), LLFloaterVoiceWizard::onClickBack(), LLMultiFloater::selectPrevFloater(), and LLPanelGroup::updateTabVisibility().

virtual BOOL LLTabContainerCommon::selectTab ( S32  which  )  [pure virtual]

Implemented in LLTabContainer, and LLTabContainerVertical.

Referenced by LLPreferenceCore::LLPreferenceCore(), removeTabPanel(), selectFirstTab(), selectLastTab(), selectNextTab(), selectPrevTab(), LLPanelAvatar::selectTab(), selectTabPanel(), setValue(), and LLFloaterMyFriends::showInstance().

BOOL LLTabContainerCommon::selectTabByName ( const LLString title  )  [virtual]

Definition at line 364 of file lltabcontainer.cpp.

References FALSE, getPanelByName(), llendl, llwarns, and selectTabPanel().

Referenced by LLPanel::childShowTab(), LLPanelAvatar::selectTabByName(), and LLFloaterTools::showPanel().

BOOL LLTabContainerCommon::selectTabPanel ( LLPanel child  )  [virtual]

Definition at line 349 of file lltabcontainer.cpp.

References FALSE, mTabList, S32, and selectTab().

Referenced by LLPanelGroupRoles::attemptTransition(), LLPanelGroup::attemptTransition(), LLPanelGroupRoles::handleNotifyCallback(), LLPanelGroup::handleNotifyCallback(), onTabBtn(), LLPanelGroup::postBuild(), LLMultiFloater::selectFloater(), LLPanelGroup::selectTab(), selectTabByName(), and LLMultiFloater::showFloater().

void LLTabContainerCommon::setCurrentTabName ( const LLString name  )  [virtual]

Definition at line 583 of file lltabcontainer.cpp.

References mCurrentTabIdx, and mTabList.

void LLTabContainerCommon::setDragAndDropDelayTimer (  )  [inline]

Definition at line 124 of file lltabcontainer.h.

References mDragAndDropDelayTimer, and LLFrameTimer::start().

Referenced by LLInventoryView::handleDragAndDrop().

virtual void LLTabContainerCommon::setPanelTitle ( S32  index,
const LLString title 
) [inline, virtual]

Reimplemented in LLTabContainer.

Definition at line 143 of file lltabcontainer.h.

Referenced by LLMultiFloater::draw().

virtual void LLTabContainerCommon::setRightTabBtnOffset ( S32  offset  )  [inline, virtual]

Reimplemented in LLTabContainer.

Definition at line 142 of file lltabcontainer.h.

Referenced by LLMultiFloater::LLMultiFloater(), and LLMultiFloater::setCanResize().

void LLTabContainerCommon::setTabChangeCallback ( LLPanel tab,
void(*)(void *, bool)  on_tab_clicked 
) [virtual]

Definition at line 248 of file lltabcontainer.cpp.

References getTabByPanel(), LLTabContainerCommon::LLTabTuple::mOnChangeCallback, and tab.

Referenced by LLPanel::childSetTabChangeCallback(), LLGroupMoneyTabEventHandler::LLGroupMoneyTabEventHandler(), LLPanelGroupRoles::postBuild(), LLPanelGroup::postBuild(), and LLFloaterWorldMap::postBuild().

void LLTabContainerCommon::setTabImage ( LLPanel child,
std::string  img_name,
const LLColor4 color = LLColor4::white 
) [virtual]

Reimplemented in LLTabContainer.

Definition at line 550 of file lltabcontainer.cpp.

References getTabByPanel(), LLTabContainerCommon::LLTabTuple::mButton, LLFontGL::RIGHT, and LLButton::setImageOverlay().

Referenced by LLFloaterChatterBox::addFloater(), and LLFloaterChatterBox::draw().

void LLTabContainerCommon::setTabPanelFlashing ( LLPanel child,
BOOL  state 
)

Definition at line 541 of file lltabcontainer.cpp.

References getTabByPanel(), LLTabContainerCommon::LLTabTuple::mButton, and LLButton::setFlashing().

Referenced by LLFloaterIMPanel::addHistoryLine(), LLMultiFloater::setFloaterFlashing(), and LLFloaterIMPanel::setVisible().

void LLTabContainerCommon::setTabUserData ( LLPanel tab,
void userdata 
) [virtual]

Definition at line 257 of file lltabcontainer.cpp.

References getTabByPanel(), LLTabContainerCommon::LLTabTuple::mUserData, and tab.

Referenced by LLPanel::childSetTabChangeCallback(), LLGroupMoneyTabEventHandler::LLGroupMoneyTabEventHandler(), LLPanelGroupRoles::postBuild(), LLPanelGroup::postBuild(), and LLFloaterWorldMap::postBuild().

void LLTabContainerCommon::setTitle ( const LLString title  ) 

Definition at line 559 of file lltabcontainer.cpp.

References mTitleBox, and LLTextBox::setText().

void LLTabContainerCommon::setTopBorderHeight ( S32  height  )  [virtual]

Definition at line 577 of file lltabcontainer.cpp.

References mTopBorderHeight.

virtual void LLTabContainerCommon::setValue ( const LLSD value  )  [inline, virtual]

Reimplemented from LLView.

Definition at line 76 of file lltabcontainer.h.

References LLSD::asInteger(), S32, and selectTab().

virtual void LLTabContainerCommon::updateMaxScrollPos (  )  [protected, pure virtual]

Implemented in LLTabContainer, and LLTabContainerVertical.

Referenced by removeTabPanel(), and reshape().


Member Data Documentation

void* LLTabContainerCommon::mCallbackUserdata [protected]

Definition at line 189 of file lltabcontainer.h.

void(* LLTabContainerCommon::mCloseCallback)(void *) [protected]

S32 LLTabContainerCommon::mCurrentTabIdx [protected]

Definition at line 177 of file lltabcontainer.h.

Referenced by deleteAllTabs(), getCurrentPanel(), getCurrentPanelIndex(), insertTuple(), removeTabPanel(), selectNextTab(), selectPrevTab(), LLTabContainerVertical::selectTab(), LLTabContainer::selectTab(), and setCurrentTabName().

LLFrameTimer LLTabContainerCommon::mDragAndDropDelayTimer [protected]

Definition at line 186 of file lltabcontainer.h.

Referenced by LLTabContainer::handleDragAndDrop(), LLTabContainerCommon(), and setDragAndDropDelayTimer().

S32 LLTabContainerCommon::mLockedTabCount [protected]

Definition at line 195 of file lltabcontainer.h.

Referenced by insertTuple(), lockTabs(), and removeTabPanel().

S32 LLTabContainerCommon::mMaxScrollPos [protected]

Definition at line 184 of file lltabcontainer.h.

Referenced by LLTabContainerVertical::draw(), LLTabContainer::draw(), LLTabContainer::handleDragAndDrop(), LLTabContainerVertical::handleHover(), LLTabContainer::handleHover(), LLTabContainerVertical::handleMouseDown(), LLTabContainer::handleMouseDown(), LLTabContainerVertical::handleMouseUp(), LLTabContainer::handleMouseUp(), LLTabContainer::handleToolTip(), scrollNext(), LLTabContainerVertical::selectTab(), LLTabContainer::selectTab(), LLTabContainerVertical::updateMaxScrollPos(), and LLTabContainer::updateMaxScrollPos().

BOOL LLTabContainerCommon::mScrolled [protected]

Definition at line 180 of file lltabcontainer.h.

S32 LLTabContainerCommon::mScrollPos [protected]

Definition at line 182 of file lltabcontainer.h.

Referenced by LLTabContainerVertical::draw(), LLTabContainer::draw(), scrollNext(), scrollPrev(), LLTabContainerVertical::selectTab(), LLTabContainer::selectTab(), LLTabContainerVertical::updateMaxScrollPos(), and LLTabContainer::updateMaxScrollPos().

S32 LLTabContainerCommon::mScrollPosPixels [protected]

Definition at line 183 of file lltabcontainer.h.

Referenced by LLTabContainerVertical::draw(), and LLTabContainer::draw().

LLFrameTimer LLTabContainerCommon::mScrollTimer [protected]

Definition at line 181 of file lltabcontainer.h.

tuple_list_t LLTabContainerCommon::mTabList [protected]

Definition at line 176 of file lltabcontainer.h.

Referenced by LLTabContainerVertical::addTabPanel(), LLTabContainerVertical::commitHoveredButton(), LLTabContainer::commitHoveredButton(), deleteAllTabs(), LLTabContainerVertical::draw(), LLTabContainer::draw(), enableTabButton(), getChildByName(), getCurrentPanel(), getIndexForPanel(), getPanelByIndex(), getPanelByName(), getPanelIndexByTitle(), getPanelTitle(), getTabByPanel(), getTabCount(), LLTabContainer::handleDragAndDrop(), LLTabContainerVertical::handleMouseDown(), LLTabContainer::handleMouseDown(), LLTabContainerVertical::handleMouseUp(), LLTabContainer::handleMouseUp(), LLTabContainer::handleToolTip(), insertTuple(), LLTabContainerVertical::removeTabPanel(), LLTabContainer::removeTabPanel(), removeTabPanel(), selectLastTab(), selectNextTab(), selectPrevTab(), LLTabContainerVertical::selectTab(), LLTabContainer::selectTab(), selectTabPanel(), setCurrentTabName(), LLTabContainer::setPanelTitle(), LLTabContainerVertical::updateMaxScrollPos(), LLTabContainer::updateMaxScrollPos(), and ~LLTabContainerCommon().

TabPosition LLTabContainerCommon::mTabPosition [protected]

Definition at line 194 of file lltabcontainer.h.

Referenced by LLTabContainer::addTabPanel(), getTabPosition(), LLTabContainer::getXML(), and LLTabContainer::initButtons().

BOOL LLTabContainerCommon::mTabsHidden [protected]

Definition at line 178 of file lltabcontainer.h.

Referenced by LLTabContainer::draw(), and fromXML().

LLTextBox* LLTabContainerCommon::mTitleBox [protected]

Definition at line 191 of file lltabcontainer.h.

Referenced by setTitle().

S32 LLTabContainerCommon::mTopBorderHeight [protected]

Definition at line 193 of file lltabcontainer.h.

Referenced by LLTabContainerVertical::addTabPanel(), LLTabContainer::addTabPanel(), LLTabContainerVertical::draw(), LLTabContainer::initButtons(), setTopBorderHeight(), and LLTabContainerVertical::updateMaxScrollPos().


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