btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / switcher / PanelWindow.h
blob9df157ceb166957c8995e3f15962e650d0863c14
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
9 #include <Window.h>
12 class PanelWindow : public BWindow {
13 public:
14 PanelWindow(uint32 location, uint32 which,
15 team_id team);
16 virtual ~PanelWindow();
18 virtual void MessageReceived(BMessage* message);
20 private:
21 BView* _ViewFor(uint32 location, uint32 which,
22 team_id team) const;
23 void _UpdateShowState(uint32 how);
24 float _Factor();
26 private:
27 uint32 fLocation;
28 int32 fShowState;
32 #endif // PANEL_WINDOW_H