2 * Copyright 2010 Stephan Aßmus <superstippi@gmx.de>
3 * All rights reserved. Distributed under the terms of the MIT License.
5 #ifndef URL_INPUT_GROUP_H
6 #define URL_INPUT_GROUP_H
14 class URLInputGroup
: public BGroupView
{
16 URLInputGroup(BMessage
* goMessage
);
17 virtual ~URLInputGroup();
19 virtual void AttachedToWindow();
20 virtual void WindowActivated(bool active
);
21 virtual void Draw(BRect updateRect
);
22 virtual void MakeFocus(bool focus
= true);
24 BTextView
* TextView() const;
25 void SetText(const char* text
);
26 const char* Text() const;
28 BButton
* GoButton() const;
30 void SetPageIcon(const BBitmap
* icon
);
32 bool IsURLInputLocked() const;
33 virtual void LockURLInput(bool lock
= true);
39 PageIconView
* fIconView
;
40 URLTextView
* fTextView
;
46 #endif // URL_INPUT_GROUP_H