STORM-2082 Revert name of Reset button from Undo back to Reset. Hopefully this will be renamed Recommended Settings.
Display a test icon (artwork needed) in the pulldown panelmaster
parent
9785a88ba4
commit
5be238b127
|
|
@ -342,7 +342,6 @@ LLFloaterPreference::LLFloaterPreference(const LLSD& key)
|
|||
mCommitCallbackRegistrar.add("Pref.LogPath", boost::bind(&LLFloaterPreference::onClickLogPath, this));
|
||||
mCommitCallbackRegistrar.add("Pref.HardwareSettings", boost::bind(&LLFloaterPreference::onOpenHardwareSettings, this));
|
||||
mCommitCallbackRegistrar.add("Pref.HardwareDefaults", boost::bind(&LLFloaterPreference::setHardwareDefaults, this));
|
||||
mCommitCallbackRegistrar.add("Pref.Recommended", boost::bind(&LLFloaterPreference::setRecommended, this));
|
||||
mCommitCallbackRegistrar.add("Pref.VertexShaderEnable", boost::bind(&LLFloaterPreference::onVertexShaderEnable, this));
|
||||
mCommitCallbackRegistrar.add("Pref.WindowedMod", boost::bind(&LLFloaterPreference::onCommitWindowedMode, this));
|
||||
mCommitCallbackRegistrar.add("Pref.UpdateSliderText", boost::bind(&LLFloaterPreference::refreshUI,this));
|
||||
|
|
@ -798,13 +797,6 @@ void LLFloaterPreference::setHardwareDefaults()
|
|||
if (panel)
|
||||
panel->setHardwareDefaults();
|
||||
}
|
||||
}
|
||||
|
||||
void LLFloaterPreference::setRecommended()
|
||||
{
|
||||
LLFeatureManager::getInstance()->applyRecommendedSettings();
|
||||
|
||||
refreshEnabledGraphics();
|
||||
|
||||
LLPresetsManager::getInstance()->savePreset(PRESETS_GRAPHIC, PRESETS_DEFAULT);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,8 +89,9 @@ void LLPanelPresetsPulldown::populatePanel()
|
|||
|
||||
if (name == gSavedSettings.getString("PresetGraphicActive"))
|
||||
{
|
||||
row["columns"][1]["column"] = "active_name";
|
||||
row["columns"][1]["value"] = "X";
|
||||
row["columns"][1]["column"] = "icon";
|
||||
row["columns"][1]["type"] = "icon";
|
||||
row["columns"][1]["value"] = "Inv_Landmark";
|
||||
}
|
||||
|
||||
scroll->addElement(row);
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@ public:
|
|||
|
||||
preset_name_list_t mPresetNames;
|
||||
|
||||
//protected:
|
||||
LLPresetsManager();
|
||||
~LLPresetsManager();
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
<button
|
||||
follows="top|left"
|
||||
height="23"
|
||||
label="SaveAs..."
|
||||
label="Save As..."
|
||||
layout="topleft"
|
||||
left_pad="5"
|
||||
name="PrefSaveButton"
|
||||
|
|
@ -949,7 +949,7 @@
|
|||
<button
|
||||
follows="left|bottom"
|
||||
height="23"
|
||||
label="Undo"
|
||||
label="Recommended Settings"
|
||||
layout="topleft"
|
||||
left="10"
|
||||
name="Defaults"
|
||||
|
|
@ -958,18 +958,6 @@
|
|||
<button.commit_callback
|
||||
function="Pref.HardwareDefaults" />
|
||||
</button>
|
||||
<button
|
||||
follows="left|bottom"
|
||||
height="23"
|
||||
label="Recommended Settings"
|
||||
layout="topleft"
|
||||
left_pad="5"
|
||||
name="Recommended"
|
||||
top="310"
|
||||
width="190">
|
||||
<button.commit_callback
|
||||
function="Pref.Recommended" />
|
||||
</button>
|
||||
<button
|
||||
follows="right|bottom"
|
||||
height="23"
|
||||
|
|
|
|||
|
|
@ -38,12 +38,10 @@
|
|||
left_delta="0"
|
||||
name="preset_list">
|
||||
<scroll_list.columns
|
||||
width="10"
|
||||
label="Active"
|
||||
name="active_name" />
|
||||
name="icon"
|
||||
width="16" />
|
||||
<scroll_list.columns
|
||||
width="200"
|
||||
label="Preset Name"
|
||||
relative_width="1"
|
||||
name="preset_name" />
|
||||
<scroll_list.commit_callback
|
||||
function="Presets.RowClick" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue