llhudconnector.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_LLHUDCONNECTOR_H
00033 #define LL_LLHUDCONNECTOR_H
00034 
00035 #include "llmemory.h"
00036 #include "lldarrayptr.h"
00037 
00038 #include "llhudobject.h"
00039 #include "v4color.h"
00040 #include "v3math.h"
00041 #include "v3dmath.h"
00042 #include "llstring.h"
00043 
00044 class LLViewerObject;
00045 
00046 class LLHUDConnector : public LLHUDObject
00047 {
00048 public:
00049         void setColors(const LLColor4 &color, const LLColor4 &first_color, const LLColor4 &second_color);
00050         void setZCompare(const BOOL zcompare);
00051         void setDoFade(const BOOL do_fade);
00052 
00053         void setLabel(const LLString &label);
00054         void setTargets(LLViewerObject *first_object, LLViewerObject *second_object);
00055         void setEndpoints(const BOOL &first, const BOOL &second);
00056 
00057         friend class LLHUDObject;
00058 protected:
00059         LLHUDConnector(const U8 type);
00060 
00061         /*virtual*/ void render();
00062 
00063 private:
00064         ~LLHUDConnector();
00065 
00066         LLString        mLabel;
00067 
00068         BOOL            mDoFade;
00069         F32                     mFadeRange;
00070         F32                     mFadeDistance;
00071         BOOL            mZCompare;
00072 
00073         LLColor4        mColor;
00074         LLColor4        mFirstColor;
00075         LLColor4        mSecondColor;
00076 
00077         BOOL            mDrawFirst;
00078         BOOL            mDrawSecond;
00079 };
00080 
00081 #endif // LL_LLHUDCONNECTOR_H

Generated on Thu Jul 1 06:08:42 2010 for Second Life Viewer by  doxygen 1.4.7