summaryrefslogtreecommitdiff
path: root/indra/llui/llscrolllistitem.h
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2022-01-10 23:51:52 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2022-01-10 23:51:52 +0200
commit469ce7f7f6828aa8ed8d45fdff82cb33c1ec655d (patch)
tree6ec74d5dbe9c278663a99212cddf808e87d4e6c6 /indra/llui/llscrolllistitem.h
parent83b4ea59fc8793ccbfb6b40ffff111de14ebd4d3 (diff)
parentee2d618706a8803372b92dbe47a165c70be6cef9 (diff)
Merge branch 'DRTVWR-530-maint' into DRTVWR-553-maint-mix-JK
# Conflicts: # indra/newview/app_settings/key_bindings.xml # indra/newview/llappviewer.cpp # indra/newview/llkeyconflict.cpp
Diffstat (limited to 'indra/llui/llscrolllistitem.h')
-rw-r--r--indra/llui/llscrolllistitem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/llscrolllistitem.h b/indra/llui/llscrolllistitem.h
index d2c3dd7721..a3398305b1 100644
--- a/indra/llui/llscrolllistitem.h
+++ b/indra/llui/llscrolllistitem.h
@@ -55,6 +55,7 @@ public:
Optional<bool> enabled;
Optional<void*> userdata;
Optional<LLSD> value;
+ Optional<LLSD> alt_value;
Ignored name; // use for localization tools
Ignored type;
@@ -65,6 +66,7 @@ public:
Params()
: enabled("enabled", true),
value("value"),
+ alt_value("alt_value"),
name("name"),
type("type"),
length("length"),
@@ -97,6 +99,7 @@ public:
virtual LLUUID getUUID() const { return mItemValue.asUUID(); }
LLSD getValue() const { return mItemValue; }
+ LLSD getAltValue() const { return mItemAltValue; }
void setRect(LLRect rect) { mRectangle = rect; }
LLRect getRect() const { return mRectangle; }
@@ -131,6 +134,7 @@ private:
BOOL mEnabled;
void* mUserdata;
LLSD mItemValue;
+ LLSD mItemAltValue;
std::vector<LLScrollListCell *> mColumns;
LLRect mRectangle;
};