2 * Copyright 2004-2011, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
6 * Andrew McCall <mccall@@digitalparadise.co.uk>
7 * Mike Berg <mike@berg-net.us>
8 * Julun <host.haiku@gmx.de>
9 * Hamish Morrison <hamish@lavabit.com>
20 class TTZDisplay
: public BView
{
22 TTZDisplay(const char* name
,
24 virtual ~TTZDisplay();
26 virtual void AttachedToWindow();
27 virtual void ResizeToPreferred();
28 virtual void Draw(BRect updateRect
);
30 virtual BSize
MaxSize();
31 virtual BSize
MinSize();
32 virtual BSize
PreferredSize();
34 const char* Label() const;
35 void SetLabel(const char* label
);
37 const char* Text() const;
38 void SetText(const char* text
);
40 const char* Time() const;
41 void SetTime(const char* time
);
44 BSize
_CalcPrefSize();
52 #endif // _TZ_DISPLAY_H