|
1 /* |
|
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Drawing Day View Listbox data. |
|
15 * Event bar and Event icon, event indicator |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef CALENDAYLISTBOXDATA_H |
|
22 #define CALENDAYLISTBOXDATA_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <eikfrlbd.h> |
|
26 |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * Drawing DayView Listbox data. |
|
32 * Event bar and Event icon, event indicator |
|
33 */ |
|
34 NONSHARABLE_CLASS( CCalenDayListboxData ) : public CFormattedCellListBoxData |
|
35 { |
|
36 private: // Constructors and destructor |
|
37 /** |
|
38 * C++ Constructor. |
|
39 */ |
|
40 CCalenDayListboxData(); |
|
41 |
|
42 public: // Constructors and destructor |
|
43 /** |
|
44 * Destructor. |
|
45 */ |
|
46 virtual ~CCalenDayListboxData(); |
|
47 |
|
48 /** |
|
49 * Two-phased constructor. |
|
50 */ |
|
51 static CCalenDayListboxData* NewL(); |
|
52 |
|
53 public: // From CFormattedCellListBoxData |
|
54 /** |
|
55 * Drawing listbox item and highlight |
|
56 * @param aProperties Item margin, etc... |
|
57 * @param aGc Graphic context |
|
58 * @param aText Drawing text |
|
59 * @param aItemRect item rect |
|
60 * @param aColors Drawing colors |
|
61 */ |
|
62 void Draw( TListItemProperties aProperties, CWindowGc& aGc, |
|
63 const TDesC* aText, const TRect& aRect, TBool aHighlight, |
|
64 const TColors& aColors ) const; |
|
65 |
|
66 }; |
|
67 |
|
68 #endif // CALENDAYLISTBOXDATA_H |
|
69 |
|
70 |
|
71 // End of File |