Added LLView::translateIntoRectWithExclusion utility function.
This commit is contained in:
@@ -391,6 +391,7 @@ public:
|
||||
virtual void translate( S32 x, S32 y );
|
||||
void setOrigin( S32 x, S32 y ) { mRect.translate( x - mRect.mLeft, y - mRect.mBottom ); }
|
||||
BOOL translateIntoRect( const LLRect& constraint, BOOL allow_partial_outside );
|
||||
BOOL translateIntoRectWithExclusion( const LLRect& inside, const LLRect& exclude, BOOL allow_partial_outside );
|
||||
void centerWithin(const LLRect& bounds);
|
||||
|
||||
void setShape(const LLRect& new_rect, bool by_user = false);
|
||||
|
||||
Reference in New Issue
Block a user