diff options
author | Debi King (Dessie) <dessie@lindenlab.com> | 2011-08-28 10:43:02 -0400 |
---|---|---|
committer | Debi King (Dessie) <dessie@lindenlab.com> | 2011-08-28 10:43:02 -0400 |
commit | 3d2378f1020060a84ab0b9ae23507077b7a0e7c1 (patch) | |
tree | 448bc57cf16514ef602602feff45ec4583d18608 /indra/llui/llbadge.h | |
parent | f094d4f7529c27233f5ca228bda21deb9b864f1a (diff) | |
parent | ebb55355ebbe6ec6760d8683e461903957ed24e5 (diff) |
merge from viewer-pre-release
Diffstat (limited to 'indra/llui/llbadge.h')
-rw-r--r-- | indra/llui/llbadge.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/llui/llbadge.h b/indra/llui/llbadge.h index 0f923ef01b..f81ccdf0cd 100644 --- a/indra/llui/llbadge.h +++ b/indra/llui/llbadge.h @@ -104,6 +104,9 @@ public: Optional< std::string > label; Optional< LLUIColor > label_color; + Optional< S32 > label_offset_horiz; + Optional< S32 > label_offset_vert; + Optional< LLRelPos::Location > location; Optional< U32 > location_percent_hcenter; Optional< U32 > location_percent_vcenter; @@ -123,7 +126,9 @@ protected: public: ~LLBadge(); - + + bool addToView(LLView * view); + virtual void draw(); const std::string getLabel() const { return wstring_to_utf8str(mLabel); } @@ -141,6 +146,9 @@ private: LLUIString mLabel; LLUIColor mLabelColor; + S32 mLabelOffsetHoriz; + S32 mLabelOffsetVert; + LLRelPos::Location mLocation; F32 mLocationPercentHCenter; F32 mLocationPercentVCenter; |