summaryrefslogtreecommitdiff
path: root/indra/llui/llresizehandle.h
diff options
context:
space:
mode:
authorRichard Nelson <richard@lindenlab.com>2011-10-05 13:01:29 -0700
committerRichard Nelson <richard@lindenlab.com>2011-10-05 13:01:29 -0700
commite61da057397f95e0dcf8bf964e2836d3d4a80c20 (patch)
tree14ce479af039aee249a91b1024224de8b3a09322 /indra/llui/llresizehandle.h
parent194bedbb96a6dcfe90d5b731aeca8658c83f2306 (diff)
parentfb7af4d0010f9d14cb5464bed83d9e022dbe0d1a (diff)
merge with viewer-development
Diffstat (limited to 'indra/llui/llresizehandle.h')
-rw-r--r--indra/llui/llresizehandle.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llresizehandle.h b/indra/llui/llresizehandle.h
index 531eb1db61..5cfe3fb63c 100644
--- a/indra/llui/llresizehandle.h
+++ b/indra/llui/llresizehandle.h
@@ -56,6 +56,9 @@ public:
void setResizeLimits( S32 min_width, S32 min_height ) { mMinWidth = min_width; mMinHeight = min_height; }
+ void setMaxWidth(S32 width) { mMaxWidth = width;}
+ void setMaxHeight(S32 height) { mMaxHeight = height;}
+
private:
BOOL pointInHandle( S32 x, S32 y );
@@ -66,7 +69,9 @@ private:
LLCoordGL mLastMouseDir;
LLPointer<LLUIImage> mImage;
S32 mMinWidth;
+ S32 mMaxWidth;
S32 mMinHeight;
+ S32 mMaxHeight;
const ECorner mCorner;
};