DHCP initial timeout 0.25s from 4s
[haiku.git] / src / apps / webpositive / URLInputGroup.h
blobd71f713ca72cbe0c97b18f4f3e34a758d59d1b34
1 /*
2 * Copyright 2010 Stephan Aßmus <superstippi@gmx.de>
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
5 #ifndef URL_INPUT_GROUP_H
6 #define URL_INPUT_GROUP_H
8 #include <GroupView.h>
10 class BButton;
11 class BTextView;
14 class URLInputGroup : public BGroupView {
15 public:
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 private:
33 class PageIconView;
34 class URLTextView;
36 PageIconView* fIconView;
37 URLTextView* fTextView;
38 BButton* fGoButton;
39 bool fWindowActive;
42 #endif // URL_INPUT_GROUP_H