LLFolderViewItem Class Reference

#include <llfolderview.h>

Inheritance diagram for LLFolderViewItem:

Inheritance graph
[legend]
Collaboration diagram for LLFolderViewItem:

Collaboration graph
[legend]

List of all members.

Public Types

enum  { ARRANGE = TRUE, DO_NOT_ARRANGE = FALSE }

Public Member Functions

void arrangeFromRoot ()
void filterFromRoot (void)
 LLFolderViewItem (const LLString &name, LLUIImagePtr icon, S32 creation_date, LLFolderView *root, LLFolderViewEventListener *listener)
virtual ~LLFolderViewItem (void)
virtual BOOL addToFolder (LLFolderViewFolder *folder, LLFolderView *root)
virtual EInventorySortGroup getSortGroup ()
virtual S32 arrange (S32 *width, S32 *height, S32 filter_generation)
virtual S32 getItemHeight ()
virtual void filter (LLInventoryFilter &filter)
S32 getLastFilterGeneration ()
virtual void dirtyFilter ()
virtual BOOL setSelection (LLFolderViewItem *selection, BOOL open, BOOL take_keyboard_focus)
virtual BOOL changeSelection (LLFolderViewItem *selection, BOOL selected)
virtual S32 extendSelection (LLFolderViewItem *selection, LLFolderViewItem *last_selected, LLDynamicArray< LLFolderViewItem * > &items)
virtual void recursiveDeselect (BOOL deselect_self)
virtual BOOL getSelectionList (std::set< LLUUID > &selection)
virtual BOOL isRemovable ()
virtual BOOL isMovable ()
virtual void destroyView ()
S32 getNumSelectedDescendants ()
BOOL isSelected ()
void setIsCurSelection (BOOL select)
BOOL getIsCurSelection ()
BOOL hasVisibleChildren ()
BOOL remove ()
void buildContextMenu (LLMenuGL &menu, U32 flags)
const LLStringgetName (void) const
const LLStringgetSearchableLabel (void) const
const char * getLabel () const
virtual U32 getCreationDate () const
LLFolderViewFoldergetParentFolder (void)
const LLFolderViewFoldergetParentFolder (void) const
LLFolderViewItemgetNextOpenNode (BOOL include_children=TRUE)
LLFolderViewItemgetPreviousOpenNode (BOOL include_children=TRUE)
const LLFolderViewEventListenergetListener (void) const
LLFolderViewEventListenergetListener (void)
void rename (const LLString &new_name)
virtual void open (void)
virtual void preview (void)
virtual void setOpen (BOOL open=TRUE)
virtual BOOL isOpen ()
LLFolderViewgetRoot ()
BOOL isDescendantOf (const LLFolderViewFolder *potential_ancestor)
S32 getIndentation ()
virtual BOOL potentiallyVisible ()
virtual BOOL getFiltered ()
virtual BOOL getFiltered (S32 filter_generation)
virtual void setFiltered (BOOL filtered, S32 filter_generation)
void setIcon (LLUIImagePtr icon)
virtual void refresh ()
virtual void applyListenerFunctorRecursively (LLFolderViewListenerFunctor &functor)
virtual BOOL handleRightMouseDown (S32 x, S32 y, MASK mask)
virtual BOOL handleMouseDown (S32 x, S32 y, MASK mask)
virtual BOOL handleHover (S32 x, S32 y, MASK mask)
virtual BOOL handleMouseUp (S32 x, S32 y, MASK mask)
virtual BOOL handleDoubleClick (S32 x, S32 y, MASK mask)
virtual BOOL handleScrollWheel (S32 x, S32 y, S32 clicks)
virtual void draw ()
virtual BOOL handleDragAndDrop (S32 x, S32 y, MASK mask, BOOL drop, EDragAndDropType cargo_type, void *cargo_data, EAcceptance *accept, LLString &tooltip_msg)

Protected Member Functions

