aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterauction.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2009-04-30 13:04:20 -0500
committerJacek Antonelli2009-04-30 13:07:16 -0500
commitca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e (patch)
tree8348301d0ac44a524f1819b777686bf086907d76 /linden/indra/newview/llfloaterauction.cpp
parentSecond Life viewer sources 1.22.11 (diff)
downloadmeta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.zip
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.gz
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.bz2
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.xz
Second Life viewer sources 1.23.0-RC
Diffstat (limited to 'linden/indra/newview/llfloaterauction.cpp')
-rw-r--r--linden/indra/newview/llfloaterauction.cpp23
1 files changed, 12 insertions, 11 deletions
diff --git a/linden/indra/newview/llfloaterauction.cpp b/linden/indra/newview/llfloaterauction.cpp
index 0813430..747431f 100644
--- a/linden/indra/newview/llfloaterauction.cpp
+++ b/linden/indra/newview/llfloaterauction.cpp
@@ -18,7 +18,8 @@
18 * There are special exceptions to the terms and conditions of the GPL as 18 * There are special exceptions to the terms and conditions of the GPL as
19 * it is applied to this Source Code. View the full text of the exception 19 * it is applied to this Source Code. View the full text of the exception
20 * in the file doc/FLOSS-exception.txt in this software distribution, or 20 * in the file doc/FLOSS-exception.txt in this software distribution, or
21 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception 21 * online at
22 * http://secondlifegrid.net/programs/open_source/licensing/flossexception
22 * 23 *
23 * By copying, modifying or distributing this software, you acknowledge 24 * By copying, modifying or distributing this software, you acknowledge
24 * that you have read and understood your obligations described above, 25 * that you have read and understood your obligations described above,
@@ -206,7 +207,7 @@ void LLFloaterAuction::onClickSnapshot(void* data)
206 207
207 self->mImage = new LLImageGL((LLImageRaw*)raw, FALSE); 208 self->mImage = new LLImageGL((LLImageRaw*)raw, FALSE);
208 gGL.getTexUnit(0)->bind(self->mImage); 209 gGL.getTexUnit(0)->bind(self->mImage);
209 self->mImage->setClamp(TRUE, TRUE); 210 self->mImage->setAddressMode(LLTexUnit::TAM_CLAMP);
210 } 211 }
211 else 212 else
212 { 213 {
@@ -238,7 +239,7 @@ void LLFloaterAuction::onClickOK(void* data)
238 FALSE); 239 FALSE);
239 self->getWindow()->incBusyCount(); 240 self->getWindow()->incBusyCount();
240 241
241 LLNotifyBox::showXml("UploadingAuctionSnapshot"); 242 LLNotifications::instance().add("UploadingAuctionSnapshot");
242 243
243 } 244 }
244 LLMessageSystem* msg = gMessageSystem; 245 LLMessageSystem* msg = gMessageSystem;
@@ -277,13 +278,13 @@ void auction_tga_upload_done(const LLUUID& asset_id, void* user_data, S32 status
277 278
278 if (0 == status) 279 if (0 == status)
279 { 280 {
280 LLNotifyBox::showXml("UploadWebSnapshotDone"); 281 LLNotifications::instance().add("UploadWebSnapshotDone");
281 } 282 }
282 else 283 else
283 { 284 {
284 LLStringUtil::format_map_t args; 285 LLSD args;
285 args["[REASON]"] = std::string(LLAssetStorage::getErrorString(status)); 286 args["REASON"] = std::string(LLAssetStorage::getErrorString(status));
286 gViewerWindow->alertXml("UploadAuctionSnapshotFail", args); 287 LLNotifications::instance().add("UploadAuctionSnapshotFail", args);
287 } 288 }
288} 289}
289 290
@@ -298,12 +299,12 @@ void auction_j2c_upload_done(const LLUUID& asset_id, void* user_data, S32 status
298 299
299 if (0 == status) 300 if (0 == status)
300 { 301 {
301 LLNotifyBox::showXml("UploadSnapshotDone"); 302 LLNotifications::instance().add("UploadSnapshotDone");
302 } 303 }
303 else 304 else
304 { 305 {
305 LLStringUtil::format_map_t args; 306 LLSD args;
306 args["[REASON]"] = std::string(LLAssetStorage::getErrorString(status)); 307 args["REASON"] = std::string(LLAssetStorage::getErrorString(status));
307 gViewerWindow->alertXml("UploadAuctionSnapshotFail", args); 308 LLNotifications::instance().add("UploadAuctionSnapshotFail", args);
308 } 309 }
309} 310}