Grid currency, partial

This commit is contained in:
Siana Gearz
2011-02-11 19:56:30 +01:00
parent 1919c00f2d
commit d97f87b05f
82 changed files with 1164 additions and 1130 deletions

View File

@@ -54,6 +54,8 @@
#include "lluictrlfactory.h"
#include "llviewerwindow.h"
#include "hippogridmanager.h"
LLFloaterBuyContents* LLFloaterBuyContents::sInstance = NULL;
LLFloaterBuyContents::LLFloaterBuyContents()
@@ -129,6 +131,7 @@ void LLFloaterBuyContents::show(const LLSaleInfo& sale_info)
}
sInstance->childSetTextArg("contains_text", "[NAME]", node->mName);
sInstance->childSetTextArg("buy_text", "[CURRENCY]", gHippoGridManager->getConnectedGrid()->getCurrencySymbol());
sInstance->childSetTextArg("buy_text", "[AMOUNT]", llformat("%d", sale_info.getSalePrice()));
sInstance->childSetTextArg("buy_text", "[NAME]", owner_name);