LLTabContainer Class Reference

#include <lltabcontainer.h>

Inheritance diagram for LLTabContainer:

Inheritance graph
[legend]
Collaboration diagram for LLTabContainer:

Collaboration graph
[legend]

List of all members.

Public Types

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

Public Member Functions

 LLTabContainer (const LLString &name, const LLRect &rect, TabPosition pos, BOOL bordered, BOOL is_vertical)
 ~LLTabContainer ()
void setValue (const LLSD &value)
void reshape (S32 width, S32 height, BOOL called_from_parent=TRUE)
void draw ()
BOOL handleMouseDown (S32 x, S32 y, MASK mask)
BOOL handleHover (S32 x, S32 y, MASK mask)
BOOL handleMouseUp (S32 x, S32 y, MASK mask)
BOOL handleToolTip (S32 x, S32 y, LLString &msg, LLRect *sticky_rect)
BOOL handleKeyHere (KEY key, MASK mask)
BOOL handleDragAndDrop (S32 x, S32 y, MASK mask, BOOL drop, EDragAndDropType type, void *cargo_data, EAcceptance *accept, LLString &tooltip)
LLXMLNodePtr getXML (bool save_children=true) const
LLViewgetChildView (const LLString &name, BOOL recurse=TRUE, BOOL create_if_missing=TRUE) const
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)
void addPlaceholder (LLPanel *child, const LLString &label)
void removeTabPanel (LLPanel *child)
void lockTabs (S32 num_tabs=0)
void unlockTabs ()
S32 getNumLockedTabs ()
void enableTabButton (S32 which, BOOL enable)
void deleteAllTabs ()
LLPanelgetCurrentPanel ()
S32 getCurrentPanelIndex ()
S32 getTabCount ()
LLPanelgetPanelByIndex (S32 index)
S32 getIndexForPanel (LLPanel *panel)
S32 getPanelIndexByTitle (const LLString &title)
LLPanelgetPanelByName (const LLString &name)
void setCurrentTabName (const LLString &name)
void selectFirstTab ()
void selectLastTab ()
void selectNextTab ()
void selectPrevTab ()
BOOL selectTabPanel (LLPanel *child)
BOOL selectTab (S32 which)
BOOL selectTabByName (const LLString &title)
BOOL getTabPanelFlashing (LLPanel *child)
void setTabPanelFlashing (LLPanel *child, BOOL state)
void setTabImage (LLPanel *child, std::string img_name, const LLColor4 &color=LLColor4::white)
void setTitle (const LLString &title)
const LLString getPanelTitle (S32 index)
void setTopBorderHeight (S32 height)
S32 getTopBorderHeight () const
void setTabChangeCallback (LLPanel *tab, void(*on_tab_clicked)(void *, bool))
void setTabUserData (LLPanel *tab, void *userdata)
void setRightTabBtnOffset (S32 offset)
void setPanelTitle (S32 index, const LLString &title)
TabPosition getTabPosition () const
void setMinTabWidth (S32 width)
void setMaxTabWidth (S32 width)
S32 getMinTabWidth () const
S32 getMaxTabWidth () const
void startDragAndDropDelayTimer ()

Static Public Member Functions

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)
static LLViewfromXML (LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)

Private Types

typedef std::vector< LLTabTuple * > tuple_list_t

Private Member Functions

void initButtons ()
LLTabTuplegetTab (S32 index)
LLTabTuplegetTabByPanel (LLPanel *child)
void insertTuple (LLTabTuple *tuple, eInsertionPoint insertion_point)
S32 getScrollPos () const
void setScrollPos (S32 pos)
S32 getMaxScrollPos () const
void setMaxScrollPos (S32 pos)
S32 getScrollPosPixels () const
void setScrollPosPixels (S32 pixels)
void setTabsHidden (BOOL hidden)
BOOL getTabsHidden () const
void setCurrentPanelIndex (S32 index)
void scrollPrev ()
void scrollNext ()
void updateMaxScrollPos ()
void commitHoveredButton (S32 x, S32 y)

