summaryrefslogtreecommitdiff
path: root/indra/newview/llchiclet.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-07-06 21:58:04 +0000
committerJames Cook <james@lindenlab.com>2009-07-06 21:58:04 +0000
commitd6101558a171dbd2390792ac1e78d09fc2c27711 (patch)
treee5fea96c850fb254237c2869f2234fc4a4367e98 /indra/newview/llchiclet.cpp
parent39905b927d60e204438705728d2c214cb3f9ef81 (diff)
Merge xui-army-5 to viewer-2, includes layout, art, and color changes, also UI color refactoring and new FreeType font library on Linux.
svn merge -r126038:126164 svn+ssh://svn.lindenlab.com/svn/linden/branches/skinning/xui-army-5
Diffstat (limited to 'indra/newview/llchiclet.cpp')
-rw-r--r--indra/newview/llchiclet.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/indra/newview/llchiclet.cpp b/indra/newview/llchiclet.cpp
index 811ce39228..a97e56d60b 100644
--- a/indra/newview/llchiclet.cpp
+++ b/indra/newview/llchiclet.cpp
@@ -729,13 +729,11 @@ LLTalkButton::LLTalkButton(const LLUICtrl::Params& p)
speak_params.label("Speak");
speak_params.label_selected("Speak");
speak_params.font(LLFontGL::getFontSansSerifSmall());
- speak_params.label_color(LLColor4::black);
- speak_params.label_color_selected(LLColor4::black);
speak_params.tab_stop(false);
speak_params.is_toggle(true);
speak_params.picture_style(true);
- speak_params.image_selected(LLUI::getUIImage("flyout_btn_left_selected.tga"));
- speak_params.image_unselected(LLUI::getUIImage("flyout_btn_left.tga"));
+ speak_params.image_selected(LLUI::getUIImage("SegmentedBtn_Left_Selected"));
+ speak_params.image_unselected(LLUI::getUIImage("SegmentedBtn_Left_Off"));
mSpeakBtn = LLUICtrlFactory::create<LLButton>(speak_params);
addChild(mSpeakBtn);
@@ -749,8 +747,8 @@ LLTalkButton::LLTalkButton(const LLUICtrl::Params& p)
show_params.tab_stop(false);
show_params.is_toggle(true);
show_params.picture_style(true);
- show_params.image_selected(LLUI::getUIImage("talk_btn_right_selected.tga"));
- show_params.image_unselected(LLUI::getUIImage("talk_btn_right.tga"));
+ show_params.image_selected(LLUI::getUIImage("ComboButton_Selected"));
+ show_params.image_unselected(LLUI::getUIImage("ComboButton_Off"));
mShowBtn = LLUICtrlFactory::create<LLButton>(show_params);
addChild(mShowBtn);