diff options
Diffstat (limited to 'linden/indra/newview/llpanelskins.cpp')
-rw-r--r-- | linden/indra/newview/llpanelskins.cpp | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/linden/indra/newview/llpanelskins.cpp b/linden/indra/newview/llpanelskins.cpp index deb7bc9..5dee018 100644 --- a/linden/indra/newview/llpanelskins.cpp +++ b/linden/indra/newview/llpanelskins.cpp | |||
@@ -58,10 +58,10 @@ BOOL LLPanelSkins::postBuild() | |||
58 | skin_select->setCommitCallback(onSelectSkin); | 58 | skin_select->setCommitCallback(onSelectSkin); |
59 | skin_select->setCallbackUserData(this); | 59 | skin_select->setCallbackUserData(this); |
60 | 60 | ||
61 | getChild<LLButton>("meta7_preview")->setClickedCallback(onClickMeta7, this); | 61 | getChild<LLButton>("pslpurple_preview")->setClickedCallback(onClickSkin0, this); |
62 | getChild<LLButton>("m7white_preview")->setClickedCallback(onClickM7White, this); | 62 | getChild<LLButton>("gemini_preview")->setClickedCallback(onClickSkin1, this); |
63 | getChild<LLButton>("pslpurple_preview")->setClickedCallback(onClickPSLPurple, this); | 63 | getChild<LLButton>("dark_preview")->setClickedCallback(onClickSkin2, this); |
64 | getChild<LLButton>("classic_preview")->setClickedCallback(onClickClassic, this); | 64 | getChild<LLButton>("classic_preview")->setClickedCallback(onClickSkin3, this); |
65 | 65 | ||
66 | refresh(); | 66 | refresh(); |
67 | return TRUE; | 67 | return TRUE; |
@@ -96,33 +96,34 @@ void LLPanelSkins::onSelectSkin(LLUICtrl* ctrl, void* data) | |||
96 | } | 96 | } |
97 | 97 | ||
98 | //static | 98 | //static |
99 | void LLPanelSkins::onClickClassic(void* data) | 99 | void LLPanelSkins::onClickSkin0(void* data) |
100 | { | 100 | { |
101 | LLPanelSkins* self = (LLPanelSkins*)data; | 101 | LLPanelSkins* self = (LLPanelSkins*)data; |
102 | gSavedSettings.setString("SkinCurrent", "default"); | 102 | gSavedSettings.setString("SkinCurrent", "pslpurple"); |
103 | self->getChild<LLRadioGroup>("skin_selection")->setValue("default"); | 103 | self->getChild<LLRadioGroup>("skin_selection")->setValue("pslpurple"); |
104 | } | 104 | } |
105 | 105 | ||
106 | //static | 106 | //static |
107 | void LLPanelSkins::onClickMeta7(void* data) | 107 | void LLPanelSkins::onClickSkin1(void* data) |
108 | { | 108 | { |
109 | LLPanelSkins* self = (LLPanelSkins*)data; | 109 | LLPanelSkins* self = (LLPanelSkins*)data; |
110 | gSavedSettings.setString("SkinCurrent", "meta7"); | 110 | gSavedSettings.setString("SkinCurrent", "gemini"); |
111 | self->getChild<LLRadioGroup>("skin_selection")->setValue("meta7"); | 111 | self->getChild<LLRadioGroup>("skin_selection")->setValue("gemini"); |
112 | } | 112 | } |
113 | 113 | ||
114 | //static | 114 | //static |
115 | void LLPanelSkins::onClickM7White(void* data) | 115 | void LLPanelSkins::onClickSkin2(void* data) |
116 | { | 116 | { |
117 | LLPanelSkins* self = (LLPanelSkins*)data; | 117 | LLPanelSkins* self = (LLPanelSkins*)data; |
118 | gSavedSettings.setString("SkinCurrent", "white_meta7"); | 118 | gSavedSettings.setString("SkinCurrent", "dark"); |
119 | self->getChild<LLRadioGroup>("skin_selection")->setValue("white_meta7"); | 119 | self->getChild<LLRadioGroup>("skin_selection")->setValue("dark"); |
120 | } | 120 | } |
121 | 121 | ||
122 | //static | 122 | //static |
123 | void LLPanelSkins::onClickPSLPurple(void* data) | 123 | void LLPanelSkins::onClickSkin3(void* data) |
124 | { | 124 | { |
125 | LLPanelSkins* self = (LLPanelSkins*)data; | 125 | LLPanelSkins* self = (LLPanelSkins*)data; |
126 | gSavedSettings.setString("SkinCurrent", "pslpurple"); | 126 | gSavedSettings.setString("SkinCurrent", "default"); |
127 | self->getChild<LLRadioGroup>("skin_selection")->setValue("pslpurple"); | 127 | self->getChild<LLRadioGroup>("skin_selection")->setValue("default"); |
128 | } | 128 | } |
129 | |||