merge storm-206

master
Tofu Linden 2010-09-23 14:32:18 +01:00
commit 607d67d152
17 changed files with 51 additions and 46 deletions

View File

@ -450,20 +450,20 @@ void LLAvatarListItem::initChildrenWidths(LLAvatarListItem* avatar_item)
//info btn width + padding
S32 info_btn_width = avatar_item->mProfileBtn->getRect().mLeft - avatar_item->mInfoBtn->getRect().mLeft;
// edit their objects permission icon width + padding
S32 permission_edit_theirs_width = avatar_item->mInfoBtn->getRect().mLeft - avatar_item->mIconPermissionEditTheirs->getRect().mLeft;
// edit my objects permission icon width + padding
S32 permission_edit_mine_width = avatar_item->mIconPermissionEditTheirs->getRect().mLeft - avatar_item->mIconPermissionEditMine->getRect().mLeft;
// online permission icon width + padding
S32 permission_online_width = avatar_item->mInfoBtn->getRect().mLeft - avatar_item->mIconPermissionOnline->getRect().mLeft;
// map permission icon width + padding
S32 permission_map_width = avatar_item->mIconPermissionEditMine->getRect().mLeft - avatar_item->mIconPermissionMap->getRect().mLeft;
S32 permission_map_width = avatar_item->mIconPermissionOnline->getRect().mLeft - avatar_item->mIconPermissionMap->getRect().mLeft;
// online permission icon width + padding
S32 permission_online_width = avatar_item->mIconPermissionMap->getRect().mLeft - avatar_item->mIconPermissionOnline->getRect().mLeft;
// edit my objects permission icon width + padding
S32 permission_edit_mine_width = avatar_item->mIconPermissionMap->getRect().mLeft - avatar_item->mIconPermissionEditMine->getRect().mLeft;
// edit their objects permission icon width + padding
S32 permission_edit_theirs_width = avatar_item->mIconPermissionEditMine->getRect().mLeft - avatar_item->mIconPermissionEditTheirs->getRect().mLeft;
// last interaction time textbox width + padding
S32 last_interaction_time_width = avatar_item->mIconPermissionOnline->getRect().mLeft - avatar_item->mLastInteractionTime->getRect().mLeft;
S32 last_interaction_time_width = avatar_item->mIconPermissionEditTheirs->getRect().mLeft - avatar_item->mLastInteractionTime->getRect().mLeft;
// avatar icon width + padding
S32 icon_width = avatar_item->mAvatarName->getRect().mLeft - avatar_item->mAvatarIcon->getRect().mLeft;
@ -475,10 +475,10 @@ void LLAvatarListItem::initChildrenWidths(LLAvatarListItem* avatar_item)
sChildrenWidths[--index] = icon_width;
sChildrenWidths[--index] = 0; // for avatar name we don't need its width, it will be calculated as "left available space"
sChildrenWidths[--index] = last_interaction_time_width;
sChildrenWidths[--index] = permission_online_width;
sChildrenWidths[--index] = permission_map_width;
sChildrenWidths[--index] = permission_edit_mine_width;
sChildrenWidths[--index] = permission_edit_theirs_width;
sChildrenWidths[--index] = permission_edit_mine_width;
sChildrenWidths[--index] = permission_map_width;
sChildrenWidths[--index] = permission_online_width;
sChildrenWidths[--index] = info_btn_width;
sChildrenWidths[--index] = profile_btn_width;
sChildrenWidths[--index] = speaking_indicator_width;

View File

@ -143,10 +143,10 @@ private:
ALIC_SPEAKER_INDICATOR,
ALIC_PROFILE_BUTTON,
ALIC_INFO_BUTTON,
ALIC_PERMISSION_EDIT_THEIRS,
ALIC_PERMISSION_EDIT_MINE,
ALIC_PERMISSION_MAP,
ALIC_PERMISSION_ONLINE,
ALIC_PERMISSION_MAP,
ALIC_PERMISSION_EDIT_MINE,
ALIC_PERMISSION_EDIT_THEIRS,
ALIC_INTERACTION_TIME,
ALIC_NAME,
ALIC_ICON,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 812 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 639 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 634 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

