aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorJacek Antonelli2009-08-09 13:53:35 -0500
committerJacek Antonelli2009-08-09 13:53:35 -0500
commit4cae0f9a64e66459af4d1d55df3c7ab30465e939 (patch)
tree83a9f3d17e05c2abfc501b40720c73f376903e2b /linden
parentBasic basic radar that kinda sorta works but not really (diff)
downloadmeta-impy-4cae0f9a64e66459af4d1d55df3c7ab30465e939.zip
meta-impy-4cae0f9a64e66459af4d1d55df3c7ab30465e939.tar.gz
meta-impy-4cae0f9a64e66459af4d1d55df3c7ab30465e939.tar.bz2
meta-impy-4cae0f9a64e66459af4d1d55df3c7ab30465e939.tar.xz
XUI tweaks and fixes to minimap.
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llnetmap.cpp3
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/floater_mini_map.xml54
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/panel_mini_map.xml44
3 files changed, 53 insertions, 48 deletions
diff --git a/linden/indra/newview/llnetmap.cpp b/linden/indra/newview/llnetmap.cpp
index 765b6e6..903f6f3 100644
--- a/linden/indra/newview/llnetmap.cpp
+++ b/linden/indra/newview/llnetmap.cpp
@@ -1118,4 +1118,5 @@ void LLNetMap::callback_invite_to_group(LLUUID group_id, void *user_data)
1118 1118
1119void LLNetMap::onClickAddFriend(void* user_data) 1119void LLNetMap::onClickAddFriend(void* user_data)
1120{ 1120{
1121} \ No newline at end of file 1121}
1122
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_mini_map.xml b/linden/indra/newview/skins/default/xui/en-us/floater_mini_map.xml
index 9f1e164..22b07c7 100644
--- a/linden/indra/newview/skins/default/xui/en-us/floater_mini_map.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/floater_mini_map.xml
@@ -1,7 +1,55 @@
1<?xml version="1.0" encoding="utf-8" standalone="yes" ?> 1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
2<floater can_close="true" can_drag_on_left="false" can_minimize="false" can_resize="true" 2<floater can_close="true" can_drag_on_left="false" can_minimize="false" can_resize="true"
3 can_tear_off="false" follows="top|right" height="220" min_height="64" min_width="64" 3 can_tear_off="false" follows="top|right" height="420" min_height="64" min_width="64"
4 name="minimap" rect_control="FloaterMiniMapRect" width="200"> 4 name="minimap" rect_control="FloaterMiniMapRect" width="200">
5 <panel bottom="2" follows="left|top|right|bottom" height="216" label="Mini Map" 5
6 left="2" mouse_opaque="false" name="mini_mapview" width="196" /> 6 <panel label="Mini Map" name="mini_mapview"
7 top="-2" left="2" bottom="196" right="196"
8 follows="left|top|right|bottom" mouse_opaque="false" />
9
10 <panel name="RadarPanel" label="Radar"
11 background_visible="true" bg_alpha_color="NetMapBackgroundColor"
12 left="2" top="196" right="196" height="120"
13 follows="left|right|bottom" border="true" mouse_opaque="true">
14
15 <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
16 bottom="-20" drop_shadow_visible="true" follows="left|top"
17 font="SansSerifSmall" h_pad="0" halign="left" height="16" left="10"
18 mouse_opaque="true" name="InstructSelectResident" v_pad="0"
19 width="220">
20 Select nearby resident:
21 </text>
22 <slider bottom_delta="-20" left="10" follows="left|top" width="175" height="15"
23 name="near_me_range" label="Range" control_name="NearMeRange"
24 min_val="5" max_val="40" increment="1" initial_val="20" decimal_digits="0" />
25 <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
26 bottom_delta="0" left="185" drop_shadow_visible="true" follows="left|top"
27 font="SansSerifSmall" h_pad="0" halign="left" height="15"
28 mouse_opaque="true" name="meters" v_pad="0"
29 width="40">
30 Meters
31 </text>
32 <scroll_list bottom_delta="-100" width="96" height="100" left="10"
33 follows="left|top|bottom|right" draw_border="true" draw_heading="false"
34 draw_stripes="true" column_padding="5" sort_column="0" mouse_opaque="true"
35 background_visible="true" multi_select="false" name="RadarList" />
36 <button bottom_delta="100" follows="top|right" height="22" label="IM/Call"
37 left="-90" name="im_btn" tool_tip="Open Instant Message session"
38 width="80" />
39 <button bottom_delta="-25" follows="top|right" height="22" label="Profile"
40 left_delta="0" name="profile_btn"
41 tool_tip="Show picture, groups, and other information" width="80" />
42 <button bottom_delta="-25" follows="top|right" height="22" label="Teleport..."
43 left_delta="0" name="offer_teleport_btn"
44 tool_tip="Offer this friend a teleport to your current location" width="80" />
45 <button bottom_delta="-25" follows="top|right" height="22" label="Track"
46 left_delta="0" name="track_btn"
47 tool_tip="Create a beacon to track this avatar" width="80" />
48 <button bottom_delta="-35" follows="top|right" height="22" label="Invite..."
49 left_delta="0" name="invite_btn"
50 tool_tip="Remove this person from your friends list" width="80" />
51 <button bottom_delta="-35" follows="top|right" height="22" label="Add..."
52 left_delta="0" name="add_btn" tool_tip="Offer friendship to a resident"
53 width="80" />
54 </panel>
7</floater> 55</floater>
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_mini_map.xml b/linden/indra/newview/skins/default/xui/en-us/panel_mini_map.xml
index 085b576..19faa62 100644
--- a/linden/indra/newview/skins/default/xui/en-us/panel_mini_map.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/panel_mini_map.xml
@@ -59,48 +59,4 @@
59 <string name="tooltip_map"> 59 <string name="tooltip_map">
60 Double-Click opens Map 60 Double-Click opens Map
61 </string> 61 </string>
62 <panel name="RadarPanel" label="Radar" bg_alpha_color="NetMapBackgroundColor"
63 border="true" width="196" bottom="200"
64 height="196" left="0" mouse_opaque="true">
65 <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
66 bottom="-24" drop_shadow_visible="true" follows="left|top"
67 font="SansSerifSmall" h_pad="0" halign="left" height="16" left="10"
68 mouse_opaque="true" name="InstructSelectResident" v_pad="0"
69 width="220">
70 Select nearby resident:
71 </text>
72 <slider bottom_delta="-20" left="10" follows="left|top" width="175" height="15"
73 name="near_me_range" label="Range" control_name="NearMeRange"
74 min_val="5" max_val="40" increment="1" initial_val="20" decimal_digits="0" />
75 <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
76 bottom_delta="0" left="185" drop_shadow_visible="true" follows="left|top"
77 font="SansSerifSmall" h_pad="0" halign="left" height="15"
78 mouse_opaque="true" name="meters" v_pad="0"
79 width="40">
80 Meters
81 </text>
82 <scroll_list bottom_delta="-20" width="96" height="100" left="10"
83 follows="left|top|bottom|right" draw_border="true" draw_heading="false"
84 draw_stripes="true" column_padding="5" sort_column="0" mouse_opaque="true"
85 background_visible="true" multi_select="false" name="RadarList" />
86 <button bottom_delta="0" follows="top|right" height="22" label="IM/Call"
87 left="-90" name="im_btn" tool_tip="Open Instant Message session"
88 width="80" />
89 <button bottom_delta="-25" follows="top|right" height="22" label="Profile"
90 left_delta="0" name="profile_btn"
91 tool_tip="Show picture, groups, and other information" width="80" />
92 <button bottom_delta="-25" follows="top|right" height="22" label="Teleport..."
93 left_delta="0" name="offer_teleport_btn"
94 tool_tip="Offer this friend a teleport to your current location" width="80" />
95 <button bottom_delta="-25" follows="top|right" height="22" label="Track"
96 left_delta="0" name="track_btn"
97 tool_tip="Create a beacon to track this avatar" width="80" />
98 <button bottom_delta="-35" follows="top|right" height="22" label="Invite..."
99 left_delta="0" name="invite_btn"
100 tool_tip="Remove this person from your friends list" width="80" />
101 <button bottom_delta="-35" follows="top|right" height="22" label="Add..."
102 left_delta="0" name="add_btn" tool_tip="Offer friendship to a resident"
103 width="80" />
104 </panel>
105
106</panel> 62</panel>