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
12class PanelWindow : public BWindow {
13public:
14								PanelWindow(uint32 location, uint32 which,
15									team_id team);
16	virtual						~PanelWindow();
17
18	virtual	void				MessageReceived(BMessage* message);
19
20private:
21			BView*				_ViewFor(uint32 location, uint32 which,
22									team_id team) const;
23			void				_UpdateShowState(uint32 how);
24			float				_Factor();
25
26private:
27			uint32				fLocation;
28			int32				fShowState;
29};
30
31
32#endif	// PANEL_WINDOW_H
33