diff options
author | Richard Linden <none@none> | 2013-03-14 19:36:50 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-03-14 19:36:50 -0700 |
commit | 7b4d27ecbcb5ac702459be97cbf6b81354850658 (patch) | |
tree | ec65e7a04fdaa4e53dc26612d8968ee343d4397e /indra/llui/llscrollbar.h | |
parent | b9c78533ae701fe6af5263e902f8df93c558e493 (diff) |
SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
collapsed Orientation enums to all use LLView::EOrientation
added ability to display stat bar horizontally
Diffstat (limited to 'indra/llui/llscrollbar.h')
-rw-r--r-- | indra/llui/llscrollbar.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/llui/llscrollbar.h b/indra/llui/llscrollbar.h index ff74f753b9..3f3ca1378b 100644 --- a/indra/llui/llscrollbar.h +++ b/indra/llui/llscrollbar.h @@ -40,13 +40,11 @@ class LLScrollbar { public: - enum ORIENTATION { HORIZONTAL, VERTICAL }; - typedef boost::function<void (S32, LLScrollbar*)> callback_t; struct Params : public LLInitParam::Block<Params, LLUICtrl::Params> { - Mandatory<ORIENTATION> orientation; + Mandatory<EOrientation> orientation; Mandatory<S32> doc_size; Mandatory<S32> doc_pos; Mandatory<S32> page_size; @@ -131,7 +129,7 @@ private: callback_t mChangeCallback; - const ORIENTATION mOrientation; + const EOrientation mOrientation; S32 mDocSize; // Size of the document that the scrollbar is modeling. Units depend on the user. 0 <= mDocSize. S32 mDocPos; // Position within the doc that the scrollbar is modeling, in "lines" (user size) S32 mPageSize; // Maximum number of lines that can be seen at one time. |