aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfirstuse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfirstuse.cpp')
-rw-r--r--linden/indra/newview/llfirstuse.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/linden/indra/newview/llfirstuse.cpp b/linden/indra/newview/llfirstuse.cpp
index 74381dc..1ddac8e 100644
--- a/linden/indra/newview/llfirstuse.cpp
+++ b/linden/indra/newview/llfirstuse.cpp
@@ -60,6 +60,18 @@ void LLFirstUse::disableFirstUse()
60 } 60 }
61} 61}
62 62
63// static
64void LLFirstUse::resetFirstUse()
65{
66 // Set all first-use warnings to disabled
67 for (std::set<LLString>::iterator iter = sConfigVariables.begin();
68 iter != sConfigVariables.end(); ++iter)
69 {
70 gSavedSettings.setWarning(*iter, TRUE);
71 }
72}
73
74
63// Called whenever the viewer detects that your balance went up 75// Called whenever the viewer detects that your balance went up
64void LLFirstUse::useBalanceIncrease(S32 delta) 76void LLFirstUse::useBalanceIncrease(S32 delta)
65{ 77{
@@ -214,3 +226,25 @@ void LLFirstUse::useFlexible()
214 } 226 }
215} 227}
216 228
229// static
230void LLFirstUse::useDebugMenus()
231{
232 if (gSavedSettings.getWarning("FirstDebugMenus"))
233 {
234 gSavedSettings.setWarning("FirstDebugMenus", FALSE);
235
236 LLNotifyBox::showXml("FirstDebugMenus");
237 }
238}
239
240// static
241void LLFirstUse::useSculptedPrim()
242{
243 if (gSavedSettings.getWarning("FirstSculptedPrim"))
244 {
245 gSavedSettings.setWarning("FirstSculptedPrim", FALSE);
246
247 LLNotifyBox::showXml("FirstSculptedPrim");
248
249 }
250}