LLFloaterView Class Reference

#include <llfloater.h>

Inheritance diagram for LLFloaterView:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterView:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::set< LLView * > skip_list_t

Public Member Functions

 LLFloaterView (const LLString &name, const LLRect &rect)
void reshape (S32 width, S32 height, BOOL called_from_parent=TRUE)
void reshapeFloater (S32 width, S32 height, BOOL called_from_parent, BOOL adjust_vertical)
void draw ()
LLRect getSnapRect () const
void refresh ()
void getNewFloaterPosition (S32 *left, S32 *top)
void resetStartingFloaterPosition ()
LLRect findNeighboringPosition (LLFloater *reference_floater, LLFloater *neighbor)
void adjustToFitScreen (LLFloater *floater, BOOL allow_partial_outside)
void getMinimizePosition (S32 *left, S32 *bottom)
void restoreAll ()
void pushVisibleAll (BOOL visible, const skip_list_t &skip_list=skip_list_t())
void popVisibleAll (const skip_list_t &skip_list=skip_list_t())
void setCycleMode (BOOL mode)
BOOL getCycleMode () const
void bringToFront (LLFloater *child, BOOL give_focus=TRUE)
void highlightFocusedFloater ()
void unhighlightFocusedFloater ()
void focusFrontFloater ()
void destroyAllChildren ()
void closeAllChildren (bool app_quitting)
BOOL allChildrenClosed ()
LLFloatergetFrontmost ()
LLFloatergetBackmost ()
LLFloatergetParentFloater (LLView *viewp)
LLFloatergetFocusedFloater ()
void syncFloaterTabOrder ()
S32 getZOrder (LLFloater *child)
void setSnapOffsetBottom (S32 offset)

Private Attributes

S32 mColumn
S32 mNextLeft
S32 mNextTop
BOOL mFocusCycleMode
S32 mSnapOffsetBottom


Detailed Description

Definition at line 301 of file llfloater.h.


Member Typedef Documentation

typedef std::set<LLView*> LLFloaterView::skip_list_t

Definition at line 322 of file llfloater.h.


Constructor & Destructor Documentation

LLFloaterView::LLFloaterView ( const LLString name,
const LLRect rect 
)

Definition at line 1660 of file llfloater.cpp.

References FALSE, resetStartingFloaterPosition(), and LLUICtrl::setTabStop().

Here is the call graph for this function:


Member Function Documentation

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

Reimplemented from LLView.

Definition at line 1670 of file llfloater.cpp.

References ADJUST_VERTICAL_YES, and reshapeFloater().

Here is the call graph for this function:

void LLFloaterView::reshapeFloater ( S32  width,
S32  height,
BOOL  called_from_parent,
BOOL  adjust_vertical 
)

void LLFloaterView::draw ( void   )  [virtual]

Reimplemented from LLView.

Definition at line 2202 of file llfloater.cpp.

References LLView::draw(), LLView::drawChild(), LLView::getChildList(), getFocusedFloater(), mFocusCycleMode, refresh(), and TABBED_FLOATER_OFFSET.

Here is the call graph for this function:

LLRect LLFloaterView::getSnapRect (  )  const [virtual]

Reimplemented from LLView.

Definition at line 2228 of file llfloater.cpp.

References LLView::getRect(), LLRectBase< Type >::mBottom, and mSnapOffsetBottom.

Referenced by adjustToFitScreen().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterView::refresh (  ) 

Definition at line 2133 of file llfloater.cpp.

References adjustToFitScreen(), LLView::getChildList(), LLView::getVisible(), and LLFloater::isMinimized().

Referenced by draw().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterView::getNewFloaterPosition ( S32 left,
S32 top 
)

void LLFloaterView::resetStartingFloaterPosition (  ) 

Definition at line 1805 of file llfloater.cpp.

References LLRectBase< Type >::getHeight(), LLWindow::getSize(), LLRectBase< Type >::getWidth(), LLView::getWindow(), mColumn, MENU_BAR_HEIGHT, mNextLeft, mNextTop, LLCoord::mX, LLCoord::mY, and S32.

Referenced by getNewFloaterPosition(), inventory_offer_callback(), and LLFloaterView().

Here is the call graph for this function:

Here is the caller graph for this function:

LLRect LLFloaterView::findNeighboringPosition ( LLFloater reference_floater,
LLFloater neighbor 
)

void LLFloaterView::adjustToFitScreen ( LLFloater floater,
BOOL  allow_partial_outside 
)

void LLFloaterView::getMinimizePosition ( S32 left,
S32 bottom 
)

void LLFloaterView::restoreAll (  ) 

Definition at line 1745 of file llfloater.cpp.

References FALSE, LLView::getChildList(), and LLFloater::setMinimized().

Referenced by LLAppViewer::disconnectViewer().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterView::pushVisibleAll ( BOOL  visible,
const skip_list_t skip_list = skip_list_t() 
)

Definition at line 2330 of file llfloater.cpp.