View File

@ -360,10 +360,10 @@ with the same filename but different name
<texture name="Pause_Over" file_name="icons/Pause_Over.png" preload="false" />
<texture name="Pause_Press" file_name="icons/Pause_Press.png" preload="false" />
<texture name="Permission_Visible_Online" file_name="ff_visible_online_button.tga" preload="false" />
<texture name="Permission_Visible_Map" file_name="ff_visible_map_button.tga" preload="false" />
<texture name="Permission_Edit_Objects_Mine" file_name="ff_edit_mine_button.tga" preload="false" />
<texture name="Permission_Edit_Objects_Theirs" file_name="ff_edit_theirs_button.tga" preload="false" />
<texture name="Permission_Visible_Online" file_name="icons/see_me_online.png" preload="false" />
<texture name="Permission_Visible_Map" file_name="icons/see_on_map.png" preload="false" />
<texture name="Permission_Edit_Objects_Mine" file_name="icons/edit_mine.png" preload="false" />
<texture name="Permission_Edit_Objects_Theirs" file_name="icons/edit_theirs.png" preload="false" />
<texture name="Play_Off" file_name="icons/Play_Off.png" preload="false" />
<texture name="Play_Over" file_name="icons/Play_Over.png" preload="false" />

View File

@ -19,6 +19,11 @@
<string name="FormatMonths">[COUNT]mon</string>
<string name="FormatYears">[COUNT]y</string>
<!--
*NOTE: llavatarlistitem.cpp lays these controls out depending on which
ones are visible. Trying to change their order here will break it
... which kinda sucks.
-->
<icon
follows="top|right|left"
height="24"
@ -71,49 +76,49 @@
value="0s"
width="35" />
<icon
height="20"
height="16"
follows="right"
image_name="Permission_Visible_Online"
image_name="Permission_Edit_Objects_Theirs"
layout="topleft"
left_pad="3"
right="-141"
name="permission_online_icon"
tool_tip="This friend can see when you&apos;re online"
top="2"
width="20" />
right="-129"
name="permission_edit_theirs_icon"
tool_tip="You can edit this friend&apos;s objects"
top="4"
width="16" />
<icon
height="20"
height="16"
follows="right"
image_name="Permission_Edit_Objects_Mine"
layout="topleft"
left_pad="3"
right="-110"
name="permission_edit_mine_icon"
tool_tip="This friend can edit, delete or take your objects"
top_delta="0"
width="16" />
<icon
height="16"
follows="right"
image_name="Permission_Visible_Map"
layout="topleft"
left_pad="3"
tool_tip="This friend can locate you on the map"
right="-118"
right="-91"
name="permission_map_icon"
top_delta="0"
width="20" />
width="16" />
<icon
height="20"
height="16"
follows="right"
image_name="Permission_Edit_Objects_Mine"
layout="topleft"
left_pad="3"
right="-95"
name="permission_edit_mine_icon"
tool_tip="This friend can edit, delete or take your objects"
top_delta="0"
width="20" />
<icon
height="20"
follows="right"
image_name="Permission_Edit_Objects_Theirs"
image_name="Permission_Visible_Online"
layout="topleft"
left_pad="3"
right="-72"
name="permission_edit_theirs_icon"
tool_tip="You can edit this friend&apos;s objects"
name="permission_online_icon"
tool_tip="This friend can see when you&apos;re online"
top_delta="0"
width="20" />
width="16" />
<button
follows="right"
height="16"
@ -124,7 +129,7 @@
right="-53"
name="info_btn"
tab_stop="false"
top_delta="2"
top_delta="0"
width="16" />
<button
follows="right"