sl@0: // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: sl@0: STRUCT TBUF sl@0: { sl@0: BUF buf; /* non-zero terminated text string */ sl@0: } sl@0: sl@0: STRUCT LBUF sl@0: { sl@0: LTEXT txt; // leading-byte counted text string sl@0: } sl@0: sl@0: STRUCT ARRAY sl@0: { sl@0: STRUCT items[]; sl@0: } sl@0: sl@0: STRUCT BUTTON sl@0: { sl@0: WORD id; sl@0: WORD flags; sl@0: LTEXT txt; sl@0: LTEXT txt2; sl@0: LTEXT bmp; sl@0: } sl@0: sl@0: STRUCT FLPTED sl@0: { sl@0: WORD maxlength; sl@0: DOUBLE min; sl@0: DOUBLE max; sl@0: } sl@0: sl@0: STRUCT MENU_BAR sl@0: { sl@0: STRUCT titles[]; // MENU_BAR_ITEMs sl@0: } sl@0: sl@0: STRUCT MENU_TITLE sl@0: { sl@0: LLINK menu_pane; sl@0: LTEXT txt; sl@0: } sl@0: sl@0: sl@0: // NB, the T_RSC test code currently relies on these resources being sl@0: // numbered 1 - 8 sl@0: sl@0: sl@0: RESOURCE TBUF sys_special_characters { buf="+-*/<,>."<0x1F>"NSWE"; } sl@0: sl@0: RESOURCE TBUF sys_string { buf="%s"; } sl@0: RESOURCE TBUF sys_dimmed_msg {buf="This item is not available";} sl@0: RESOURCE TBUF sys_locked_msg {buf="This item cannot be changed";} sl@0: RESOURCE TBUF sys_busy { buf="Busy"; } sl@0: RESOURCE TBUF sys_scanning { buf="Scanning"; } sl@0: RESOURCE TBUF sys_printing_to { buf="Printing to %s";} sl@0: RESOURCE TBUF sys_page_is { buf="(page %u)";} sl@0: sl@0: sl@0: RESOURCE LBUF r_text_signature { txt = "Signature"; } sl@0: sl@0: sl@0: sl@0: RESOURCE ARRAY sys_array_one sl@0: { sl@0: items= sl@0: { sl@0: LBUF { txt="Esc"; }, sl@0: LBUF { txt="Enter"; }, sl@0: LBUF { txt="Tab"; }, sl@0: LBUF { txt="Del"; }, sl@0: LBUF { txt="Space"; } sl@0: }; sl@0: } sl@0: sl@0: RESOURCE BUTTON sys_button_one sl@0: { sl@0: id=3; sl@0: flags=5; sl@0: txt="Text"; sl@0: txt2=""; sl@0: bmp="Bitmap placeholder"; sl@0: } sl@0: sl@0: RESOURCE FLPTED sys_flpted_one sl@0: { sl@0: maxlength=18; sl@0: min=0.0; sl@0: max=9.9e99; sl@0: } sl@0: sl@0: RESOURCE MENU_BAR sys_menubar_one sl@0: { sl@0: titles= sl@0: { sl@0: MENU_TITLE { menu_pane=1; txt="a"; }, sl@0: MENU_TITLE { menu_pane=2; txt="ab"; }, sl@0: MENU_TITLE { menu_pane=3; txt="abc"; }, sl@0: MENU_TITLE { menu_pane=4; txt="abcd"; }, sl@0: MENU_TITLE { menu_pane=5; txt="abcde"; }, sl@0: MENU_TITLE { menu_pane=6; txt="abcdef"; }, sl@0: MENU_TITLE { menu_pane=7; txt="abcdefg"; }, sl@0: MENU_TITLE { menu_pane=8; txt="abcdefgh"; } sl@0: }; sl@0: } sl@0: sl@0: STRUCT HORROR sl@0: { sl@0: LTEXT8 txt8; sl@0: LTEXT16 txt16; sl@0: } sl@0: sl@0: RESOURCE HORROR sys_alignment_horror0 sl@0: { sl@0: txt8=""; sl@0: txt16=""; sl@0: } sl@0: sl@0: RESOURCE HORROR sys_alignment_horror1 sl@0: { sl@0: txt8="x"; sl@0: txt16="x"; sl@0: } sl@0: sl@0: RESOURCE HORROR sys_alignment_horror2 sl@0: { sl@0: txt8="xy"; sl@0: txt16="xy"; sl@0: } sl@0: sl@0: RESOURCE HORROR sys_alignment_horror3 sl@0: { sl@0: txt8="xyz"; sl@0: txt16="xyz"; sl@0: } sl@0: sl@0: RESOURCE ARRAY sys_alignment_horror_array sl@0: { sl@0: items= sl@0: { sl@0: HORROR { txt8=""; txt16="abcdef"; }, sl@0: HORROR { txt8="a"; txt16="bcdef"; }, sl@0: HORROR { txt8="ab"; txt16="cdef"; }, sl@0: HORROR { txt8="abc"; txt16="def"; }, sl@0: HORROR { txt8="abcd"; txt16="ef"; }, sl@0: HORROR { txt8="abcde"; txt16="f"; }, sl@0: HORROR { txt8="abcdef"; txt16=""; } sl@0: }; sl@0: } sl@0: