epoc32/include/mw/aknanim.rh
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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:
    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