References LLView::getChildList(), and LLView::pushVisible().

Referenced by LLAgent::endAnimationUpdateUI().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterView::popVisibleAll ( const skip_list_t skip_list = skip_list_t()  ) 

Definition at line 2343 of file llfloater.cpp.

References LLView::getChildList(), and LLView::popVisible().

Referenced by LLAgent::endAnimationUpdateUI().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterView::setCycleMode ( BOOL  mode  )  [inline]

Definition at line 326 of file llfloater.h.

References mFocusCycleMode.

Referenced by LLViewerWindow::handleKey(), and LLViewerWindow::handlePerFrameHover().

Here is the caller graph for this function:

BOOL LLFloaterView::getCycleMode (  )  const [inline]

Definition at line 327 of file llfloater.h.

References mFocusCycleMode.

Referenced by LLViewerWindow::handlePerFrameHover().

Here is the caller graph for this function:

void LLFloaterView::bringToFront ( LLFloater child,
BOOL  give_focus = TRUE 
)

void LLFloaterView::highlightFocusedFloater (  ) 

Definition at line 1971 of file llfloater.cpp.

References LLFocusMgr::childHasKeyboardFocus(), LLFloater::cleanupHandles(), LLView::getChildList(), gFocusMgr, LLFloater::isDependent(), LLFloater::mDependents, LLFloater::setForeground(), and TRUE.

Referenced by LLViewerWindow::handlePerFrameHover().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterView::unhighlightFocusedFloater (  ) 

Definition at line 2013 of file llfloater.cpp.

References FALSE, LLView::getChildList(), and LLFloater::setForeground().

Here is the call graph for this function:

void LLFloaterView::focusFrontFloater (  ) 

Definition at line 2023 of file llfloater.cpp.

References getFrontmost(), LLFloater::setFocus(), and TRUE.

Referenced by LLFloater::closeFocusedFloater().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterView::destroyAllChildren (  ) 

Definition at line 2082 of file llfloater.cpp.

References LLView::deleteAllChildren().

Here is the call graph for this function:

void LLFloaterView::closeAllChildren ( bool  app_quitting  ) 

Definition at line 2087 of file llfloater.cpp.

References LLFloater::canClose(), LLFloater::close(), LLView::getChildList(), and LLMortician::isDead().

Referenced by LLFileCloseAllWindows::handleEvent(), and LLAppViewer::requestQuit().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLFloaterView::allChildrenClosed (  ) 

Definition at line 2115 of file llfloater.cpp.

References LLFloater::canClose(), LLView::getChildList(), LLView::getVisible(), and LLMortician::isDead().

Referenced by LLFileEnableCloseAllWindows::handleEvent(), and LLAppViewer::idleShutdown().

Here is the call graph for this function:

Here is the caller graph for this function:

LLFloater * LLFloaterView::getFrontmost (  ) 

LLFloater * LLFloaterView::getBackmost (  ) 

Definition at line 2262 of file llfloater.cpp.

References LLView::getChildList(), LLView::getVisible(), and NULL.

Here is the call graph for this function:

LLFloater * LLFloaterView::getParentFloater ( LLView viewp  ) 

LLFloater * LLFloaterView::getFocusedFloater (  ) 

Definition at line 2236 of file llfloater.cpp.

References LLView::getChildList(), LLUICtrl::hasFocus(), LLUICtrl::isCtrl(), and NULL.

Referenced by draw(), and LLFileEnableCloseWindow::handleEvent().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterView::syncFloaterTabOrder (  ) 

Definition at line 2276 of file llfloater.cpp.

References bringToFront(), LLFocusMgr::childHasKeyboardFocus(), FALSE, LLView::getChildList(), gFocusMgr, and LLView::moveChildToFrontOfTabGroup().

Referenced by LLViewerWindow::handlePerFrameHover().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLFloaterView::getZOrder ( LLFloater child  ) 

Definition at line 2315 of file llfloater.cpp.

References LLView::getChildList(), and S32.

Referenced by LLInventoryView::getActiveInventory().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterView::setSnapOffsetBottom ( S32  offset  )  [inline]

Definition at line 348 of file llfloater.h.

References mSnapOffsetBottom.

Referenced by LLViewerWindow::handlePerFrameHover().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 351 of file llfloater.h.

Referenced by getNewFloaterPosition(), and resetStartingFloaterPosition().

Definition at line 352 of file llfloater.h.

Referenced by getNewFloaterPosition(), and resetStartingFloaterPosition().

Definition at line 353 of file llfloater.h.

Referenced by getNewFloaterPosition(), and resetStartingFloaterPosition().

Definition at line 354 of file llfloater.h.

Referenced by draw(), getCycleMode(), and setCycleMode().

Definition at line 355 of file llfloater.h.

Referenced by getSnapRect(), and setSnapOffsetBottom().


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

Generated on Fri May 16 08:46:57 2008 for SecondLife by  doxygen 1.5.5