clean up LLFrstUse and it's notification but leave OverideKeys and Sandbox intact -- reviewed by james
parent
433eb89473
commit
6a2b10d869
|
|
@ -45,6 +45,7 @@
|
|||
#include "llappviewer.h"
|
||||
#include "lltracker.h"
|
||||
|
||||
/*
|
||||
// static
|
||||
std::set<std::string> LLFirstUse::sConfigVariables;
|
||||
|
||||
|
|
@ -75,7 +76,8 @@ void LLFirstUse::resetFirstUse()
|
|||
gWarningSettings.setBOOL(*iter, TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
/*
|
||||
|
||||
// Called whenever the viewer detects that your balance went up
|
||||
void LLFirstUse::useBalanceIncrease(S32 delta)
|
||||
|
|
@ -145,6 +147,8 @@ void LLFirstUse::useBuild()
|
|||
LLNotificationsUtil::add("FirstBuild");
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
/*
|
||||
// static
|
||||
void LLFirstUse::useLeftClickNoHit()
|
||||
|
|
@ -157,6 +161,7 @@ void LLFirstUse::useLeftClickNoHit()
|
|||
}
|
||||
}
|
||||
*/
|
||||
/*
|
||||
// static
|
||||
void LLFirstUse::useTeleport()
|
||||
{
|
||||
|
|
@ -171,7 +176,7 @@ void LLFirstUse::useTeleport()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
// static
|
||||
void LLFirstUse::useOverrideKeys()
|
||||
{
|
||||
|
|
@ -187,7 +192,7 @@ void LLFirstUse::useOverrideKeys()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
// static
|
||||
void LLFirstUse::useAttach()
|
||||
{
|
||||
|
|
@ -216,6 +221,7 @@ void LLFirstUse::useInventory()
|
|||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
// static
|
||||
void LLFirstUse::useSandbox()
|
||||
|
|
@ -230,7 +236,7 @@ void LLFirstUse::useSandbox()
|
|||
LLNotificationsUtil::add("FirstSandbox", args);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
// static
|
||||
void LLFirstUse::useFlexible()
|
||||
{
|
||||
|
|
@ -277,3 +283,4 @@ void LLFirstUse::useMedia()
|
|||
//LLNotificationsUtil::add("FirstMedia");
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ object or from inventory.
|
|||
class LLFirstUse
|
||||
{
|
||||
public:
|
||||
/*
|
||||
// Add a config variable to be reset on resetFirstUse()
|
||||
static void addConfigVariable(const std::string& var);
|
||||
|
||||
|
|
@ -97,11 +98,16 @@ public:
|
|||
static void useBuild();
|
||||
// static void useLeftClickNoHit();
|
||||
static void useTeleport();
|
||||
*/
|
||||
static void useOverrideKeys();
|
||||
/*
|
||||
static void useAttach();
|
||||
static void useAppearance();
|
||||
static void useInventory();
|
||||
*/
|
||||
static void useSandbox();
|
||||
|
||||
/*
|
||||
static void useFlexible();
|
||||
static void useDebugMenus();
|
||||
static void useSculptedPrim();
|
||||
|
|
@ -109,6 +115,7 @@ public:
|
|||
|
||||
protected:
|
||||
static std::set<std::string> sConfigVariables;
|
||||
*/
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -185,8 +185,8 @@ void handleNameTagOptionChanged(const LLSD& newvalue);
|
|||
viewer_media_t get_web_media();
|
||||
bool callback_clear_browser_cache(const LLSD& notification, const LLSD& response);
|
||||
|
||||
bool callback_skip_dialogs(const LLSD& notification, const LLSD& response, LLFloaterPreference* floater);
|
||||
bool callback_reset_dialogs(const LLSD& notification, const LLSD& response, LLFloaterPreference* floater);
|
||||
//bool callback_skip_dialogs(const LLSD& notification, const LLSD& response, LLFloaterPreference* floater);
|
||||
//bool callback_reset_dialogs(const LLSD& notification, const LLSD& response, LLFloaterPreference* floater);
|
||||
|
||||
void fractionFromDecimal(F32 decimal_val, S32& numerator, S32& denominator);
|
||||
|
||||
|
|
@ -236,7 +236,7 @@ void handleNameTagOptionChanged(const LLSD& newvalue)
|
|||
}
|
||||
}
|
||||
|
||||
bool callback_skip_dialogs(const LLSD& notification, const LLSD& response, LLFloaterPreference* floater)
|
||||
/*bool callback_skip_dialogs(const LLSD& notification, const LLSD& response, LLFloaterPreference* floater)
|
||||
{
|
||||
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
|
||||
if (0 == option && floater )
|
||||
|
|
@ -265,7 +265,7 @@ bool callback_reset_dialogs(const LLSD& notification, const LLSD& response, LLFl
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
void fractionFromDecimal(F32 decimal_val, S32& numerator, S32& denominator)
|
||||
{
|
||||
|
|
@ -313,8 +313,8 @@ LLFloaterPreference::LLFloaterPreference(const LLSD& key)
|
|||
mCommitCallbackRegistrar.add("Pref.SelectSkin", boost::bind(&LLFloaterPreference::onSelectSkin, this));
|
||||
mCommitCallbackRegistrar.add("Pref.VoiceSetKey", boost::bind(&LLFloaterPreference::onClickSetKey, this));
|
||||
mCommitCallbackRegistrar.add("Pref.VoiceSetMiddleMouse", boost::bind(&LLFloaterPreference::onClickSetMiddleMouse, this));
|
||||
mCommitCallbackRegistrar.add("Pref.ClickSkipDialogs", boost::bind(&LLFloaterPreference::onClickSkipDialogs, this));
|
||||
mCommitCallbackRegistrar.add("Pref.ClickResetDialogs", boost::bind(&LLFloaterPreference::onClickResetDialogs, this));
|
||||
// mCommitCallbackRegistrar.add("Pref.ClickSkipDialogs", boost::bind(&LLFloaterPreference::onClickSkipDialogs, this));
|
||||
// mCommitCallbackRegistrar.add("Pref.ClickResetDialogs", boost::bind(&LLFloaterPreference::onClickResetDialogs, this));
|
||||
mCommitCallbackRegistrar.add("Pref.ClickEnablePopup", boost::bind(&LLFloaterPreference::onClickEnablePopup, this));
|
||||
mCommitCallbackRegistrar.add("Pref.ClickDisablePopup", boost::bind(&LLFloaterPreference::onClickDisablePopup, this));
|
||||
mCommitCallbackRegistrar.add("Pref.LogPath", boost::bind(&LLFloaterPreference::onClickLogPath, this));
|
||||
|
|
@ -1070,7 +1070,7 @@ void LLFloaterPreference::onClickSetMiddleMouse()
|
|||
// update the control right away since we no longer wait for apply
|
||||
getChild<LLUICtrl>("modifier_combo")->onCommit();
|
||||
}
|
||||
|
||||
/*
|
||||
void LLFloaterPreference::onClickSkipDialogs()
|
||||
{
|
||||
LLNotificationsUtil::add("SkipShowNextTimeDialogs", LLSD(), LLSD(), boost::bind(&callback_skip_dialogs, _1, _2, this));
|
||||
|
|
@ -1080,6 +1080,7 @@ void LLFloaterPreference::onClickResetDialogs()
|
|||
{
|
||||
LLNotificationsUtil::add("ResetShowNextTimeDialogs", LLSD(), LLSD(), boost::bind(&callback_reset_dialogs, _1, _2, this));
|
||||
}
|
||||
*/
|
||||
|
||||
void LLFloaterPreference::onClickEnablePopup()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -110,8 +110,8 @@ public:
|
|||
void onClickSetKey();
|
||||
void setKey(KEY key);
|
||||
void onClickSetMiddleMouse();
|
||||
void onClickSkipDialogs();
|
||||
void onClickResetDialogs();
|
||||
// void onClickSkipDialogs();
|
||||
// void onClickResetDialogs();
|
||||
void onClickEnablePopup();
|
||||
void onClickDisablePopup();
|
||||
void resetAllIgnored();
|
||||
|
|
|
|||
|
|
@ -811,6 +811,7 @@ Please select a proposal to view.
|
|||
Please select a history item to view.
|
||||
</notification>
|
||||
|
||||
<!--
|
||||
<notification
|
||||
icon="alertmodal.tga"
|
||||
name="ResetShowNextTimeDialogs"
|
||||
|
|
@ -832,6 +833,7 @@ Would you like to disable all popups which can be skipped?
|
|||
notext="Cancel"
|
||||
yestext="OK"/>
|
||||
</notification>
|
||||
-->
|
||||
|
||||
<notification
|
||||
icon="alertmodal.tga"
|
||||
|
|
@ -5358,6 +5360,7 @@ Grant this request?
|
|||
</form>
|
||||
</notification>
|
||||
|
||||
<!--
|
||||
<notification
|
||||
icon="notify.tga"
|
||||
name="FirstBalanceIncrease"
|
||||
|
|
@ -5373,6 +5376,7 @@ Your L$ balance is shown in the upper-right.
|
|||
You just paid L$[AMOUNT].
|
||||
Your L$ balance is shown in the upper-right.
|
||||
</notification>
|
||||
-->
|
||||
|
||||
<notification
|
||||
icon="notify.tga"
|
||||
|
|
@ -5384,6 +5388,8 @@ Your L$ balance will be updated when processing completes. If processing takes m
|
|||
|
||||
The status of your payment can be checked on your Transaction History page on your [http://secondlife.com/account/ Dashboard]
|
||||
</notification>
|
||||
|
||||
<!--
|
||||
<notification
|
||||
icon="notify.tga"
|
||||
name="FirstSit"
|
||||
|
|
@ -5408,8 +5414,9 @@ Use the controls on the right to find things and display different backgrounds.
|
|||
type="notify">
|
||||
You have opened the Build Tools. Every object you see around you was created using these tools.
|
||||
</notification>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<!--
|
||||
<notification
|
||||
icon="notify.tga"
|
||||
name="FirstLeftClickNoHit"
|
||||
|
|
@ -5418,7 +5425,7 @@ You have opened the Build Tools. Every object you see around you was created usi
|
|||
If the mouse pointer changes to a hand, you can interact with the object.
|
||||
Right-click always shows a menu of things you can do.
|
||||
</notification>
|
||||
-->
|
||||
|
||||
<notification
|
||||
icon="notify.tga"
|
||||
name="FirstTeleport"
|
||||
|
|
@ -5426,6 +5433,8 @@ You have opened the Build Tools. Every object you see around you was created usi
|
|||
You can only teleport to certain areas in this region. The arrow points to your specific destination. Click the arrow to dismiss it.
|
||||
</notification>
|
||||
|
||||
-->
|
||||
|
||||
<notification
|
||||
icon="notify.tga"
|
||||
name="FirstOverrideKeys"
|
||||
|
|
@ -5436,6 +5445,7 @@ Some objects (like guns) require you to go into mouselook to use them.
|
|||
Press 'M' to do this.
|
||||
</notification>
|
||||
|
||||
<!--
|
||||
<notification
|
||||
icon="notify.tga"
|
||||
name="FirstAppearance"
|
||||
|
|
@ -5455,6 +5465,7 @@ This is your Inventory, which contains items you own.
|
|||
* To rez something inworld, drag it onto the ground.
|
||||
* To read a notecard, double-click it.
|
||||
</notification>
|
||||
-->
|
||||
|
||||
<notification
|
||||
icon="notify.tga"
|
||||
|
|
@ -5465,6 +5476,7 @@ This is a sandbox area, and is meant to help Residents learn how to build.
|
|||
Things you build here will be deleted after you leave, so don't forget to right-click and choose 'Take' to move your creation to your Inventory.
|
||||
</notification>
|
||||
|
||||
<!--
|
||||
<notification
|
||||
icon="notify.tga"
|
||||
name="FirstFlexible"
|
||||
|
|
@ -5490,13 +5502,16 @@ To toggle this menu,
|
|||
type="notify">
|
||||
You are editing a Sculpted prim. Sculpties require a special texture to define their shape.
|
||||
</notification>
|
||||
-->
|
||||
|
||||
<!--notification
|
||||
<!--
|
||||
<notification
|
||||
icon="notify.tga"
|
||||
name="FirstMedia"
|
||||
type="notify">
|
||||
You have begun playing media. Media can set to play automatically in the preferences window under Audio / Video. Note that this can be a security risk for media sites you do not trust.
|
||||
</notification-->
|
||||
</notification>
|
||||
-->
|
||||
|
||||
<notification
|
||||
icon="notifytip.tga"
|
||||
|
|
|
|||
Loading…
Reference in New Issue