From ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e Mon Sep 17 00:00:00 2001
From: Jacek Antonelli
Date: Thu, 30 Apr 2009 13:04:20 -0500
Subject: Second Life viewer sources 1.23.0-RC

---
 linden/indra/newview/llstatbar.h | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

(limited to 'linden/indra/newview/llstatbar.h')

diff --git a/linden/indra/newview/llstatbar.h b/linden/indra/newview/llstatbar.h
index 136f7c3..517f557 100644
--- a/linden/indra/newview/llstatbar.h
+++ b/linden/indra/newview/llstatbar.h
@@ -17,7 +17,8 @@
  * There are special exceptions to the terms and conditions of the GPL as
  * it is applied to this Source Code. View the full text of the exception
  * in the file doc/FLOSS-exception.txt in this software distribution, or
- * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
+ * online at
+ * http://secondlifegrid.net/programs/open_source/licensing/flossexception
  * 
  * By copying, modifying or distributing this software, you acknowledge
  * that you have read and understood your obligations described above,
@@ -34,13 +35,21 @@
 
 #include "llview.h"
 #include "llframetimer.h"
+#include "llviewercontrol.h"
 
 class LLStat;
 
 class LLStatBar : public LLView
 {
+	enum STAT_MODE_FLAG
+	{
+		STAT_BAR_FLAG = 1,
+		STAT_HISTORY_FLAG = 2
+	};
+	
 public:
-	LLStatBar(const std::string& name, const LLRect& rect);
+	LLStatBar(const std::string& name, const LLRect& rect, const std::string& setting = std::string(),
+			  BOOL default_bar = FALSE, BOOL default_history = FALSE);
 
 	virtual void draw();
 	virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask);
@@ -67,6 +76,7 @@ private:
 	std::string mLabel;
 	std::string mUnitLabel;
 	F32 mValue;
+	std::string mSetting;
 };
 
 #endif
-- 
cgit v1.1