diff options
author | Richard Linden <none@none> | 2013-03-25 00:18:06 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-03-25 00:18:06 -0700 |
commit | 935dce7d6b0a343cef5b13f53d6da5d0c2dc6a73 (patch) | |
tree | 1517fc3ea00f29a5c64050cb4fc756dec30caf63 /indra/llui/llstatbar.h | |
parent | 68f9f656cd22332e46959a90347e38f79c19a66c (diff) |
SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
fixed some compile errors
made label spacing automatic on stat bars
fixed infinite values coming from stats
Diffstat (limited to 'indra/llui/llstatbar.h')
-rw-r--r-- | indra/llui/llstatbar.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/llui/llstatbar.h b/indra/llui/llstatbar.h index 74a3ebde2f..db667aa07d 100644 --- a/indra/llui/llstatbar.h +++ b/indra/llui/llstatbar.h @@ -43,7 +43,6 @@ public: Optional<F32> bar_min, bar_max, tick_spacing, - label_spacing, update_rate, unit_scale; @@ -66,7 +65,6 @@ public: bar_min("bar_min", 0.0f), bar_max("bar_max", 50.0f), tick_spacing("tick_spacing", 10.0f), - label_spacing("label_spacing", 10.0f), precision("precision", 0), update_rate("update_rate", 5.0f), unit_scale("unit_scale", 1.f), @@ -90,7 +88,7 @@ public: void setStat(const std::string& stat_name); - void setRange(F32 bar_min, F32 bar_max, F32 tick_spacing, F32 label_spacing); + void setRange(F32 bar_min, F32 bar_max, F32 tick_spacing); void getRange(F32& bar_min, F32& bar_max) { bar_min = mMinBar; bar_max = mMaxBar; } /*virtual*/ LLRect getRequiredRect(); // Return the height of this object, given the set options. |