tcp: Fix 64 bit build with debugging features enabled.
[haiku.git] / src / preferences / screen / AlertView.h
blob66432b3c42368e7b390c13b7655e37a4458fa037
1 /*
2 * Copyright 2001-2005, Haiku.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Rafael Romo
7 * Stefano Ceccherini (burton666@libero.it)
8 * Axel Dörfler, axeld@pinc-software.de
9 */
10 #ifndef ALERT_VIEW_H
11 #define ALERT_VIEW_H
14 #include <String.h>
15 #include <View.h>
17 class BBitmap;
18 class BStringView;
21 class AlertView : public BView {
22 public:
23 AlertView(BRect frame, const char* name);
25 virtual void AttachedToWindow();
26 virtual void Draw(BRect updateRect);
27 virtual void Pulse();
28 virtual void KeyDown(const char* bytes, int32 numBytes);
30 private:
31 void UpdateCountdownView();
32 BBitmap* InitIcon();
34 BStringView* fCountdownView;
35 BBitmap* fBitmap;
36 int32 fSeconds;
39 #endif /* ALERT_VIEW_H */