summaryrefslogtreecommitdiff
path: root/indra/llui/lluiimage.h
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2009-06-22 15:02:19 -0700
committerBryan O'Sullivan <bos@lindenlab.com>2009-06-22 15:02:19 -0700
commitbaa73fddd9287ddafd2d31551cb253b355ed910a (patch)
treee3f0986617fe6c0ee0a14df6aac13c6bb6f92507 /indra/llui/lluiimage.h
parentdc3833f31b8a20220ddb1775e1625c016c397435 (diff)
parentfcaa1ad46fd1df4cfec9dee12caf6e7b5bf32136 (diff)
Merge with viewer-2.0.0-3 branch
Diffstat (limited to 'indra/llui/lluiimage.h')
-rw-r--r--indra/llui/lluiimage.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/llui/lluiimage.h b/indra/llui/lluiimage.h
index ae43b50172..e35026cd3d 100644
--- a/indra/llui/lluiimage.h
+++ b/indra/llui/lluiimage.h
@@ -33,7 +33,7 @@
#ifndef LL_LLUIIMAGE_H
#define LL_LLUIIMAGE_H
-#include "llgl.h"
+//#include "llgl.h"
#include "llimagegl.h"
#include "llrefcount.h"
#include "llrect.h"
@@ -46,6 +46,7 @@ class LLUIImage : public LLRefCount
{
public:
LLUIImage(const std::string& name, LLPointer<LLImageGL> image);
+ virtual ~LLUIImage();
void setClipRegion(const LLRectf& region);
void setScaleRegion(const LLRectf& region);
@@ -67,8 +68,8 @@ public:
const std::string& getName() const { return mName; }
- S32 getWidth() const;
- S32 getHeight() const;
+ virtual S32 getWidth() const;
+ virtual S32 getHeight() const;
// returns dimensions of underlying textures, which might not be equal to ui image portion
S32 getTextureWidth() const;