Private Attributes

tuple_list_t mTabList
S32 mCurrentTabIdx
BOOL mTabsHidden
BOOL mScrolled
LLFrameTimer mScrollTimer
S32 mScrollPos
S32 mScrollPosPixels
S32 mMaxScrollPos
void(* mCloseCallback )(void *)
void * mCallbackUserdata
LLTextBoxmTitleBox
S32 mTopBorderHeight
TabPosition mTabPosition
S32 mLockedTabCount
S32 mMinTabWidth
LLButtonmPrevArrowBtn
LLButtonmNextArrowBtn
BOOL mIsVertical
LLButtonmJumpPrevArrowBtn
LLButtonmJumpNextArrowBtn
S32 mRightTabBtnOffset
S32 mMaxTabWidth
S32 mTotalTabWidth
LLFrameTimer mDragAndDropDelayTimer

Classes

struct  LLTabTuple


Detailed Description

Definition at line 41 of file lltabcontainer.h.


Member Typedef Documentation

typedef std::vector<LLTabTuple*> LLTabContainer::tuple_list_t [private]

Definition at line 198 of file lltabcontainer.h.


Member Enumeration Documentation

Enumerator:
TOP 
BOTTOM 
LEFT 

Definition at line 44 of file lltabcontainer.h.

Enumerator:
START 
END 
LEFT_OF_CURRENT 
RIGHT_OF_CURRENT 

Definition at line 50 of file lltabcontainer.h.


Constructor & Destructor Documentation

LLTabContainer::LLTabContainer ( const LLString name,
const LLRect rect,
TabPosition  pos,
BOOL  bordered,
BOOL  is_vertical 
)

Definition at line 69 of file lltabcontainer.cpp.

References FALSE, initButtons(), mDragAndDropDelayTimer, mIsVertical, mMinTabWidth, LLView::setMouseOpaque(), LLFrameTimer::stop(), and TABCNTR_VERT_TAB_MIN_WIDTH.

Referenced by fromXML().

Here is the call graph for this function:

Here is the caller graph for this function:

LLTabContainer::~LLTabContainer (  ) 

Definition at line 106 of file lltabcontainer.cpp.

References mTabList.


Member Function Documentation

void LLTabContainer::setValue ( const LLSD value  )  [virtual]

Reimplemented from LLView.

Definition at line 112 of file lltabcontainer.cpp.

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

Here is the call graph for this function:

void LLTabContainer::reshape ( S32  width,
S32  height,
BOOL  called_from_parent = TRUE 
) [virtual]

Reimplemented from LLView.

Definition at line 118 of file lltabcontainer.cpp.

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

Here is the call graph for this function:

void LLTabContainer::draw ( void   )  [virtual]

BOOL LLTabContainer::handleMouseDown ( S32  x,
S32  y,
MASK  mask 
) [virtual]

BOOL LLTabContainer::handleHover ( S32  x,
S32  y,
MASK  mask 
) [virtual]

BOOL LLTabContainer::handleMouseUp ( S32  x,
S32  y,
MASK  mask 
) [virtual]

BOOL LLTabContainer::handleToolTip ( S32  x,
S32  y,
LLString msg,
LLRect sticky_rect 
) [virtual]

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

BOOL LLTabContainer::handleDragAndDrop ( S32  x,
S32  y,
MASK  mask,
BOOL  drop,
EDragAndDropType  type,
void *  cargo_data,
EAcceptance accept,
LLString tooltip 
) [virtual]

LLXMLNodePtr LLTabContainer::getXML ( bool  save_children = true  )  const [virtual]

Reimplemented from LLPanel.

Definition at line 600 of file lltabcontainer.cpp.

References getTabPosition(), LLPanel::getXML(), TOP, and TRUE.

Here is the call graph for this function:

LLView * LLTabContainer::getChildView ( const LLString name,
BOOL  recurse = TRUE,
BOOL  create_if_missing = TRUE 
) const [virtual]

Reimplemented from LLView.

Definition at line 125 of file lltabcontainer.cpp.