void setSelectionFromRoot (LLFolderViewItem *selection, BOOL open, BOOL take_keyboard_focus=TRUE)
void changeSelectionFromRoot (LLFolderViewItem *selection, BOOL selected)
void extendSelectionFromRoot (LLFolderViewItem *selection)
virtual BOOL addItem (LLFolderViewItem *)
virtual BOOL addFolder (LLFolderViewFolder *)

Protected Attributes

LLString mLabel
LLString mSearchableLabel
LLString mType
S32 mLabelWidth
U32 mCreationDate
LLFolderViewFoldermParentFolder
LLFolderViewEventListenermListener
BOOL mIsSelected
BOOL mIsCurSelection
BOOL mSelectPending
LLFontGL::StyleFlags mLabelStyle
LLString mLabelSuffix
LLUIImagePtr mIcon
LLString mStatusText
BOOL mHasVisibleChildren
S32 mIndentation
S32 mNumDescendantsSelected
BOOL mFiltered
S32 mLastFilterGeneration
std::string::size_type mStringMatchOffset
F32 mControlLabelRotation
LLFolderViewmRoot
BOOL mDragAndDropTarget
LLUIImagePtr mArrowImage
LLUIImagePtr mBoxImage
BOOL mIsLoading
LLTimer mTimeSinceRequestStart

Static Protected Attributes

static const LLFontGLsFont = NULL
static const LLFontGLsSmallFont = NULL
static LLColor4 sFgColor
static LLColor4 sHighlightBgColor
static LLColor4 sHighlightFgColor
static LLColor4 sFilterBGColor
static LLColor4 sFilterTextColor
static LLColor4 sSuffixColor
static LLColor4 sSearchStatusColor

Friends

class LLFolderViewEventListener


Detailed Description

Definition at line 317 of file llfolderview.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
ARRANGE 
DO_NOT_ARRANGE 

Definition at line 390 of file llfolderview.h.


Constructor & Destructor Documentation

LLFolderViewItem::LLFolderViewItem ( const LLString name,
LLUIImagePtr  icon,
S32  creation_date,
LLFolderView root,
LLFolderViewEventListener listener 
)

LLFolderViewItem::~LLFolderViewItem ( void   )  [virtual]

Definition at line 175 of file llfolderview.cpp.

References mArrowImage, mBoxImage, mListener, and NULL.


Member Function Documentation

void LLFolderViewItem::setSelectionFromRoot ( LLFolderViewItem selection,
BOOL  open,
BOOL  take_keyboard_focus = TRUE 
) [protected]

void LLFolderViewItem::changeSelectionFromRoot ( LLFolderViewItem selection,
BOOL  selected 
) [protected]

Definition at line 359 of file llfolderview.cpp.

References LLFolderView::changeSelection(), and getRoot().

Referenced by LLFolderView::handleKeyHere(), handleMouseDown(), and handleMouseUp().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFolderViewItem::extendSelectionFromRoot ( LLFolderViewItem selection  )  [protected]

Definition at line 364 of file llfolderview.cpp.

References LLFolderView::extendSelection(), getRoot(), and NULL.

