btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / deskbar / CalendarMenuWindow.h
blob10dd58570413be80eed7b3909e4cc1d74a0daf86
1 /*
2 * Copyright 2008 Karsten Heimrich, host.haiku@gmx.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _CALENDAR_MENU_WINDOW_H_
6 #define _CALENDAR_MENU_WINDOW_H_
9 #include <DateTime.h>
10 #include <Window.h>
13 class BMessage;
14 class BStringView;
16 namespace BPrivate {
17 class BCalendarView;
20 using BPrivate::BCalendarView;
22 class CalendarMenuWindow : public BWindow {
23 public:
24 CalendarMenuWindow(BPoint where);
25 virtual ~CalendarMenuWindow();
27 virtual void Show();
28 virtual void WindowActivated(bool active);
29 virtual void MessageReceived(BMessage* message);
31 private:
32 void _UpdateDate(const BDate& date);
33 BButton* _SetupButton(const char* label, uint32 what,
34 float height);
36 private:
37 BStringView* fYearLabel;
38 BStringView* fMonthLabel;
39 BCalendarView* fCalendarView;
40 bool fSuppressFirstClose;
44 #endif /* _CALENDAR_MENU_WINDOW_H_ */