/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Resource definitions for project testdomextanimation
*
*/


NAME ANIM

// INCLUDE FILES
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include <avkon.hrh>
#include <avkon.mbg>

#include "testdomextanimation.hrh"

RESOURCE RSS_SIGNATURE {}
RESOURCE TBUF { buf = ""; }

// ----------------------------------------------------------------------------
//
// r_qgn_note_batt_full_anim
//
// ----------------------------------------------------------------------------
//
STRUCT ANIM_DATA_TEST
    {
    WORD flags = 0;
    LONG frameInterval = 0;
    WORD sections = 0;
    }

RESOURCE ANIM_DATA_TEST r_test_animdata
    {
    flags = 4;
    }

RESOURCE BMPANIM_DATA r_qgn_note_batt_full_anim
    {
    frameinterval = 300;
    playmode = EAknBitmapAnimationPlayModePlay;
    bmpfile = AVKON_BITMAP_FILE;
    frames = r_qgn_note_batt_full_anim_frames;
    }

// ----------------------------------------------------------------------------
//
// r_qgn_note_batt_full_anim_frames
//
// ----------------------------------------------------------------------------
//
RESOURCE ARRAY r_qgn_note_batt_full_anim_frames
    {
    items=
        {
        BMPANIM_FRAME
            {
            time = 3000;
            bmpid = EMbmAvkonQgn_note_batt_full;
            maskid = EMbmAvkonQgn_note_batt_full_mask;
            }
        };
    }

RESOURCE CBA r_avkon_softkeys_empty_with_ids
    {
    buttons =
        {
        CBA_BUTTON {id=EAknSoftkeyEmpty; txt=text_softkey_empty;},
        CBA_BUTTON {id=EAknSoftkeyEmpty; txt=text_softkey_empty;},
        CBA_BUTTON {id=EAknSoftkeyEmpty; txt=text_softkey_empty;}
        };
    }

RESOURCE DIALOG r_akn_confirmation_note_dialog_wait 
    {
    flags =  EAknConfirmationNoteFlags | EEikDialogFlagWait;
    buttons = r_avkon_softkeys_empty_with_ids;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EGeneralNote;
            control = AVKON_NOTE
                {
                layout = EGeneralLayout;
                singular_label = text_done;
                animation = r_qgn_note_batt_full_anim;
                };
            }
        };

    }

