xref: /haiku/src/apps/switcher/PanelWindow.h (revision 17889a8c70dbb3d59c1412f6431968753c767bab)
1 /*
2  * Copyright 2011, Axel Dörfler, axeld@pinc-software.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef PANEL_WINDOW_H
6 #define PANEL_WINDOW_H
7 
8 
9 #include <Window.h>
10 
11 
12 class PanelWindow : public BWindow {
13 public:
14 								PanelWindow(uint32 location, uint32 which,
15 									team_id team);
16 	virtual						~PanelWindow();
17 
18 	virtual	void				MessageReceived(BMessage* message);
19 
20 private:
21 			BView*				_ViewFor(uint32 location, uint32 which,
22 									team_id team) const;
23 			void				_UpdateShowState(uint32 how);
24 			float				_Factor();
25 
26 private:
27 			uint32				fLocation;
28 			int32				fShowState;
29 };
30 
31 
32 #endif	// PANEL_WINDOW_H
33