#include <llfloaterauction.h>
Public Member Functions | |
void | onClose (bool app_quitting) |
void | draw () |
Static Public Member Functions | |
static void | show () |
Private Member Functions | |
LLFloaterAuction () | |
~LLFloaterAuction () | |
void | initialize () |
Static Private Member Functions | |
static void | onClickSnapshot (void *data) |
static void | onClickOK (void *data) |
Private Attributes | |
LLTransactionID | mTransactionID |
LLAssetID | mImageID |
LLPointer< LLImageGL > | mImage |
LLSafeHandle< LLParcelSelection > | mParcelp |
S32 | mParcelID |
LLHost | mParcelHost |
Static Private Attributes | |
static LLFloaterAuction * | sInstance = NULL |
Definition at line 48 of file llfloaterauction.h.
LLFloaterAuction::LLFloaterAuction | ( | ) | [private] |
Definition at line 74 of file llfloaterauction.cpp.
References LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetValue(), LLControlGroup::getBOOL(), LLSingleton< LLUICtrlFactory >::getInstance(), gSavedSettings, onClickOK(), onClickSnapshot(), and LLSavedSettingsGlue::setBOOL().
Referenced by show().
LLFloaterAuction::~LLFloaterAuction | ( | ) | [private] |
void LLFloaterAuction::onClose | ( | bool | app_quitting | ) | [inline, virtual] |
Reimplemented from LLFloater.
Definition at line 52 of file llfloaterauction.h.
References FALSE, and LLFloater::setVisible().
void LLFloaterAuction::draw | ( | void | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 141 of file llfloaterauction.cpp.
References LLPanel::childGetRect(), LLGLImmediate::color3f(), LLFloater::draw(), LLRectBase< Type >::getHeight(), LLRectBase< Type >::getWidth(), gGL, gl_draw_scaled_image(), gl_rect_2d(), LLFloater::isMinimized(), LLRectBase< Type >::mBottom, mImage, LLRectBase< Type >::mLeft, LLPointer< Type >::notNull(), and LLRectBase< Type >::stretch().
void LLFloaterAuction::show | ( | ) | [static] |
Definition at line 96 of file llfloaterauction.cpp.
References LLFloater::center(), initialize(), LLFloaterAuction(), LLFloater::open(), LLFloater::setFocus(), sInstance, and TRUE.
Referenced by LLPanelLandGeneral::onClickStartAuction().
void LLFloaterAuction::initialize | ( | ) | [private] |
Definition at line 108 of file llfloaterauction.cpp.
References LLPanel::childEnable(), LLPanel::childSetEnabled(), LLPanel::childSetText(), LLParcel::getForSale(), LLViewerRegion::getHost(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLParcel::getLocalID(), LLParcel::getName(), LLViewerParcelMgr::getParcelSelection(), LLViewerParcelMgr::getSelectionRegion(), LLPanel::getString(), LLHost::invalidate(), mImage, mImageID, mParcelHost, mParcelID, mParcelp, NULL, LLStringBase< char >::null, and LLUUID::setNull().
Referenced by show().
void LLFloaterAuction::onClickSnapshot | ( | void * | data | ) | [static, private] |
Definition at line 170 of file llfloaterauction.cpp.
References LLAssetType::AT_IMAGE_TGA, LLAssetType::AT_TEXTURE, FALSE, gAgent, LLControlGroup::getBOOL(), LLAgent::getSecureSessionID(), LLViewerWindow::getWindowHeight(), LLViewerWindow::getWindowWidth(), gForceRenderLandFence, gSavedSettings, gVFS, gViewerWindow, llendl, llinfos, llwarns, LLViewerImage::MAX_IMAGE_SIZE_DEFAULT, LLViewerWindow::playSnapshotAnimAndSound(), LLViewerWindow::rawSnapshot(), TRUE, and LLVFile::writeFile().
Referenced by LLFloaterAuction().
void LLFloaterAuction::onClickOK | ( | void * | data | ) | [static, private] |
Definition at line 218 of file llfloaterauction.cpp.
References LLMessageSystem::addS32(), LLMessageSystem::addUUID(), LLSD::asString(), LLAssetType::AT_IMAGE_TGA, LLAssetType::AT_TEXTURE, auction_j2c_upload_done(), auction_tga_upload_done(), FALSE, gAgent, gAssetStorage, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), NULL, LLMessageSystem::sendReliable(), LLNotifyBox::showXml(), and LLAssetStorage::storeAssetData().
Referenced by LLFloaterAuction().
LLFloaterAuction * LLFloaterAuction::sInstance = NULL [static, private] |
---------------------------------------------------------------------------- Class llfloaterauction ----------------------------------------------------------------------------
Definition at line 66 of file llfloaterauction.h.
Referenced by show(), and ~LLFloaterAuction().
Definition at line 69 of file llfloaterauction.h.
LLAssetID LLFloaterAuction::mImageID [private] |
LLPointer<LLImageGL> LLFloaterAuction::mImage [private] |
S32 LLFloaterAuction::mParcelID [private] |
LLHost LLFloaterAuction::mParcelHost [private] |