summaryrefslogtreecommitdiff
path: root/indra/newview/lltextureview.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lltextureview.h')
-rw-r--r--indra/newview/lltextureview.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/indra/newview/lltextureview.h b/indra/newview/lltextureview.h
index 20be17aef4..e917c0235e 100644
--- a/indra/newview/lltextureview.h
+++ b/indra/newview/lltextureview.h
@@ -78,5 +78,25 @@ public:
static std::set<LLViewerFetchedTexture*> sDebugImages;
};
+class LLGLTexSizeBar;
+
+class LLTextureSizeView : public LLView
+{
+public:
+ LLTextureSizeView(const Params&);
+ ~LLTextureSizeView();
+
+ /*virtual*/ void draw();
+ /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask) ;
+
+private:
+ F32 drawTextureSizeDistributionGraph() ;
+
+private:
+ std::vector<LLGLTexSizeBar*> mTextureSizeBar ;
+ LLRect mTextureSizeBarRect ;
+ S32 mTextureSizeBarWidth ;
+};
extern LLTextureView *gTextureView;
+extern LLTextureSizeView *gTextureSizeView;
#endif // LL_TEXTURE_VIEW_H