Referenced by handleMouseDown(), and handleMouseUp().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual BOOL LLFolderViewItem::addItem ( LLFolderViewItem  )  [inline, protected, virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 375 of file llfolderview.h.

References FALSE.

virtual BOOL LLFolderViewItem::addFolder ( LLFolderViewFolder  )  [inline, protected, virtual]

Reimplemented in LLFolderViewFolder, and LLFolderView.

Definition at line 376 of file llfolderview.h.

References FALSE.

void LLFolderViewItem::arrangeFromRoot (  ) 

Definition at line 338 of file llfolderview.cpp.

References arrange(), getRoot(), and S32.

Referenced by LLFolderView::doIdle(), and LLPanelInventory::updateInventory().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFolderViewItem::filterFromRoot ( void   ) 

Definition at line 328 of file llfolderview.cpp.

References filter(), and getRoot().

Referenced by LLFolderView::doIdle().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLFolderViewItem::addToFolder ( LLFolderViewFolder folder,
LLFolderView root 
) [virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 377 of file llfolderview.cpp.

References LLFolderViewFolder::addItem(), LLFolderView::addItemID(), FALSE, getListener(), and mParentFolder.

Referenced by LLInventoryPanel::buildNewViews(), LLPanelInventory::createViewsForCategory(), and LLInventoryPanel::modelChanged().

Here is the call graph for this function:

Here is the caller graph for this function:

EInventorySortGroup LLFolderViewItem::getSortGroup (  )  [virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 371 of file llfolderview.cpp.

References SG_ITEM.

Referenced by LLInventorySort::operator()().

Here is the caller graph for this function:

S32 LLFolderViewItem::arrange ( S32 width,
S32 height,
S32  filter_generation 
) [virtual]

Reimplemented in LLFolderViewFolder, and LLFolderView.

Definition at line 391 of file llfolderview.cpp.

References getIndentation(), getItemHeight(), LEFT_INDENTATION, llmax(), mIndentation, mLabelWidth, and mParentFolder.

Referenced by LLFolderView::arrange(), LLFolderViewFolder::arrange(), and arrangeFromRoot().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLFolderViewItem::getItemHeight (  )  [virtual]

Definition at line 399 of file llfolderview.cpp.

References LLFontGL::getLineHeight(), ICON_PAD, llmax(), llround(), mIcon, S32, and sFont.

Referenced by LLFolderViewFolder::arrange(), and arrange().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFolderViewItem::filter ( LLInventoryFilter filter  )  [virtual]

S32 LLFolderViewItem::getLastFilterGeneration (  )  [inline]

Definition at line 404 of file llfolderview.h.

References mLastFilterGeneration.

Referenced by LLFolderViewFolder::filter(), and potentiallyVisible().

Here is the caller graph for this function:

void LLFolderViewItem::dirtyFilter (  )  [virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 430 of file llfolderview.cpp.

References getParentFolder(), mLastFilterGeneration, LLFolderViewFolder::setCompletedFilterGeneration(), and TRUE.

Referenced by LLFolderViewFolder::addItem(), LLFolderViewFolder::dirtyFilter(), and refresh().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLFolderViewItem::setSelection ( LLFolderViewItem selection,
BOOL  open,
BOOL  take_keyboard_focus 
) [virtual]

Reimplemented in LLFolderViewFolder, and LLFolderView.

Definition at line 445 of file llfolderview.cpp.

References FALSE, mIsSelected, mListener, LLFolderViewEventListener::selectItem(), and TRUE.

Here is the call graph for this function:

BOOL LLFolderViewItem::changeSelection ( LLFolderViewItem selection,
BOOL  selected 
) [virtual]

Reimplemented in LLFolderViewFolder, and LLFolderView.

Definition at line 462 of file llfolderview.cpp.

References FALSE, mIsSelected, mListener, LLFolderViewEventListener::selectItem(), and TRUE.

Referenced by LLFolderViewFolder::extendSelection().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual S32 LLFolderViewItem::extendSelection ( LLFolderViewItem selection,
LLFolderViewItem last_selected,
LLDynamicArray< LLFolderViewItem * > &  items 
) [inline, virtual]

Reimplemented in LLFolderViewFolder, and LLFolderView.

Definition at line 420 of file llfolderview.h.

References FALSE.

void LLFolderViewItem::recursiveDeselect ( BOOL  deselect_self  )  [virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 476 of file llfolderview.cpp.

References FALSE, getParentFolder(), mIsSelected, and mNumDescendantsSelected.

Referenced by LLFolderViewFolder::recursiveDeselect(), and LLFolderViewFolder::removeView().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual BOOL LLFolderViewItem::getSelectionList ( std::set< LLUUID > &  selection  )  [inline, virtual]

Reimplemented in LLFolderView.

Definition at line 426 of file llfolderview.h.

References TRUE.

BOOL LLFolderViewItem::isRemovable (  )  [virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 505 of file llfolderview.cpp.

References LLFolderViewEventListener::isItemRemovable(), mListener, and TRUE.

Referenced by remove(), and LLFolderView::removeSelectedItems().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLFolderViewItem::isMovable (  )  [virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 493 of file llfolderview.cpp.

References LLFolderViewEventListener::isItemMovable(), mListener, and TRUE.

Referenced by handleHover(), and handleMouseDown().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFolderViewItem::destroyView (  )  [virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 517 of file llfolderview.cpp.

References mParentFolder, and LLFolderViewFolder::removeView().

Referenced by LLInventoryPanel::modelChanged(), and LLInventoryPanel::rebuildViewsFor().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLFolderViewItem::getNumSelectedDescendants (  )  [inline]

Definition at line 437 of file llfolderview.h.

References mNumDescendantsSelected.

Referenced by LLPanelInventory::updateInventory().

Here is the caller graph for this function:

BOOL LLFolderViewItem::isSelected (  )  [inline]

void LLFolderViewItem::setIsCurSelection ( BOOL  select  )  [inline]

Definition at line 441 of file llfolderview.h.

References mIsCurSelection.

Referenced by LLFolderView::addToSelectionList().

Here is the caller graph for this function:

BOOL LLFolderViewItem::getIsCurSelection (  )  [inline]

Definition at line 443 of file llfolderview.h.

References mIsCurSelection.

Referenced by LLFolderView::getCurSelectedItem().

Here is the caller graph for this function:

BOOL LLFolderViewItem::hasVisibleChildren (  )  [inline]

Definition at line 445 of file llfolderview.h.

References mHasVisibleChildren.

Referenced by LLFolderView::draw(), and draw().

Here is the caller graph for this function:

BOOL LLFolderViewItem::remove (  ) 

Definition at line 529 of file llfolderview.cpp.

References FALSE, isRemovable(), mListener, LLFolderViewEventListener::removeItem(), and TRUE.

Referenced by LLFolderViewFolder::removeItem().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFolderViewItem::buildContextMenu ( LLMenuGL menu,
U32  flags 
)

Definition at line 543 of file llfolderview.cpp.

References LLFolderViewEventListener::buildContextMenu(), and mListener.

Here is the call graph for this function:

const LLString & LLFolderViewItem::getName ( void   )  const [virtual]

Reimplemented from LLView.

Definition at line 589 of file llfolderview.cpp.

References LLFolderViewEventListener::getName(), mLabel, and mListener.

Referenced by LLFolderView::removeSelectedItems(), and LLFolderView::startRenamingSelectedItem().

Here is the call graph for this function:

Here is the caller graph for this function:

const LLString & LLFolderViewItem::getSearchableLabel ( void   )  const

Definition at line 584 of file llfolderview.cpp.

References mSearchableLabel.

Referenced by LLInventoryFilter::check(), and LLFolderView::search().

Here is the caller graph for this function:

const char* LLFolderViewItem::getLabel ( void   )  const [inline]

Definition at line 464 of file llfolderview.h.

References mLabel.

Referenced by LLInventoryPanel::buildNewViews(), and LLInventorySort::operator()().

Here is the caller graph for this function:

virtual U32 LLFolderViewItem::getCreationDate (  )  const [inline, virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 467 of file llfolderview.h.

References mCreationDate.

Referenced by LLInventorySort::operator()(), and LLFolderViewFolder::sortBy().

Here is the caller graph for this function:

LLFolderViewFolder* LLFolderViewItem::getParentFolder ( void   )  [inline]

const LLFolderViewFolder* LLFolderViewItem::getParentFolder ( void   )  const [inline]

Definition at line 470 of file llfolderview.h.

References mParentFolder.

LLFolderViewItem * LLFolderViewItem::getNextOpenNode ( BOOL  include_children = TRUE  ) 

Definition at line 203 of file llfolderview.cpp.

References LLFolderViewFolder::getNextFromChild(), LLView::getVisible(), mParentFolder, and NULL.

Referenced by LLFolderView::handleKeyHere(), LLFolderView::removeSelectedItems(), and LLFolderView::search().

Here is the call graph for this function:

Here is the caller graph for this function:

LLFolderViewItem * LLFolderViewItem::getPreviousOpenNode ( BOOL  include_children = TRUE  ) 

Definition at line 225 of file llfolderview.cpp.

References LLFolderViewFolder::getPreviousFromChild(), LLView::getVisible(), mParentFolder, and NULL.

Referenced by LLFolderView::handleKeyHere(), LLFolderView::removeSelectedItems(), and LLFolderView::search().

Here is the call graph for this function:

Here is the caller graph for this function:

const LLFolderViewEventListener* LLFolderViewItem::getListener ( void   )  const [inline]

LLFolderViewEventListener* LLFolderViewItem::getListener ( void   )  [inline]

Definition at line 476 of file llfolderview.h.

References mListener.

void LLFolderViewItem::rename ( const LLString new_name  ) 

Definition at line 567 of file llfolderview.cpp.

References mLabel, mListener, mParentFolder, LLFolderViewEventListener::renameItem(), and LLFolderViewFolder::resort().

Referenced by LLFolderView::finishRenamingItem().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFolderViewItem::open ( void   )  [virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 551 of file llfolderview.cpp.

References mListener, and LLFolderViewEventListener::openItem().

Here is the call graph for this function:

void LLFolderViewItem::preview ( void   )  [virtual]

Definition at line 559 of file llfolderview.cpp.

References mListener, and LLFolderViewEventListener::previewItem().

Referenced by handleDoubleClick().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void LLFolderViewItem::setOpen ( BOOL  open = TRUE  )  [inline, virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 486 of file llfolderview.h.

Referenced by LLFolderView::handleKeyHere().

Here is the caller graph for this function:

virtual BOOL LLFolderViewItem::isOpen ( void   )  [inline, virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 488 of file llfolderview.h.

References FALSE.

Referenced by LLFolderView::handleKeyHere(), and LLFolderView::removeSelectedItems().

Here is the caller graph for this function:

LLFolderView * LLFolderViewItem::getRoot (  ) 

BOOL LLFolderViewItem::isDescendantOf ( const LLFolderViewFolder potential_ancestor  ) 

Definition at line 189 of file llfolderview.cpp.

References FALSE, mParentFolder, and TRUE.

S32 LLFolderViewItem::getIndentation (  )  [inline]

Definition at line 492 of file llfolderview.h.

References mIndentation.

Referenced by arrange(), LLFolderView::scrollToShowItem(), and LLFolderView::startRenamingSelectedItem().

Here is the caller graph for this function:

BOOL LLFolderViewItem::potentiallyVisible (  )  [virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 250 of file llfolderview.cpp.

References LLFolderView::getFilter(), getFiltered(), getLastFilterGeneration(), LLInventoryFilter::getMinRequiredGeneration(), and getRoot().

Referenced by LLFolderViewFolder::potentiallyVisible(), and LLFolderView::sanitizeSelection().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLFolderViewItem::getFiltered (  )  [virtual]

BOOL LLFolderViewItem::getFiltered ( S32  filter_generation  )  [virtual]

Definition at line 262 of file llfolderview.cpp.

References mFiltered, and mLastFilterGeneration.

void LLFolderViewItem::setFiltered ( BOOL  filtered,
S32  filter_generation 
) [virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 267 of file llfolderview.cpp.

References mFiltered, and mLastFilterGeneration.

Referenced by filter(), and LLFolderViewFolder::setFiltered().

Here is the caller graph for this function:

void LLFolderViewItem::setIcon ( LLUIImagePtr  icon  ) 

Definition at line 273 of file llfolderview.cpp.

References mIcon.

Referenced by LLFolderViewItem(), and refresh().

Here is the caller graph for this function:

void LLFolderViewItem::refresh (  )  [virtual]

void LLFolderViewItem::applyListenerFunctorRecursively ( LLFolderViewListenerFunctor functor  )  [virtual]

Reimplemented in LLFolderViewFolder.

Definition at line 320 of file llfolderview.cpp.

References mListener.

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

Reimplemented from LLView.

Reimplemented in LLFolderViewFolder, and LLFolderView.

Definition at line 599 of file llfolderview.cpp.

References FALSE, make_ui_sound(), mIsSelected, setSelectionFromRoot(), and TRUE.

Referenced by LLFolderViewFolder::handleRightMouseDown().

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

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

BOOL LLFolderViewItem::handleDoubleClick ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLView.

Reimplemented in LLFolderViewFolder, and LLFolderView.

Definition at line 711 of file llfolderview.cpp.

References preview(), and TRUE.

Here is the call graph for this function:

BOOL LLFolderViewItem::handleScrollWheel ( S32  x,
S32  y,
S32  clicks 
) [virtual]

Reimplemented from LLView.

Reimplemented in LLFolderView.

Definition at line 717 of file llfolderview.cpp.

References FALSE, LLView::getParent(), and LLView::handleScrollWheel().

Here is the call graph for this function:

void LLFolderViewItem::draw ( void   )  [virtual]

Reimplemented from LLView.

Reimplemented in LLFolderViewFolder, and LLFolderView.

Definition at line 791 of file llfolderview.cpp.

References ARROW_SIZE, LLFontGL::BOTTOM, clamp_rescale(), LLView::drawDebugRect(), FALSE, LLInventoryFilter::getCurrentGeneration(), LLFolderView::getDebugFilters(), LLTimer::getElapsedTimeF32(), LLControlGroup::getF32(), LLFolderView::getFilter(), getFiltered(), LLFolderView::getFilterSubString(), LLRectBase< Type >::getHeight(), LLFocusMgr::getKeyboardFocus(), LLFontGL::getLineHeight(), LLView::getRect(), getRoot(), LLFolderView::getSelectionFadeElapsedTime(), LLFolderView::getShowSelectionContext(), LLFontGL::getWidth(), LLRectBase< Type >::getWidth(), LLFontGL::getWidthF32(), gFocusMgr, gl_draw_scaled_rotated_image(), gl_rect_2d(), gSavedSettings, LLFolderViewEventListener::hasChildren(), hasVisibleChildren(), ICON_PAD, ICON_WIDTH, LLFolderViewEventListener::isUpToDate(), LLFontGL::LEFT, llfloor(), llround(), mArrowImage, mBoxImage, mControlLabelRotation, mDragAndDropTarget, mIcon, mIndentation, mIsCurSelection, mIsLoading, mIsSelected, mLabel, mLabelStyle, mLabelSuffix, mLastFilterGeneration, mListener, mRoot, mStatusText, mStringMatchOffset, mTimeSinceRequestStart, LLColor4::mV, LLFontGL::NORMAL, LLPointer< Type >::notNull(), LLFontGL::renderUTF8(), S32, S32_MAX, LLView::sDebugRects, sFgColor, sFilterBGColor, sFilterTextColor, sFont, sHighlightBgColor, sHighlightFgColor, sSearchStatusColor, sSmallFont, sSuffixColor, TEXT_PAD, TRUE, and VALPHA.

Referenced by LLFolderViewFolder::draw().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLFolderViewItem::handleDragAndDrop ( S32  x,
S32  y,
MASK  mask,
BOOL  drop,
EDragAndDropType  cargo_type,
void *  cargo_data,
EAcceptance accept,
LLString tooltip_msg 
) [virtual]

Reimplemented from LLView.

Reimplemented in LLFolderViewFolder, and LLFolderView.

Definition at line 756 of file llfolderview.cpp.

References ACCEPT_NO, ACCEPT_YES_MULTI, LLFolderViewEventListener::dragOrDrop(), FALSE, LLFolderViewFolder::handleDragAndDropFromChild(), lldebugst, llendl, mDragAndDropTarget, mListener, mParentFolder, and TRUE.

Here is the call graph for this function:


Friends And Related Function Documentation

friend class LLFolderViewEventListener [friend]

Definition at line 320 of file llfolderview.h.


Member Data Documentation

const LLFontGL * LLFolderViewItem::sFont = NULL [static, protected]

---------------------------------------------------------------------------- Class LLFolderViewItem ----------------------------------------------------------------------------

Definition at line 322 of file llfolderview.h.

Referenced by LLFolderView::draw(), draw(), getItemHeight(), LLFolderView::LLFolderView(), refresh(), LLFolderView::scrollToShowItem(), and LLFolderView::startRenamingSelectedItem().

const LLFontGL * LLFolderViewItem::sSmallFont = NULL [static, protected]

Definition at line 323 of file llfolderview.h.

Referenced by LLFolderView::arrange(), LLFolderView::draw(), and draw().

LLColor4 LLFolderViewItem::sFgColor [static, protected]

Definition at line 324 of file llfolderview.h.

Referenced by draw().

Definition at line 325 of file llfolderview.h.

Referenced by draw().

Definition at line 326 of file llfolderview.h.

Referenced by draw().

Definition at line 327 of file llfolderview.h.

Referenced by draw().

Definition at line 328 of file llfolderview.h.

Referenced by draw().

Definition at line 329 of file llfolderview.h.

Referenced by draw().

Definition at line 330 of file llfolderview.h.

Referenced by LLFolderView::draw(), and draw().

Definition at line 332 of file llfolderview.h.

Referenced by draw(), getLabel(), getName(), LLFolderView::LLFolderView(), refresh(), and rename().

Definition at line 333 of file llfolderview.h.

Referenced by getSearchableLabel(), and refresh().

Definition at line 334 of file llfolderview.h.

Referenced by LLFolderViewFolder::LLFolderViewFolder().

Definition at line 335 of file llfolderview.h.

Referenced by arrange(), and refresh().

Definition at line 336 of file llfolderview.h.

Referenced by getCreationDate(), LLFolderViewFolder::getCreationDate(), and refresh().

Definition at line 340 of file llfolderview.h.

Referenced by draw(), getIsCurSelection(), and setIsCurSelection().

Definition at line 341 of file llfolderview.h.

Referenced by handleMouseDown(), and handleMouseUp().

Definition at line 342 of file llfolderview.h.

Referenced by draw(), and refresh().

Definition at line 343 of file llfolderview.h.

Referenced by draw(), and refresh().

Definition at line 344 of file llfolderview.h.

Referenced by draw(), getItemHeight(), LLFolderView::scrollToShowItem(), and setIcon().

Definition at line 345 of file llfolderview.h.

Referenced by LLFolderView::draw(), draw(), LLFolderViewFolder::filter(), and filter().

std::string::size_type LLFolderViewItem::mStringMatchOffset [protected]

Definition at line 351 of file llfolderview.h.

Referenced by draw(), and filter().

Definition at line 352 of file llfolderview.h.

Referenced by LLFolderViewFolder::draw(), and draw().

Definition at line 355 of file llfolderview.h.

Referenced by draw(), LLFolderViewItem(), and ~LLFolderViewItem().

Definition at line 356 of file llfolderview.h.

Referenced by draw(), LLFolderViewItem(), and ~LLFolderViewItem().

Definition at line 357 of file llfolderview.h.

Referenced by LLFolderViewFolder::draw(), and draw().

Definition at line 358 of file llfolderview.h.

Referenced by LLFolderViewFolder::draw(), and draw().


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

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