summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmarketplaceinbox.h
diff options
context:
space:
mode:
authorLeslie Linden <none@none>2011-06-10 16:20:30 -0700
committerLeslie Linden <none@none>2011-06-10 16:20:30 -0700
commit3eeb14ee0abb5720e010d94eba52db09fa32237e (patch)
tree17e36f9d42098b912302aa6fd79e9ad67eaa93ce /indra/newview/llpanelmarketplaceinbox.h
parent7ed78f92747a7234435d1b6ceef50a3053003f48 (diff)
EXP-856 FIX -- Inbox item count reflected as badge on inventory button
* Modified badges to be parented to their owners if their owners have no parents * Modified side tray tab panels to create badges on side tab buttons when the xml specifies a badge. * Modified inbox to drive the badge value of the sidebar_inventory button. * Updated inbox and outbox sizes so scroll bars function as expected * Updated inventory_panel.xml to allow scroll tag to specify scroll bar properties, instead of just having them hardcoded. Reviewed by Richard
Diffstat (limited to 'indra/newview/llpanelmarketplaceinbox.h')
-rw-r--r--indra/newview/llpanelmarketplaceinbox.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llpanelmarketplaceinbox.h b/indra/newview/llpanelmarketplaceinbox.h
index 504659b1ef..61e8cf3c1f 100644
--- a/indra/newview/llpanelmarketplaceinbox.h
+++ b/indra/newview/llpanelmarketplaceinbox.h
@@ -28,10 +28,11 @@
#define LL_LLPANELMARKETPLACEINBOX_H
#include "llpanel.h"
+#include "llsidetray.h"
class LLInventoryPanel;
-class LLPanelMarketplaceInbox : public LLPanel
+class LLPanelMarketplaceInbox : public LLPanel, public LLSideTrayTabBadgeDriver
{
public:
@@ -46,6 +47,12 @@ public:
/*virtual*/ void draw();
+ U32 getItemCount() const;
+ std::string getBadgeString() const;
+
+private:
+ void handleLoginComplete();
+
private:
LLInventoryPanel* mInventoryPanel;
};