References FALSE, LLView::getChildView(), LLPanel::getChildView(), LLView::getName(), and mTabList.

Here is the call graph for this function:

void LLTabContainer::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 
)

Definition at line 659 of file lltabcontainer.cpp.

References LLView::addChild(), BTN_HEIGHT, FALSE, FOLLOWS_LEFT, FOLLOWS_TOP, LLRectBase< Type >::getHeight(), LLSingleton< LLResMgr >::getInstance(), LLView::getName(), LLView::getParent(), LLView::getRect(), LLResMgr::getRes(), getTabCount(), getTabPosition(), getTopBorderHeight(), LLRectBase< Type >::getWidth(), LLFontGL::getWidth(), insertTuple(), LLFontGL::LEFT, LLBUTTON_V_PAD, llclamp(), LLFONT_SANSSERIF, LLFONT_SANSSERIF_SMALL, LLPANEL_BORDER_WIDTH, LLRectBase< Type >::mBottom, mIsVertical, LLRectBase< Type >::mLeft, mMaxTabWidth, mMinTabWidth, mTotalTabWidth, NULL, onTabBtn(), LLView::reshape(), S32, selectLastTab(), LLUICtrl::setCallbackUserData(), LLView::setFollows(), LLView::setFollowsAll(), LLView::setFollowsBottom(), LLView::setFollowsTop(), LLButton::setHAlign(), LLButton::setImages(), LLPanel::setLabel(), LLButton::setLeftHPad(), LLRectBase< Type >::setLeftTopAndSize(), LLRectBase< Type >::setOriginAndSize(), LLButton::setRightHPad(), LLView::setSaveToXML(), LLButton::setScaleImage(), LLUICtrl::setTabStop(), LLView::setToolTip(), LLView::setVisible(), TAB_PADDING, TABCNTR_BUTTON_PANEL_OVERLAP, TABCNTR_TAB_HEIGHT, TABCNTRV_PAD, TOP, LLRectBase< Type >::translate(), LLView::translate(), LLStringBase< char >::trim(), TRUE, and updateMaxScrollPos().

Referenced by LLMultiFloater::addFloater(), addPlaceholder(), LLPanelAvatarClassified::callbackNew(), fromXML(), LLFloaterTestImpl::LLFloaterTestImpl(), LLPreferenceCore::LLPreferenceCore(), LLPanelAvatarPicks::onClickNew(), LLFloaterRegionInfo::postBuild(), LLPanelAvatarClassified::processAvatarClassifiedReply(), and LLPanelAvatarPicks::processAvatarPicksReply().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTabContainer::addPlaceholder ( LLPanel child,
const LLString label 
)

Definition at line 848 of file lltabcontainer.cpp.

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

Here is the call graph for this function:

void LLTabContainer::removeTabPanel ( LLPanel child  ) 

void LLTabContainer::lockTabs ( S32  num_tabs = 0  ) 

Definition at line 933 of file lltabcontainer.cpp.

References getTabCount(), llmin(), and mLockedTabCount.

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

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTabContainer::unlockTabs (  ) 

Definition at line 940 of file lltabcontainer.cpp.

References mLockedTabCount.

Referenced by LLFloaterChatterBox::addFloater().

Here is the caller graph for this function:

S32 LLTabContainer::getNumLockedTabs (  )  [inline]

Definition at line 91 of file lltabcontainer.h.

References mLockedTabCount.

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

Here is the caller graph for this function:

void LLTabContainer::enableTabButton ( S32  which,
BOOL  enable 
)

Definition at line 945 of file lltabcontainer.cpp.

References mTabList, and S32.

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

Here is the caller graph for this function:

void LLTabContainer::deleteAllTabs (  ) 

Definition at line 953 of file lltabcontainer.cpp.

References LLTabContainer::LLTabTuple::mButton, mCurrentTabIdx, mTabList, LLTabContainer::LLTabTuple::mTabPanel, and LLView::removeChild().

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

Here is the call graph for this function:

Here is the caller graph for this function:

LLPanel * LLTabContainer::getCurrentPanel (  ) 

