Preference button to clear settings

This commit is contained in:
Siana Gearz
2012-03-05 19:05:30 +01:00
parent edd1b4d8e7
commit 5eb90ef9cd
7 changed files with 126 additions and 3 deletions

View File

@@ -124,6 +124,10 @@ public:
static void switchTab(S32 i);
// *HACK: Close without doing anything.
// This is used by the "reset all settings" button.
static void closeWithoutSaving();
protected:
LLPreferenceCore *mPreferenceCore;
@@ -133,6 +137,7 @@ protected:
LLButton *mOKBtn;
LLButton *mCancelBtn;
LLButton *mApplyBtn;
bool mExitWithoutSaving;
static void onClickAbout(void*);
static void onBtnOK(void*);