xref: /haiku/src/apps/launchbox/NamePanel.h (revision a84e14ca84d32e9469c91372d71556488bd3d48b)
1 /*
2  * Copyright 2006-2011, Stephan Aßmus <superstippi@gmx.de>.
3  * All rights reserved. Distributed under the terms of the MIT License.
4  */
5 #ifndef NAME_PANEL_H
6 #define NAME_PANEL_H
7 
8 #include "Panel.h"
9 
10 class BTextControl;
11 
12 class NamePanel : public Panel {
13 public:
14 							NamePanel(const char* label, const char* text,
15 								BWindow* window, BHandler* target,
16 								BMessage* message, const BSize& size);
17 	virtual					~NamePanel();
18 
19 	virtual void			MessageReceived(BMessage *message);
20 
21 private:
22 	BTextControl*			fNameTC;
23 	BWindow*				fWindow;
24 	BHandler*				fTarget;
25 	BMessage*				fMessage;
26 
27 	window_feel				fSavedTargetWindowFeel;
28 };
29 
30 #endif // NAME_PANEL_H
31