summaryrefslogtreecommitdiff
path: root/indra/newview/llnamebox.h
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-01-13 19:49:51 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2010-01-13 19:49:51 +0200
commit6ad8674a8c5a87f438aa5ad6230396a859ba268e (patch)
tree13c56aae408067f130e7619f4bac6c9a2e73cd57 /indra/newview/llnamebox.h
parent3398ed6f890def2ab9fa31536d13a38f85847d93 (diff)
Fixed bug EXT-4210 (Partner in Profile not a Link).
Added an optional "link" parameter to LLNameBox to display the name as a link. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llnamebox.h')
-rw-r--r--indra/newview/llnamebox.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llnamebox.h b/indra/newview/llnamebox.h
index 3edb36883f..0109525e85 100644
--- a/indra/newview/llnamebox.h
+++ b/indra/newview/llnamebox.h
@@ -47,9 +47,11 @@ public:
struct Params : public LLInitParam::Block<Params, LLTextBox::Params>
{
Optional<bool> is_group;
+ Optional<bool> link;
Params()
: is_group("is_group", false)
+ , link("link", false)
{}
};
@@ -67,10 +69,13 @@ protected:
friend class LLUICtrlFactory;
private:
+ void setName(const std::string& name, BOOL is_group);
+
static std::set<LLNameBox*> sInstances;
private:
LLUUID mNameID;
+ BOOL mLink;
};