S32 LLTabContainer::getCurrentPanelIndex (  ) 

S32 LLTabContainer::getTabCount (  ) 

LLPanel * LLTabContainer::getPanelByIndex ( S32  index  ) 

S32 LLTabContainer::getIndexForPanel ( LLPanel panel  ) 

Definition at line 1003 of file lltabcontainer.cpp.

References mTabList, and S32.

S32 LLTabContainer::getPanelIndexByTitle ( const LLString title  ) 

Definition at line 1015 of file lltabcontainer.cpp.

References mTabList, and S32.

Referenced by LLFloaterTools::refresh().

Here is the caller graph for this function:

LLPanel * LLTabContainer::getPanelByName ( const LLString name  ) 

Definition at line 1027 of file lltabcontainer.cpp.

References LLView::getName(), mTabList, NULL, and S32.

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

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTabContainer::setCurrentTabName ( const LLString name  ) 

Definition at line 1041 of file lltabcontainer.cpp.

References mCurrentTabIdx, and mTabList.

Referenced by LLPanelClassified::confirmPublish(), and LLPanelPick::onCommitAny().

Here is the caller graph for this function:

void LLTabContainer::selectFirstTab (  ) 

void LLTabContainer::selectLastTab (  ) 

Definition at line 1056 of file lltabcontainer.cpp.

References mTabList, and selectTab().

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

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTabContainer::selectNextTab (  ) 

Definition at line 1061 of file lltabcontainer.cpp.

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

Referenced by handleKeyHere(), and LLMultiFloater::selectNextFloater().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTabContainer::selectPrevTab (  ) 

Definition at line 1082 of file lltabcontainer.cpp.

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

Referenced by handleKeyHere(), LLMultiFloater::selectPrevFloater(), and LLPanelGroup::updateTabVisibility().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLTabContainer::selectTabPanel ( LLPanel child  ) 

BOOL LLTabContainer::selectTab ( S32  which  ) 

BOOL LLTabContainer::selectTabByName ( const LLString title  ) 

Definition at line 1215 of file lltabcontainer.cpp.

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLTabContainer::getTabPanelFlashing ( LLPanel child  ) 

Definition at line 1229 of file lltabcontainer.cpp.

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

Referenced by LLMultiFloater::isFloaterFlashing().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 1239 of file lltabcontainer.cpp.

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

Referenced by LLMultiFloater::setFloaterFlashing().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTabContainer::setTabImage ( LLPanel child,
std::string  img_name,
const LLColor4 color = LLColor4::white 
)

void LLTabContainer::setTitle ( const LLString title  ) 

Definition at line 1279 of file lltabcontainer.cpp.

References mTitleBox, and LLTextBox::setText().

Here is the call graph for this function:

const LLString LLTabContainer::getPanelTitle ( S32  index  ) 

Definition at line 1287 of file lltabcontainer.cpp.

References LLButton::getLabelSelected(), mTabList, LLStringBase< char >::null, and S32.

Referenced by LLMultiFloater::draw().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTabContainer::setTopBorderHeight ( S32  height  ) 

Definition at line 1297 of file lltabcontainer.cpp.

References mTopBorderHeight.

S32 LLTabContainer::getTopBorderHeight (  )  const

Definition at line 1302 of file lltabcontainer.cpp.

References mTopBorderHeight.

Referenced by addTabPanel(), draw(), initButtons(), and updateMaxScrollPos().

Here is the caller graph for this function:

void LLTabContainer::setTabChangeCallback ( LLPanel tab,
void(*)(void *, bool)  on_tab_clicked 
)

void LLTabContainer::setTabUserData ( LLPanel tab,
void *  userdata 
)

void LLTabContainer::setRightTabBtnOffset ( S32  offset  ) 

Definition at line 1325 of file lltabcontainer.cpp.

References mNextArrowBtn, mRightTabBtnOffset, LLView::translate(), and updateMaxScrollPos().

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

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTabContainer::setPanelTitle ( S32  index,
const LLString title 
)

