diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/llui/lluictrl.cpp | 22 | ||||
| -rw-r--r-- | indra/llui/lluictrl.h | 22 | ||||
| -rw-r--r-- | indra/llui/llview.cpp | 5 | ||||
| -rw-r--r-- | indra/llui/llview.h | 5 | ||||
| -rw-r--r-- | indra/newview/skins/default/textures/textures.xml | 3 | ||||
| -rw-r--r-- | indra/newview/skins/default/xui/en/floater_aaa.xml | 1 | ||||
| -rw-r--r-- | indra/newview/skins/default/xui/en/floater_test_textbox.xml | 15 | ||||
| -rw-r--r-- | indra/newview/skins/default/xui/en/panel_status_bar.xml | 13 | 
8 files changed, 41 insertions, 45 deletions
diff --git a/indra/llui/lluictrl.cpp b/indra/llui/lluictrl.cpp index 1e0af1201f..706712ec5e 100644 --- a/indra/llui/lluictrl.cpp +++ b/indra/llui/lluictrl.cpp @@ -46,6 +46,28 @@ static LLDefaultChildRegistry::Register<LLUICtrl> r("ui_ctrl");  template class LLUICtrl* LLView::getChild<class LLUICtrl>(  	const std::string& name, BOOL recurse) const; +LLUICtrl::CallbackParam::CallbackParam() +:	name("name"), +	function_name("function"), +	parameter("parameter"), +	control_name("control") // Shortcut to control -> "control_name" for backwards compatability			 +{ +	addSynonym(parameter, "userdata"); +} + +LLUICtrl::EnableControls::EnableControls() +:	enabled("enabled_control"), +	disabled("disabled_control") +{} + +LLUICtrl::ControlVisibility::ControlVisibility() +:	visible("visibility_control"), +	invisible("invisibility_control") +{ +	addSynonym(visible, "visiblity_control"); +	addSynonym(invisible, "invisiblity_control"); +} +  LLUICtrl::Params::Params()  :	tab_stop("tab_stop", true),  	chrome("chrome", false), diff --git a/indra/llui/lluictrl.h b/indra/llui/lluictrl.h index ac916c9a43..b20ff5d798 100644 --- a/indra/llui/lluictrl.h +++ b/indra/llui/lluictrl.h @@ -75,14 +75,7 @@ public:  		Optional<std::string>	control_name; -		CallbackParam() -		  :	name("name"), -			function_name("function"), -			parameter("parameter"), -			control_name("control") // Shortcut to control -> "control_name" for backwards compatability			 -		{ -			addSynonym(parameter, "userdata"); -		} +		CallbackParam();  	};  	struct CommitCallbackParam : public LLInitParam::Block<CommitCallbackParam, CallbackParam > @@ -105,23 +98,14 @@ public:  		Alternative<std::string> enabled;  		Alternative<std::string> disabled; -		EnableControls() -		: enabled("enabled_control"), -		  disabled("disabled_control") -		{} +		EnableControls();  	};	  	struct ControlVisibility : public LLInitParam::Choice<ControlVisibility>  	{  		Alternative<std::string> visible;  		Alternative<std::string> invisible; -		ControlVisibility() -		:	visible("visibility_control"), -			invisible("invisibility_control") -		{ -			addSynonym(visible, "visiblity_control"); -			addSynonym(invisible, "invisiblity_control"); -		} +		ControlVisibility();  	};	  	struct Params : public LLInitParam::Block<Params, LLView::Params>  	{ diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp index e7e8b1b858..23e4131e6d 100644 --- a/indra/llui/llview.cpp +++ b/indra/llui/llview.cpp @@ -83,6 +83,11 @@ template class LLView* LLView::getChild<class LLView>(  static LLDefaultChildRegistry::Register<LLView> r("view"); +LLView::Follows::Follows() +:   string(""), +	flags("flags", FOLLOWS_LEFT | FOLLOWS_TOP) +{} +  LLView::Params::Params()  :	name("name", std::string("unnamed")),  	enabled("enabled", true), diff --git a/indra/llui/llview.h b/indra/llui/llview.h index 8ee05675c1..d485244a05 100644 --- a/indra/llui/llview.h +++ b/indra/llui/llview.h @@ -111,10 +111,7 @@ public:  		Alternative<std::string>	string;  		Alternative<U32>			flags; -        Follows() -		:   string(""), -			flags("flags", FOLLOWS_LEFT | FOLLOWS_TOP) -        {} +        Follows();  	};  	struct Params : public LLInitParam::Block<Params> diff --git a/indra/newview/skins/default/textures/textures.xml b/indra/newview/skins/default/textures/textures.xml index 3576b6ed77..c7810c6d55 100644 --- a/indra/newview/skins/default/textures/textures.xml +++ b/indra/newview/skins/default/textures/textures.xml @@ -53,6 +53,9 @@ with the same filename but different name    <texture name="Arrow_Left" file_name="widgets/Arrow_Left.png" preload="true" />    <texture name="Arrow_Right" file_name="widgets/Arrow_Right.png" preload="true" /> +  <texture name="Arrow_Up" file_name="widgets/Arrow_Up.png" preload="true" /> +  <texture name="Arrow_Down" file_name="widgets/Arrow_Down.png" preload="true" /> +    <texture name="Arrow_Small_Up" file_name="widgets/Arrow_Small_Up.png" preload="true" />    <texture name="Arrow_Small_Left" file_name="widgets/Arrow_Small_Left.png" preload="true" />    <texture name="Arrow_Small_Right" file_name="widgets/Arrow_Small_Right.png" preload="true" /> diff --git a/indra/newview/skins/default/xui/en/floater_aaa.xml b/indra/newview/skins/default/xui/en/floater_aaa.xml index 30eacec060..d2d92b46d4 100644 --- a/indra/newview/skins/default/xui/en/floater_aaa.xml +++ b/indra/newview/skins/default/xui/en/floater_aaa.xml @@ -5,6 +5,7 @@   name="floater_aaa"   can_resize="true"    width="500"> +  <string name="bump_parabuild">1</string>    <text_editor    enabled="false"    follows="all" diff --git a/indra/newview/skins/default/xui/en/floater_test_textbox.xml b/indra/newview/skins/default/xui/en/floater_test_textbox.xml index 3aeb7c93e7..22787d029d 100644 --- a/indra/newview/skins/default/xui/en/floater_test_textbox.xml +++ b/indra/newview/skins/default/xui/en/floater_test_textbox.xml @@ -94,11 +94,7 @@ The 华文细黑 brown fox ヒラキjumped over the lazy dog.        SansSerif BOLD UNDERLINE      </text>      <text -   type="string" -   length="1"     bottom="390" -   label="N" -   layout="topleft"     left="10"     name="right_aligned_text"     width="380" @@ -107,11 +103,7 @@ The 华文细黑 brown fox ヒラキjumped over the lazy dog.      Right aligned text    </text>    <text - type="string" - length="1"   bottom="390" - label="N" - layout="topleft"   left="10"   name="centered_text"   width="380" @@ -120,11 +112,7 @@ The 华文细黑 brown fox ヒラキjumped over the lazy dog.      Centered text    </text>    <text - type="string" - length="1"   height="60" - label="N" - layout="topleft"   left="10"   name="left_aligned_text"   width="380" @@ -133,11 +121,8 @@ The 华文细黑 brown fox ヒラキjumped over the lazy dog.      Left aligned text    </text>    <text -   type="string" -   length="1"     bottom="390"     label="N" -   layout="topleft"     left="10"     name="floater_map_north"     right="30" diff --git a/indra/newview/skins/default/xui/en/panel_status_bar.xml b/indra/newview/skins/default/xui/en/panel_status_bar.xml index 65bc48265d..e357301152 100644 --- a/indra/newview/skins/default/xui/en/panel_status_bar.xml +++ b/indra/newview/skins/default/xui/en/panel_status_bar.xml @@ -42,28 +42,27 @@      <button       auto_resize="true"       halign="right" -     follows="right|bottom" +     follows="right|top"       image_selected="BuyArrow_Over"       image_unselected="BuyArrow_Off"       image_pressed="BuyArrow_Press"       height="16" -     left="-200" +     right="-120"       name="buycurrency"       pad_right="20px"       tool_tip="My Balance: Click to buy more L$" -     top="1" +     top="0"       width="90" />      <text       type="string" -     length="1"       font="SansSerifSmall"       text_readonly_color="TimeTextColor"       follows="right|bottom"       halign="right"       height="16" -     top="5" +     top="4"       layout="topleft" -     left_pad="-5" +     left_pad="-7"       name="TimeText"       text_color="TimeTextColor"       tool_tip="Current time (Pacific)" @@ -76,7 +75,7 @@       image_selected="parcel_drk_VoiceNo"       image_unselected="parcel_drk_Voice"       is_toggle="true" -     left_pad="5" +     left_pad="18"       top="1"       name="volume_btn"       tool_tip="Global Volume Control"  | 
