summaryrefslogtreecommitdiff
path: root/indra/llui/llpanel.h
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2011-07-09 14:58:31 -0700
committerDon Kjer <don@lindenlab.com>2011-07-09 14:58:31 -0700
commit121c4034db2de1b73bdab6777f49f302d89af3ca (patch)
tree0e0cf941c3838a899d4a31433773e974eb9b4fd4 /indra/llui/llpanel.h
parent7029c8ff534419a3bcfd0e5fc39a4739e4cdc19c (diff)
parent961d5b1d65fffff7075d0afbce003586b1f3b197 (diff)
Merge
Diffstat (limited to 'indra/llui/llpanel.h')
-rw-r--r--indra/llui/llpanel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llpanel.h b/indra/llui/llpanel.h
index 7bbbeaf709..67674fab7e 100644
--- a/indra/llui/llpanel.h
+++ b/indra/llui/llpanel.h
@@ -89,6 +89,8 @@ public:
Multiple<LocalizedString> strings;
Optional<CommitCallbackParam> visible_callback;
+
+ Optional<bool> accepts_badge;
Params();
};
@@ -250,6 +252,8 @@ public:
boost::signals2::connection setVisibleCallback( const commit_signal_t::slot_type& cb );
+ bool acceptsBadge() const { return mAcceptsBadge; }
+
protected:
// Override to set not found list
LLButton* getDefaultButton() { return mDefaultBtn; }
@@ -264,6 +268,7 @@ protected:
static factory_stack_t sFactoryStack;
private:
+ bool mAcceptsBadge;
BOOL mBgVisible; // any background at all?
BOOL mBgOpaque; // use opaque color or image
LLUIColor mBgOpaqueColor;