TabPosition LLTabContainer::getTabPosition (  )  const [inline]

Definition at line 126 of file lltabcontainer.h.

References mTabPosition.

Referenced by addTabPanel(), getXML(), handleKeyHere(), initButtons(), and LLMultiFloater::setCanResize().

Here is the caller graph for this function:

void LLTabContainer::setMinTabWidth ( S32  width  )  [inline]

Definition at line 127 of file lltabcontainer.h.

References mMinTabWidth.

Referenced by fromXML().

Here is the caller graph for this function:

void LLTabContainer::setMaxTabWidth ( S32  width  )  [inline]

Definition at line 128 of file lltabcontainer.h.

References mMaxTabWidth.

Referenced by fromXML().

Here is the caller graph for this function:

S32 LLTabContainer::getMinTabWidth (  )  const [inline]

Definition at line 129 of file lltabcontainer.h.

References mMinTabWidth.

S32 LLTabContainer::getMaxTabWidth (  )  const [inline]

Definition at line 130 of file lltabcontainer.h.

References mMaxTabWidth.

void LLTabContainer::startDragAndDropDelayTimer (  )  [inline]

Definition at line 132 of file lltabcontainer.h.

References mDragAndDropDelayTimer, and LLFrameTimer::start().

Referenced by LLInventoryView::handleDragAndDrop().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTabContainer::onCloseBtn ( void *  userdata  )  [static]

Definition at line 1365 of file lltabcontainer.cpp.

void LLTabContainer::onTabBtn ( void *  userdata  )  [static]

Definition at line 1350 of file lltabcontainer.cpp.

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

Referenced by addTabPanel().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTabContainer::onNextBtn ( void *  userdata  )  [static]

Definition at line 1375 of file lltabcontainer.cpp.

References FALSE.

Referenced by initButtons().

Here is the caller graph for this function:

void LLTabContainer::onNextBtnHeld ( void *  userdata  )  [static]

Definition at line 1387 of file lltabcontainer.cpp.

References SCROLL_STEP_TIME, and TRUE.

Referenced by initButtons().

Here is the caller graph for this function:

void LLTabContainer::onPrevBtn ( void *  userdata  )  [static]

Definition at line 1399 of file lltabcontainer.cpp.

References FALSE.

Referenced by initButtons().

Here is the caller graph for this function:

void LLTabContainer::onPrevBtnHeld ( void *  userdata  )  [static]

Definition at line 1424 of file lltabcontainer.cpp.

References SCROLL_STEP_TIME, and TRUE.

Referenced by initButtons().

Here is the caller graph for this function:

void LLTabContainer::onJumpFirstBtn ( void *  userdata  )  [static]

Definition at line 1410 of file lltabcontainer.cpp.

Referenced by initButtons().

Here is the caller graph for this function:

void LLTabContainer::onJumpLastBtn ( void *  userdata  )  [static]

Definition at line 1417 of file lltabcontainer.cpp.

Referenced by initButtons().

Here is the caller graph for this function:

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

void LLTabContainer::initButtons (  )  [private]

LLTabTuple* LLTabContainer::getTab ( S32  index  )  [inline, private]

Definition at line 174 of file lltabcontainer.h.

References mTabList.

Referenced by handleMouseDown(), handleMouseUp(), handleToolTip(), selectTab(), and setPanelTitle().

Here is the caller graph for this function:

LLTabContainer::LLTabTuple * LLTabContainer::getTabByPanel ( LLPanel child  )  [private]

Definition at line 1680 of file lltabcontainer.cpp.

References mTabList, LLTabContainer::LLTabTuple::mTabPanel, and NULL.

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

Here is the caller graph for this function:

void LLTabContainer::insertTuple ( LLTabTuple tuple,
eInsertionPoint  insertion_point 
) [private]

Definition at line 1693 of file lltabcontainer.cpp.

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

Referenced by addTabPanel().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLTabContainer::getScrollPos (  )  const [inline, private]

Definition at line 178 of file lltabcontainer.h.

References mScrollPos.

Referenced by draw(), selectTab(), and updateMaxScrollPos().

