#include <llpreview.h>
Public Member Functions | |
LLMultiPreview (const LLRect &rect) | |
void | open () |
void | tabOpen (LLFloater *opened_floater, bool from_click) |
void | userSetShape (const LLRect &new_rect) |
Static Public Member Functions | |
static LLMultiPreview * | getAutoOpenInstance (const LLUUID &id) |
static void | setAutoOpenInstance (LLMultiPreview *previewp, const LLUUID &id) |
Protected Types | |
typedef std::map< LLUUID, LLHandle< LLFloater > > | handle_map_t |
Static Protected Attributes | |
static handle_map_t | sAutoOpenPreviewHandles |
Definition at line 48 of file llpreview.h.
typedef std::map<LLUUID, LLHandle<LLFloater> > LLMultiPreview::handle_map_t [protected] |
LLMultiPreview::LLMultiPreview | ( | const LLRect & | rect | ) |
Definition at line 544 of file llpreview.cpp.
References LLMultiFloater::setCanResize(), and TRUE.
void LLMultiPreview::open | ( | void | ) | [virtual] |
Reimplemented from LLMultiFloater.
Definition at line 549 of file llpreview.cpp.
References LLPreview::getAssetStatus(), LLTabContainer::getCurrentPanel(), LLPreview::loadAsset(), LLMultiFloater::mTabContainer, LLMultiFloater::open(), and LLPreview::PREVIEW_ASSET_UNLOADED.
Referenced by doToSelected(), and LLFolderView::openSelectedItems().
void LLMultiPreview::tabOpen | ( | LLFloater * | opened_floater, | |
bool | from_click | |||
) | [virtual] |
Reimplemented from LLMultiFloater.
Definition at line 571 of file llpreview.cpp.
References LLPreview::getAssetStatus(), LLPreview::loadAsset(), and LLPreview::PREVIEW_ASSET_UNLOADED.
void LLMultiPreview::userSetShape | ( | const LLRect & | new_rect | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 560 of file llpreview.cpp.
References LLTabContainer::getCurrentPanel(), LLRectBase< Type >::getHeight(), LLView::getRect(), LLRectBase< Type >::getWidth(), LLMultiFloater::mTabContainer, LLPreview::userResized(), and LLFloater::userSetShape().
LLMultiPreview * LLMultiPreview::getAutoOpenInstance | ( | const LLUUID & | id | ) | [static] |
void LLMultiPreview::setAutoOpenInstance | ( | LLMultiPreview * | previewp, | |
const LLUUID & | id | |||
) | [static] |
Definition at line 592 of file llpreview.cpp.
References LLFloater::getHandle(), and sAutoOpenPreviewHandles.
std::map< LLUUID, LLHandle< LLFloater > > LLMultiPreview::sAutoOpenPreviewHandles [static, protected] |
Definition at line 62 of file llpreview.h.
Referenced by getAutoOpenInstance(), and setAutoOpenInstance().