summaryrefslogtreecommitdiff
path: root/indra/llui/llbadge.h
diff options
context:
space:
mode:
authorDebi King (Dessie) <dessie@lindenlab.com>2011-08-18 14:48:59 -0400
committerDebi King (Dessie) <dessie@lindenlab.com>2011-08-18 14:48:59 -0400
commitb73291e9bd6a706c5c8913f1c40bd8324f772c4a (patch)
tree412a776e4bb8ae72960ea02d40ea7c98be1c1065 /indra/llui/llbadge.h
parentd36a9a7907a1528a8d163577a0770b50e6248802 (diff)
parent91eb63bdde50d3a75908909af0e23d54f5c2fd21 (diff)
merged .hgtags
Diffstat (limited to 'indra/llui/llbadge.h')
-rw-r--r--indra/llui/llbadge.h10
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;