summaryrefslogtreecommitdiff
path: root/indra/newview/llhudobject.h
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-03-09 14:28:48 -0800
committerJames Cook <james@lindenlab.com>2010-03-09 14:28:48 -0800
commit717a4800f1ae0ae6ea0bbe9ed0af21c7851f5d0a (patch)
tree88eaacce1385606e9f0f98b3d46108dc0f06ed26 /indra/newview/llhudobject.h
parent60aa61e1cc5d3c42f54368a2b0b9eccfe5d315ff (diff)
Break name tag code out into LLHUDNameTag
Start by duplicating the LLHUDText code, then stripping out functionality that only needs to exist in one place (like force-based juggling of name tag positions)
Diffstat (limited to 'indra/newview/llhudobject.h')
-rw-r--r--indra/newview/llhudobject.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llhudobject.h b/indra/newview/llhudobject.h
index 6b70d1922c..a370b31a20 100644
--- a/indra/newview/llhudobject.h
+++ b/indra/newview/llhudobject.h
@@ -76,6 +76,9 @@ public:
static void renderAll();
static void renderAllForSelect();
+ // Some objects may need to update when window shape changes
+ static void reshapeAll();
+
static void cleanupHUDObjects();
enum
@@ -96,7 +99,8 @@ public:
LL_HUD_EFFECT_EDIT,
LL_HUD_EFFECT_LOOKAT,
LL_HUD_EFFECT_POINTAT,
- LL_HUD_EFFECT_VOICE_VISUALIZER // Ventrella
+ LL_HUD_EFFECT_VOICE_VISUALIZER, // Ventrella
+ LL_HUD_NAME_TAG
};
protected:
static void sortObjects();
@@ -112,7 +116,6 @@ protected:
BOOL mDead;
BOOL mVisible;
LLVector3d mPositionGlobal;
- BOOL mOnHUDAttachment;
LLPointer<LLViewerObject> mSourceObject;
LLPointer<LLViewerObject> mTargetObject;