summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/widgets/location_input.xml
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/skins/default/xui/en/widgets/location_input.xml')
-rw-r--r--indra/newview/skins/default/xui/en/widgets/location_input.xml66
1 files changed, 66 insertions, 0 deletions
diff --git a/indra/newview/skins/default/xui/en/widgets/location_input.xml b/indra/newview/skins/default/xui/en/widgets/location_input.xml
new file mode 100644
index 0000000000..32f5a18d1c
--- /dev/null
+++ b/indra/newview/skins/default/xui/en/widgets/location_input.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<!--
+*TODO: Replace hardcoded buttons width/height with getting this info from the button images.
+ Currently that doesn't work because LLUIImage::getWidth/getHeight() return 1 for the images.
+-->
+<location_input font="SansSerifSmall"
+ add_landmark_image_enabled="icon_event_adult.tga"
+ add_landmark_image_disabled="icon_event.tga"
+ add_landmark_hpad="4"
+ allow_text_entry="true"
+ arrow_image="combobox_arrow.tga"
+ list_position="below"
+ show_text_as_tentative="false"
+ max_chars="20"
+ follows="left|top">
+ <location_input.background name="Background"
+ visible="true"
+ label=""
+ follows="left|top|right"
+ image_unselected="navbar_bg_center.tga"
+ image_selected="navbar_bg_center.tga"
+ image_disabled="navbar_bg_center.tga"
+ image_disabled_selected="navbar_bg_center.tga"
+ image_hover_selected="navbar_bg_center.tga"
+ image_hover_unselected="navbar_bg_center.tga" />
+ <location_input.info_button name="Place Information"
+ label=""
+ tool_tip="About current location"
+ width="20"
+ height="20"
+ follows="left|top"
+ image_overlay="map_infohub.tga"
+ image_unselected="navbar_bg_left.tga"
+ image_selected="navbar_bg_left.tga"
+ image_hover_selected="navbar_bg_left.tga"
+ image_hover_unselected="navbar_bg_left.tga"
+ image_disabled_selected="navbar_bg_left.tga"
+ image_disabled="navbar_bg_left.tga" />
+ <location_input.add_landmark_button name="Add Landmark"
+ label=""
+ width="16"
+ height="16"
+ tool_tip="Add to My Landmarks"
+ follows="right|top"
+ scale_image="false" />
+ <location_input.combo_button name="Location History"
+ label=""
+ tool_tip="My Location History"
+ width="20"
+ height="20"
+ image_overlay="navbar_history.tga"
+ image_overlay_alignment="center"
+ image_unselected="navbar_bg_right.tga"
+ image_selected="navbar_bg_right.tga"
+ image_disabled="navbar_bg_right.tga"
+ image_disabled_selected="navbar_bg_right.tga"
+ image_hover_selected="navbar_bg_right.tga"
+ image_hover_unselected="navbar_bg_right.tga" />
+ <location_input.combo_list bg_writeable_color="white"/>
+ <location_input.combo_editor name="Combo Text Entry"
+ select_on_focus="true"
+ font="SansSerifSmall"
+ bevel_style="none"
+ border_style="line"
+ border_thickness="0" />
+</location_input>