repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / haikudepot / ui_generic / LinkedBitmapView.h
blobd206eb559ed0f5ff8e2062656e0e2292819b568e
1 /*
2 * Copyright 2014, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
5 #ifndef LINKED_BITMAP_VIEW_H
6 #define LINKED_BITMAP_VIEW_H
9 #include <Invoker.h>
11 #include "BitmapView.h"
14 class LinkedBitmapView : public BitmapView, public BInvoker {
15 public:
16 LinkedBitmapView(const char* name,
17 BMessage* message);
19 virtual void AllAttached();
21 virtual void MouseMoved(BPoint where, uint32 transit,
22 const BMessage* dragMessage);
23 virtual void MouseDown(BPoint where);
25 void SetEnabled(bool enabled);
27 private:
28 void _UpdateViewCursor();
30 private:
31 bool fEnabled;
32 bool fMouseInside;
36 #endif // LINKED_BITMAP_VIEW_H