2 * Copyright 2014, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
10 #include <StringView.h>
13 class LinkView
: public BStringView
, public BInvoker
{
15 LinkView(const char* name
, const char* string
,
18 virtual void AttachedToWindow();
20 virtual void MouseMoved(BPoint where
, uint32 transit
,
21 const BMessage
* dragMessage
);
22 virtual void MouseDown(BPoint where
);
24 virtual void Draw(BRect updateRect
);
26 virtual void MessageReceived(BMessage
* message
);
27 void SetEnabled(bool enabled
);
30 void _UpdateLinkColor();