Here is the caller graph for this function:

void LLTabContainer::setScrollPos ( S32  pos  )  [inline, private]

Definition at line 179 of file lltabcontainer.h.

References mScrollPos.

Referenced by selectTab(), and updateMaxScrollPos().

Here is the caller graph for this function:

S32 LLTabContainer::getMaxScrollPos (  )  const [inline, private]

Definition at line 180 of file lltabcontainer.h.

References mMaxScrollPos.

Referenced by draw(), handleDragAndDrop(), handleHover(), handleMouseDown(), handleMouseUp(), handleToolTip(), selectTab(), and updateMaxScrollPos().

Here is the caller graph for this function:

void LLTabContainer::setMaxScrollPos ( S32  pos  )  [inline, private]

Definition at line 181 of file lltabcontainer.h.

References mMaxScrollPos.

Referenced by updateMaxScrollPos().

Here is the caller graph for this function:

S32 LLTabContainer::getScrollPosPixels (  )  const [inline, private]

Definition at line 182 of file lltabcontainer.h.

References mScrollPosPixels.

Referenced by draw().

Here is the caller graph for this function:

void LLTabContainer::setScrollPosPixels ( S32  pixels  )  [inline, private]

Definition at line 183 of file lltabcontainer.h.

References mScrollPosPixels.

Referenced by draw().

Here is the caller graph for this function:

void LLTabContainer::setTabsHidden ( BOOL  hidden  )  [inline, private]

Definition at line 185 of file lltabcontainer.h.

References mTabsHidden.

Referenced by fromXML().

Here is the caller graph for this function:

BOOL LLTabContainer::getTabsHidden (  )  const [inline, private]

Definition at line 186 of file lltabcontainer.h.

References mTabsHidden.

Referenced by draw(), and fromXML().

Here is the caller graph for this function:

void LLTabContainer::setCurrentPanelIndex ( S32  index  )  [inline, private]

Definition at line 188 of file lltabcontainer.h.

References mCurrentTabIdx.

Referenced by selectTab().

Here is the caller graph for this function:

void LLTabContainer::scrollPrev (  )  [inline, private]

Definition at line 190 of file lltabcontainer.h.

References llmax(), and mScrollPos.

Here is the call graph for this function:

void LLTabContainer::scrollNext (  )  [inline, private]

Definition at line 191 of file lltabcontainer.h.

References llmin(), mMaxScrollPos, and mScrollPos.

Here is the call graph for this function:

void LLTabContainer::updateMaxScrollPos (  )  [private]

void LLTabContainer::commitHoveredButton ( S32  x,
S32  y 
) [private]


Member Data Documentation

Definition at line 202 of file lltabcontainer.h.

Referenced by getTabsHidden(), and setTabsHidden().

Definition at line 204 of file lltabcontainer.h.

Definition at line 205 of file lltabcontainer.h.

Definition at line 206 of file lltabcontainer.h.

Referenced by getScrollPos(), scrollNext(), scrollPrev(), and setScrollPos().

Definition at line 207 of file lltabcontainer.h.

Referenced by draw(), getScrollPosPixels(), and setScrollPosPixels().

Definition at line 208 of file lltabcontainer.h.

Referenced by draw(), getMaxScrollPos(), scrollNext(), and setMaxScrollPos().

void(* LLTabContainer::mCloseCallback)(void *) [private]

Definition at line 211 of file lltabcontainer.h.

Definition at line 213 of file lltabcontainer.h.

Referenced by setTitle().

Definition at line 215 of file lltabcontainer.h.

Referenced by getTopBorderHeight(), and setTopBorderHeight().

Definition at line 216 of file lltabcontainer.h.

Referenced by getTabPosition().

Definition at line 217 of file lltabcontainer.h.

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

Definition at line 233 of file lltabcontainer.h.

Referenced by handleDragAndDrop(), LLTabContainer(), and startDragAndDropDelayTimer().


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

Generated on Fri May 16 09:10:04 2008 for SecondLife by  doxygen 1.5.5