equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2003 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: smiltransition declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef SMILTRANSITION_H |
|
21 #define SMILTRANSITION_H |
|
22 |
|
23 #include <e32base.h> |
|
24 #include <gdi.h> |
|
25 |
|
26 #include <smiltime.h> |
|
27 #include <smiltextbuf.h> |
|
28 |
|
29 /** |
|
30 * Descripes properties of a SMIL2 transition |
|
31 */ |
|
32 class CSmilTransition : public CBase |
|
33 { |
|
34 public: |
|
35 |
|
36 CSmilTransition(); |
|
37 |
|
38 void SetId(const TDesC& iVal) { iId.SetTextL(iVal); } |
|
39 void SetType(const TDesC& iVal) { iType.SetTextL(iVal); } |
|
40 void SetSubtype(const TDesC& iVal) { iSubtype.SetTextL(iVal); } |
|
41 const TPtrC Id() const { return iId.Text(); } |
|
42 const TPtrC Type() const { return iType.Text(); } |
|
43 const TPtrC Subtype() const { return iSubtype.Text(); } |
|
44 private: |
|
45 RSmilTextBuf iId; |
|
46 RSmilTextBuf iType; |
|
47 RSmilTextBuf iSubtype; |
|
48 public: |
|
49 |
|
50 TSmilTime iDur; |
|
51 TRgb iFadeColor; |
|
52 TBool iReverse; |
|
53 |
|
54 CSmilTransition* iNext; |
|
55 |
|
56 TInt8 iStartProgress; |
|
57 TInt8 iEndProgress; |
|
58 |
|
59 }; |
|
60 |
|
61 #endif |