2 * Copyright 2003-2010, Haiku, Inc. All Rights Reserved.
3 * Copyright 2004-2005 yellowTAB GmbH. All Rights Reserverd.
4 * Copyright 2006 Bernd Korz. All Rights Reserved
5 * Distributed under the terms of the MIT License.
8 * Fernando Francisco de Oliveira
13 * Stephan Aßmus <superstippi@gmx.de>
15 #ifndef SELECTION_BOX_H
16 #define SELECTION_BOX_H
29 void SetBounds(ShowImageView
* view
, BRect bounds
);
32 void MouseDown(ShowImageView
* view
, BPoint where
);
33 void MouseMoved(ShowImageView
* view
, BPoint where
);
34 void MouseUp(ShowImageView
* view
, BPoint where
);
37 void Draw(ShowImageView
* view
,
38 const BRect
& updateRect
) const;
43 BRect
_RectInView(ShowImageView
* view
) const;
48 // Use patterns to simulate marching ants for selection.
52 pattern fPatternRight
;
55 #endif // SELECTION_BOX_H