summaryrefslogtreecommitdiff
path: root/indra/newview/skins
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-02-15 02:19:49 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-02-17 23:09:51 +0200
commitec02220f068c7e7ec61e8c8af7a3c4c96c112172 (patch)
tree7c0b3acb78b5253ea76990490fc1247415dccc1e /indra/newview/skins
parent734b1b5d421254c45b3eb0fe0a5bbc8159e489fc (diff)
SL-19108 WIP Managing inventory thumbnail #1
Diffstat (limited to 'indra/newview/skins')
-rw-r--r--indra/newview/skins/default/xui/en/floater_change_item_thumbnail.xml118
-rw-r--r--indra/newview/skins/default/xui/en/menu_inventory.xml8
2 files changed, 126 insertions, 0 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_change_item_thumbnail.xml b/indra/newview/skins/default/xui/en/floater_change_item_thumbnail.xml
new file mode 100644
index 0000000000..c2c4c07ca1
--- /dev/null
+++ b/indra/newview/skins/default/xui/en/floater_change_item_thumbnail.xml
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<floater
+ can_resize="false"
+ height="366"
+ layout="topleft"
+ name="change_item_thumbnail"
+ help_topic="change_item_thumbnail"
+ title="CHANGE ITEM IMAGE"
+ width="320">
+ <icon
+ follows="top|left"
+ height="16"
+ image_name="Inv_Object"
+ layout="topleft"
+ left="5"
+ mouse_opaque="true"
+ name="item_type_icon"
+ top="5"
+ width="16" />
+ <line_editor
+ border_style="line"
+ border_thickness="1"
+ follows="left|top|right"
+ font="SansSerif"
+ height="19"
+ layout="topleft"
+ top_delta="-2"
+ left_pad="5"
+ max_length_bytes="127"
+ name="item_name"
+ width="286" />
+
+ <thumbnail
+ name="item_thumbnail"
+ follows="top|left"
+ layout="topleft"
+ left="31"
+ top_pad="9"
+ height="256"
+ width="256"
+ />
+
+ <button
+ follows="right|bottom"
+ height="32"
+ label="A"
+ layout="topleft"
+ left="37"
+ name="upload_local"
+ top_pad="9"
+ width="32" />
+
+ <button
+ follows="right|bottom"
+ height="32"
+ label="B"
+ layout="topleft"
+ left_pad="10"
+ name="upload_snapshot"
+ top_delta="0"
+ width="32" />
+
+ <button
+ follows="right|bottom"
+ height="32"
+ label="C"
+ layout="topleft"
+ left_pad="10"
+ name="use_texture"
+ top_delta="0"
+ width="32" />
+
+ <button
+ follows="right|bottom"
+ height="32"
+ label="D"
+ layout="topleft"
+ left_pad="10"
+ name="to_clipboard"
+ top_delta="0"
+ width="32" />
+
+ <button
+ follows="right|bottom"
+ height="32"
+ label="E"
+ layout="topleft"
+ left_pad="10"
+ name="from_clipboard"
+ top_delta="0"
+ width="32" />
+
+ <button
+ follows="right|bottom"
+ height="32"
+ label="F"
+ layout="topleft"
+ left_pad="10"
+ name="remove"
+ top_delta="0"
+ width="32" />
+
+ <text
+ type="string"
+ halign="center"
+ length="1"
+ follows="left|top"
+ height="17"
+ layout="topleft"
+ left="5"
+ right="-5"
+ name="LabelOwnerTitle"
+ top_pad="12"
+ width="78">
+ tooltip
+ </text>
+
+</floater>
diff --git a/indra/newview/skins/default/xui/en/menu_inventory.xml b/indra/newview/skins/default/xui/en/menu_inventory.xml
index 5fe53526c7..97a93245ff 100644
--- a/indra/newview/skins/default/xui/en/menu_inventory.xml
+++ b/indra/newview/skins/default/xui/en/menu_inventory.xml
@@ -619,6 +619,14 @@
parameter="rename" />
</menu_item_call>
<menu_item_call
+ label="Image..."
+ layout="topleft"
+ name="thumbnail">
+ <menu_item_call.on_click
+ function="Inventory.DoToSelected"
+ parameter="thumbnail" />
+ </menu_item_call>
+ <menu_item_call
label="Copy Asset UUID"
layout="topleft"
name="Copy Asset UUID">