examples/AppFramework/AnimExample/AnimExample.rss

00001 /*
00002 Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
00003 
00004 Redistribution and use in source and binary forms, with or without
00005 modification, are permitted provided that the following conditions are met:
00006 
00007 * Redistributions of source code must retain the above copyright notice, this
00008   list of conditions and the following disclaimer.
00009 * Redistributions in binary form must reproduce the above copyright notice,
00010   this list of conditions and the following disclaimer in the documentation
00011   and/or other materials provided with the distribution.
00012 * Neither the name of Nokia Corporation nor the names of its contributors
00013   may be used to endorse or promote products derived from this software
00014   without specific prior written permission.
00015 
00016 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00017 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00018 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00019 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
00020 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00021 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00022 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00023 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00024 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00025 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00026 
00027 Description:  
00028 */
00029 
00030 
00031 NAME ANIM
00032 
00033 #include <eikon.rh>
00034 #include <appinfo.rh>
00035 #include <eikon.rsg>
00036 #include <eikcore.rsg>
00037 
00038 #include <fontids.h>
00039 #include <gulfont.hrh>
00040 
00041 #include "AnimExample.hrh"
00042 
00043 RESOURCE RSS_SIGNATURE { }
00044 
00045 RESOURCE TBUF { buf=""; }
00046 
00047 RESOURCE EIK_APP_INFO
00048         {
00049         toolbar=r_AnimExample_toolbar;
00050         menubar=r_menubar;
00051         }
00052 
00053 RESOURCE MENU_BAR r_menubar
00054     {
00055     titles=
00056         {
00057          MENU_TITLE { menu_pane=r_Animation_first_menu; txt="AnimExample"; }
00058                 };
00059     } 
00060 
00061 RESOURCE MENU_PANE r_Animation_first_menu
00062         {
00063         items=
00064                 {
00065         
00066                 MENU_ITEM { command=EExampleItem0;cascade=r_Sprite_menu; txt="Sprite"; },
00067                 MENU_ITEM { command=EExampleItem1;cascade=r_Basic_menu; txt="Basic"; },
00068                 MENU_ITEM { command=EEikCmdExit; txt= "Close "; }
00069         };
00070     }
00071 RESOURCE MENU_PANE r_Sprite_menu
00072 {
00073 items=
00074                 {
00075                 
00076                 MENU_ITEM { command=EAnimToDo0; txt="S.Start"; },
00077                 MENU_ITEM { command=EAnimToDo1; txt="B.Start"; },
00078                 MENU_ITEM { command=EAnimToDo2; txt="Pause"; },
00079                 MENU_ITEM { command=EAnimToDo3; txt="Resume"; },
00080                 MENU_ITEM { command=EAnimToDo4; txt="Stop"; }
00081                 
00082         };
00083     }
00084 RESOURCE MENU_PANE r_Basic_menu
00085         {
00086         items=
00087                 {
00088 
00089                 MENU_ITEM { command=EAnimToDo5; txt="MoveBoth"; },
00090                 MENU_ITEM { command=EAnimToDo6; txt="Pause"; },
00091                 MENU_ITEM { command=EAnimToDo7; txt="Resume"; },
00092                 MENU_ITEM { command=EAnimToDo8; txt="Stop"; }
00093                 
00094         };
00095     }
00096 
00097 RESOURCE TBUF r_appname_default_file
00098         {
00099         buf="AnimExample";
00100         }
00101 
00102 
00103 RESOURCE LOCALISABLE_APP_INFO r_lai
00104         {
00105         short_caption="ThribbetV2";
00106         
00107         caption_and_icon=       
00108                 {
00109                 CAPTION_AND_ICON_INFO
00110                         {
00111                         caption="AnimExample";
00112                         number_of_icons=3;
00113                         icon_file="\\resource\\apps\\AnimExample_icon.mbm";
00114                         }
00115                 };
00116 
00117         }
00118         
00119         
00120 rls_string STRING_r_test_toolbar0 "S.Start"
00121 rls_string STRING_r_test_toolbar1 "B.Start" 
00122 rls_string STRING_r_test_toolbar2 "S.Pause" 
00123 rls_string STRING_r_test_toolbar3 "S.Resume" 
00124 rls_string STRING_r_test_toolbar4 "S.Stop"
00125 rls_string STRING_r_test_toolbar5 "MoveBoth"
00126 rls_string STRING_r_test_toolbar6 "B.Pause" 
00127 rls_string STRING_r_test_toolbar7 "B.Resume" 
00128 rls_string STRING_r_test_toolbar8 "B.Stop" 
00129 rls_string STRING_r_test_toolbar9 "Close" 
00130         
00131 
00132 RESOURCE EIK_APP_INFO 
00133         {
00134 
00135         }       
00136 
00137 #define KDenseToolBarButtonHeight 23
00138 #define KDenseToolBarWidth 30
00139 
00140 
00141 RESOURCE TOOLBAR r_AnimExample_toolbar
00142         {
00143         breadth=KEikStdToolBarWidth;
00144         
00145         controls=
00146                 {
00147                 TBAR_BUTTON 
00148                         { 
00149                         id=EAnimToDo0;  
00150                         length=KDenseToolBarButtonHeight;
00151                         flags=EEikToolBarCtrlHasSetMinLength; 
00152                         txt=STRING_r_test_toolbar0; 
00153                         layout=EEikCmdButTextRightPictureLeft|EEikCmdButShareExcess|EEikCmdButDenseFont;
00154                         },
00155                 TBAR_BUTTON 
00156                         { 
00157                         id=EAnimToDo1; 
00158                         length=KDenseToolBarButtonHeight;
00159                         flags=EEikToolBarCtrlHasSetMinLength; 
00160                         txt=STRING_r_test_toolbar1;
00161                         layout=EEikCmdButTextRightPictureLeft|EEikCmdButShareExcess|EEikCmdButDenseFont;
00162                         },
00163                 TBAR_BUTTON 
00164                         { 
00165                         id=EAnimToDo2; 
00166                         flags=EEikToolBarCtrlHasSetMinLength; 
00167                         length=KDenseToolBarButtonHeight;
00168                         txt=STRING_r_test_toolbar2; 
00169                         layout=EEikCmdButTextRightPictureLeft|EEikCmdButShareExcess|EEikCmdButDenseFont;
00170                         },
00171                 TBAR_BUTTON 
00172                         { 
00173                         id=EAnimToDo3; 
00174                         flags=EEikToolBarCtrlHasSetMinLength; 
00175                         length=KDenseToolBarButtonHeight;
00176                         txt=STRING_r_test_toolbar3; 
00177                         layout=EEikCmdButTextRightPictureLeft|EEikCmdButShareExcess|EEikCmdButDenseFont;
00178                         },
00179                 TBAR_BUTTON 
00180                         { 
00181                         id=EAnimToDo4; 
00182                         flags=EEikToolBarCtrlHasSetMinLength; 
00183                         length=KDenseToolBarButtonHeight;
00184                         txt=STRING_r_test_toolbar4; 
00185                         layout=EEikCmdButTextRightPictureLeft|EEikCmdButShareExcess|EEikCmdButDenseFont;
00186                         },
00187                 TBAR_BUTTON 
00188                         { 
00189                         id=EAnimToDo5; 
00190                         flags=EEikToolBarCtrlHasSetMinLength; 
00191                         length=KDenseToolBarButtonHeight;
00192                         txt=STRING_r_test_toolbar5; 
00193                         layout=EEikCmdButTextRightPictureLeft|EEikCmdButShareExcess|EEikCmdButDenseFont;
00194                         },
00195                 TBAR_BUTTON 
00196                         { 
00197                         id=EAnimToDo6; 
00198                         flags=EEikToolBarCtrlHasSetMinLength; 
00199                         length=KDenseToolBarButtonHeight;
00200                         txt=STRING_r_test_toolbar6; 
00201                         layout=EEikCmdButTextRightPictureLeft|EEikCmdButShareExcess|EEikCmdButDenseFont;
00202                         }, 
00203                 TBAR_BUTTON 
00204                         { 
00205                         id=EAnimToDo7; 
00206                         flags=EEikToolBarCtrlHasSetMinLength; 
00207                         length=KDenseToolBarButtonHeight;
00208                         txt=STRING_r_test_toolbar7; 
00209                         layout=EEikCmdButTextRightPictureLeft|EEikCmdButShareExcess|EEikCmdButDenseFont;
00210                         },
00211                 TBAR_BUTTON 
00212                         { 
00213                         id=EAnimToDo8; 
00214                         flags=EEikToolBarCtrlHasSetMinLength; 
00215                         length=KDenseToolBarButtonHeight;
00216                         txt=STRING_r_test_toolbar8; 
00217                         layout=EEikCmdButTextRightPictureLeft|EEikCmdButShareExcess|EEikCmdButDenseFont;
00218                         },
00219                         TBAR_BUTTON 
00220                         { 
00221                         id=EAnimToDo9; 
00222                         flags=EEikToolBarCtrlHasSetMinLength; 
00223                         length=KDenseToolBarButtonHeight;
00224                         txt=STRING_r_test_toolbar9; 
00225                         layout=EEikCmdButTextRightPictureLeft|EEikCmdButShareExcess|EEikCmdButDenseFont;
00226                         }
00227                         
00228                 };      
00229         }
00230 
00231 
00232 RESOURCE TBUF r_example_text_BasicAnim { buf="Welcome to the Animation example "; }

Generated by  doxygen 1.6.2