epoc32/include/mw/aknanim.rh
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 aknanim.rh
     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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // AknAnim.RH
       
    20 //
       
    21 // Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
       
    22 //
       
    23 
       
    24 // Avkon Animation Resource Header
       
    25 
       
    26 #include <aknanim.hrh>
       
    27 
       
    28 STRUCT ANIM_BLIT_PREVIOUS_VIEW
       
    29 	{
       
    30 	BYTE type = EAnimBlitPreviousView;
       
    31 	WORD x;
       
    32 	WORD y;
       
    33 	}
       
    34 
       
    35 STRUCT ANIM_BLIT_NEXT_VIEW
       
    36 	{
       
    37 	BYTE type = EAnimBlitNewView;
       
    38 	WORD x;
       
    39 	WORD y;
       
    40 	}
       
    41 
       
    42 STRUCT ANIM_BLIT_PART_PREVIOUS_VIEW
       
    43 	{
       
    44 	BYTE type = EAnimBlitPartPreviousView;
       
    45 	WORD srcX;
       
    46 	WORD srcY;
       
    47 	WORD width;
       
    48 	WORD height;
       
    49 	WORD destX;
       
    50 	WORD destY;
       
    51 	}
       
    52 
       
    53 STRUCT ANIM_BLIT_PART_NEXT_VIEW
       
    54 	{
       
    55 	BYTE type = EAnimBlitPartNewView;
       
    56 	WORD steps = 1;
       
    57 	WORD srcX;
       
    58 	WORD srcY;
       
    59 	WORD width;
       
    60 	WORD height;
       
    61 	WORD destX = -32760;
       
    62 	WORD destY = -32760;
       
    63 	}
       
    64 
       
    65 STRUCT ANIM_DRAW_LINE
       
    66 	{
       
    67 	BYTE type = EAnimDrawLine;
       
    68 	WORD steps = 1;
       
    69 	WORD fromX;
       
    70 	WORD fromY;
       
    71 	WORD toX;
       
    72 	WORD toY;
       
    73 	}
       
    74 
       
    75 STRUCT ANIM_SET_COLOR
       
    76 	{
       
    77 	BYTE type = EAnimSetColor;
       
    78 	BYTE red;
       
    79 	BYTE green;
       
    80 	BYTE blue;
       
    81 	}
       
    82 
       
    83 STRUCT ANIM_SLIDE_PART_NEXT_VIEW
       
    84 	{
       
    85 	BYTE type = EAnimBlitSlideNewView;
       
    86 	WORD steps = 1;
       
    87 	WORD srcX;
       
    88 	WORD srcY;
       
    89 	WORD width;
       
    90 	WORD height;
       
    91 	WORD slideToX;
       
    92 	WORD slideToY;
       
    93 	WORD slideFromX;
       
    94 	WORD slideFromY;
       
    95 	}
       
    96 
       
    97 STRUCT ANIM_WAIT_UNTIL_COMPLETE
       
    98 	{
       
    99 	BYTE type = EAnimWaitUntilComplete;
       
   100 	}
       
   101 
       
   102 STRUCT ANIM_WAIT
       
   103 	{
       
   104 	BYTE type = EAnimWait;
       
   105 	WORD steps = 0;
       
   106 	}
       
   107 
       
   108 
       
   109 STRUCT ANIM_STEP
       
   110 	{
       
   111 	STRUCT draw_steps[];
       
   112 	}
       
   113 
       
   114 STRUCT ANIM_SECTION
       
   115 	{
       
   116 	STRUCT steps[];
       
   117 	}
       
   118 
       
   119 
       
   120 STRUCT ANIM_DATA
       
   121 	{
       
   122 	WORD flags = 0;
       
   123 	LONG interval = 0;
       
   124 	LLINK sections[];
       
   125 	}
       
   126 
       
   127