summaryrefslogtreecommitdiff
path: root/indra/newview/llnamelistctrl.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llnamelistctrl.h')
-rw-r--r--indra/newview/llnamelistctrl.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/indra/newview/llnamelistctrl.h b/indra/newview/llnamelistctrl.h
index 759ea938f9..379cd48a6a 100644
--- a/indra/newview/llnamelistctrl.h
+++ b/indra/newview/llnamelistctrl.h
@@ -66,9 +66,19 @@ public:
{}
};
+ struct NameColumn : public LLInitParam::Choice<NameColumn>
+ {
+ Option<S32> column_index;
+ Option<std::string> column_name;
+ NameColumn()
+ : column_name("name_column"),
+ column_index("name_column_index", 0)
+ {}
+ };
+
struct Params : public LLInitParam::Block<Params, LLScrollListCtrl::Params>
{
- Optional<std::string> name_column;
+ Optional<NameColumn> name_column;
Optional<bool> allow_calling_card_drop;
Params();
};