author | sl |
Tue, 10 Jun 2014 14:32:02 +0200 | |
changeset 1 | 260cb5ec6c19 |
permissions | -rw-r--r-- |
sl@0 | 1 |
/* |
sl@0 | 2 |
* Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
sl@0 | 3 |
* All rights reserved. |
sl@0 | 4 |
* This component and the accompanying materials are made available |
sl@0 | 5 |
* under the terms of "Eclipse Public License v1.0" |
sl@0 | 6 |
* which accompanies this distribution, and is available |
sl@0 | 7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
sl@0 | 8 |
* |
sl@0 | 9 |
* Initial Contributors: |
sl@0 | 10 |
* Nokia Corporation - initial contribution. |
sl@0 | 11 |
* |
sl@0 | 12 |
* Contributors: |
sl@0 | 13 |
* |
sl@0 | 14 |
* Description: |
sl@0 | 15 |
* TNRLAPP.RSS |
sl@0 | 16 |
* |
sl@0 | 17 |
*/ |
sl@0 | 18 |
|
sl@0 | 19 |
|
sl@0 | 20 |
NAME NRL |
sl@0 | 21 |
CHARACTER_SET UTF8 |
sl@0 | 22 |
#include <techview/eikon.rh> |
sl@0 | 23 |
#include <eikcore.rsg> |
sl@0 | 24 |
#include <eikctl.rsg> |
sl@0 | 25 |
#include <testnrl.mbg> |
sl@0 | 26 |
#include "TestNrl.hrh" |
sl@0 | 27 |
|
sl@0 | 28 |
RESOURCE RSS_SIGNATURE { } |
sl@0 | 29 |
|
sl@0 | 30 |
RESOURCE TBUF16 { buf=""; } |
sl@0 | 31 |
|
sl@0 | 32 |
RESOURCE EIK_APP_INFO |
sl@0 | 33 |
{ |
sl@0 | 34 |
hotkeys=r_nrl_hotkeys; |
sl@0 | 35 |
menubar=r_nrl_menubar; |
sl@0 | 36 |
toolbar=r_nrl_toolbar; |
sl@0 | 37 |
} |
sl@0 | 38 |
|
sl@0 | 39 |
RESOURCE MENU_BAR r_nrl_menubar |
sl@0 | 40 |
{ |
sl@0 | 41 |
titles= |
sl@0 | 42 |
{ |
sl@0 | 43 |
MENU_TITLE {menu_pane=r_nrl_file; txt="File"; } |
sl@0 | 44 |
}; |
sl@0 | 45 |
} |
sl@0 | 46 |
|
sl@0 | 47 |
RESOURCE MENU_PANE r_nrl_file |
sl@0 | 48 |
{ |
sl@0 | 49 |
items= |
sl@0 | 50 |
{ |
sl@0 | 51 |
MENU_ITEM |
sl@0 | 52 |
{ |
sl@0 | 53 |
command=EAppCmdTest; |
sl@0 | 54 |
txt="Start Test"; |
sl@0 | 55 |
}, |
sl@0 | 56 |
MENU_ITEM |
sl@0 | 57 |
{ |
sl@0 | 58 |
command=EAppCmdExit; |
sl@0 | 59 |
txt="Exit"; |
sl@0 | 60 |
} |
sl@0 | 61 |
}; |
sl@0 | 62 |
} |
sl@0 | 63 |
|
sl@0 | 64 |
RESOURCE HOTKEYS r_nrl_hotkeys |
sl@0 | 65 |
{ |
sl@0 | 66 |
control= |
sl@0 | 67 |
{ |
sl@0 | 68 |
HOTKEY{command=EAppCmdTest;key='t';}, |
sl@0 | 69 |
HOTKEY{command=EAppCmdExit;key='e';} |
sl@0 | 70 |
}; |
sl@0 | 71 |
} |
sl@0 | 72 |
|
sl@0 | 73 |
|
sl@0 | 74 |
RESOURCE TOOLBAR r_nrl_toolbar |
sl@0 | 75 |
{ |
sl@0 | 76 |
controls= |
sl@0 | 77 |
{ |
sl@0 | 78 |
TBAR_BUTTON |
sl@0 | 79 |
{ |
sl@0 | 80 |
id=EAppCmdTest; |
sl@0 | 81 |
txt="Start\nTests"; |
sl@0 | 82 |
layout=EEikCmdButExcessToText; |
sl@0 | 83 |
flags=EEikToolBarCtrlHasSetMinLength; |
sl@0 | 84 |
length=KEikStdToolBarButtonHeight; |
sl@0 | 85 |
}, |
sl@0 | 86 |
TBAR_BUTTON |
sl@0 | 87 |
{ |
sl@0 | 88 |
id=EAppCmdExit; |
sl@0 | 89 |
txt="Exit"; |
sl@0 | 90 |
layout=EEikCmdButExcessToText; |
sl@0 | 91 |
flags=EEikToolBarCtrlHasSetMinLength; |
sl@0 | 92 |
length=KEikStdToolBarButtonHeight; |
sl@0 | 93 |
}, |
sl@0 | 94 |
TBAR_BUTTON |
sl@0 | 95 |
{ |
sl@0 | 96 |
id=EAppCmdNone; |
sl@0 | 97 |
flags=EEikToolBarCtrlHasSetMinLength; |
sl@0 | 98 |
length=KEikStdToolBarButtonHeight*10/8; |
sl@0 | 99 |
layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText; |
sl@0 | 100 |
bmpfile="z:\\resource\\apps\\testnrl.mbm"; |
sl@0 | 101 |
bmpid=EMbmTestnrlPic; |
sl@0 | 102 |
bmpmask=EMbmTestnrlMask; |
sl@0 | 103 |
}, |
sl@0 | 104 |
TBAR_CTRL |
sl@0 | 105 |
{ |
sl@0 | 106 |
type=EEikCtSpacer; id=9999; flags=EEikToolBarCtrlIsStretchable; |
sl@0 | 107 |
control=SPACER { }; |
sl@0 | 108 |
}, |
sl@0 | 109 |
TBAR_CTRL |
sl@0 | 110 |
{ |
sl@0 | 111 |
type=EEikCtClock; |
sl@0 | 112 |
control=CLOCK |
sl@0 | 113 |
{ |
sl@0 | 114 |
digitalresourceid=R_EIK_DIGITAL_CLOCK; |
sl@0 | 115 |
analogresourceid=R_EIK_ANALOG_CLOCK; |
sl@0 | 116 |
}; |
sl@0 | 117 |
} |
sl@0 | 118 |
}; |
sl@0 | 119 |
} |
sl@0 | 120 |
|
sl@0 | 121 |
RESOURCE ARRAY r_nrl_collate |
sl@0 | 122 |
{ |
sl@0 | 123 |
items= |
sl@0 | 124 |
{ |
sl@0 | 125 |
LBUF {txt="D";}, |
sl@0 | 126 |
LBUF {txt="B";}, |
sl@0 | 127 |
LBUF {txt="A";} |
sl@0 | 128 |
}; |
sl@0 | 129 |
} |
sl@0 | 130 |
|
sl@0 | 131 |
|
sl@0 | 132 |