summaryrefslogtreecommitdiff
path: root/indra/llui/llbadgeowner.h
diff options
context:
space:
mode:
authorLeslie Linden <none@none>2011-06-09 12:12:28 -0700
committerLeslie Linden <none@none>2011-06-09 12:12:28 -0700
commitdef85f2778d9b69bc3fb0e89c1cef854a1c01886 (patch)
treebfae24f88d2a2679d5812a9684b33a5750d946c6 /indra/llui/llbadgeowner.h
parent6e928645b94901518fe452ab7fab0278e87613d7 (diff)
EXP-865 FIX -- Modify LLBadge to allow it to hang off of non-buttons
LLBadgeOwner now only depends on LLView instead of LLUICtrl Sidebar Tab Buttons now can support badges Reviewed by Leyla
Diffstat (limited to 'indra/llui/llbadgeowner.h')
-rw-r--r--indra/llui/llbadgeowner.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llui/llbadgeowner.h b/indra/llui/llbadgeowner.h
index 7b2bbe01fd..456ef90c13 100644
--- a/indra/llui/llbadgeowner.h
+++ b/indra/llui/llbadgeowner.h
@@ -28,7 +28,7 @@
#define LL_LLBADGEOWNER_H
#include "llbadge.h"
-#include "lluictrl.h"
+#include "llview.h"
//
// Classes
@@ -38,7 +38,7 @@ class LLBadgeOwner
{
public:
- LLBadgeOwner(LLHandle<LLUICtrl> ctrlHandle);
+ LLBadgeOwner(LLHandle< LLView > viewHandle);
void initBadgeParams(const LLBadge::Params& p);
void addBadgeToParentPanel();
@@ -52,7 +52,7 @@ private:
private:
LLBadge* mBadge;
- LLHandle<LLUICtrl> mBadgeOwnerCtrl;
+ LLHandle< LLView > mBadgeOwnerView;
};
#endif // LL_LLBADGEOWNER_H