2 * Copyright 1999-2010, Be Incorporated. All Rights Reserved.
3 * This file may be used under the terms of the Be Sample Code License.
5 * OverlayImage is based on the code presented in this article:
6 * http://www.haiku-os.org/documents/dev/replishow_a_replicable_image_viewer
11 * Humdinger <humdingerb@gmail.com>
14 #ifndef OVERLAY_VIEW_H
15 #define OVERLAY_VIEW_H
24 #include <TranslationUtils.h>
29 class _EXPORT OverlayView
;
31 class OverlayView
: public BView
{
33 OverlayView(BRect frame
);
34 OverlayView(BMessage
*data
);
36 virtual void Draw(BRect
);
37 virtual void MessageReceived(BMessage
*msg
);
38 static BArchivable
*Instantiate(BMessage
*archive
);
39 virtual status_t
Archive(BMessage
*data
, bool deep
= true) const;
40 void OverlayAboutRequested();
48 #endif // OVERLAY_VIEW_H