summaryrefslogtreecommitdiff
path: root/indra/llui/llresizebar.h
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-01-16 11:03:33 -0800
committerRichard Linden <none@none>2012-01-16 11:03:33 -0800
commitcd4204b2730350eede126190814621b65308c422 (patch)
tree264b81593d9cabd93450e29cbcb0ffdaec8eac58 /indra/llui/llresizebar.h
parent5e5105bd223f5180bbca634ba2c393be2ef3d13d (diff)
EXP-1758 WIP Progress spinner not shown during merketplace synch if Merchant Outbox floater was previously minimized
rewrote layout_stack resizing logic to be symmetrical
Diffstat (limited to 'indra/llui/llresizebar.h')
-rw-r--r--indra/llui/llresizebar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/llresizebar.h b/indra/llui/llresizebar.h
index 0725fbd846..6daf191918 100644
--- a/indra/llui/llresizebar.h
+++ b/indra/llui/llresizebar.h
@@ -70,6 +70,7 @@ public:
void setResizeLimits( S32 min_size, S32 max_size ) { mMinSize = min_size; mMaxSize = max_size; }
void setEnableSnapping(BOOL enable) { mSnappingEnabled = enable; }
void setAllowDoubleClickSnapping(BOOL allow) { mAllowDoubleClickSnapping = allow; }
+ bool canResize() { return getEnabled() && mMaxSize > mMinSize; }
private:
S32 mDragLastScreenX;