diff options
author | Oz Linden <oz@lindenlab.com> | 2012-01-24 16:21:34 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-01-24 16:21:34 -0500 |
commit | b2f77bee7ea98f5a4ff59e00095b5b3aff11e35b (patch) | |
tree | 7695bb632502f24325f7044c69e30946e767abce /indra/llui/llresizebar.h | |
parent | 79f1cd0a73bd86ff545ad78b9b1878e350d77416 (diff) | |
parent | ea6cbc7b6b1de051a9bb1c311c4399a2b4d42cb3 (diff) |
merge changes for vmrg-217
Diffstat (limited to 'indra/llui/llresizebar.h')
-rw-r--r-- | indra/llui/llresizebar.h | 1 |
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; |