llcontainerview.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_LLCONTAINERVIEW_H
00033 #define LL_LLCONTAINERVIEW_H
00034 
00035 #include "stdtypes.h"
00036 #include "lltextbox.h"
00037 #include "llstatbar.h"
00038 
00039 class LLContainerView : public LLView
00040 {
00041 protected:
00042         BOOL mDisplayChildren;
00043         LLString mLabel;
00044 public:
00045         BOOL mCollapsible;
00046 public:
00047         LLContainerView(const std::string& name, const LLRect& rect);
00048         ~LLContainerView();
00049 
00050         virtual EWidgetType getWidgetType() const;
00051         virtual LLString getWidgetTag() const;
00052 
00053         virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask);
00054         virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask);
00055 
00056         virtual void draw();
00057         virtual void reshape(S32 width, S32 height, BOOL called_from_parent = TRUE);
00058         virtual LLRect getRequiredRect();       // Return the height of this object, given the set options.
00059 
00060         void setLabel(const LLString& label);
00061         void setDisplayChildren(const BOOL displayChildren);
00062         BOOL getDisplayChildren() { return mDisplayChildren; }
00063 };
00064 #endif // LL_CONTAINERVIEW_

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