os/ossrv/lowlevellibsandfws/apputils/tsrc/e1b01753.rss
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
// All rights reserved.
sl@0
     3
// This component and the accompanying materials are made available
sl@0
     4
// under the terms of "Eclipse Public License v1.0"
sl@0
     5
// which accompanies this distribution, and is available
sl@0
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
//
sl@0
     8
// Initial Contributors:
sl@0
     9
// Nokia Corporation - initial contribution.
sl@0
    10
//
sl@0
    11
// Contributors:
sl@0
    12
//
sl@0
    13
// Description:
sl@0
    14
//
sl@0
    15
sl@0
    16
sl@0
    17
STRUCT TBUF
sl@0
    18
	{
sl@0
    19
	BUF buf; /* non-zero terminated text string */
sl@0
    20
	}
sl@0
    21
sl@0
    22
STRUCT LBUF
sl@0
    23
	{
sl@0
    24
	LTEXT txt; // leading-byte counted text string
sl@0
    25
	}
sl@0
    26
sl@0
    27
STRUCT ARRAY
sl@0
    28
	{
sl@0
    29
	STRUCT items[];
sl@0
    30
	}
sl@0
    31
sl@0
    32
STRUCT BUTTON
sl@0
    33
	{
sl@0
    34
	WORD id;
sl@0
    35
	WORD flags;
sl@0
    36
	LTEXT txt;
sl@0
    37
	LTEXT txt2;
sl@0
    38
	LTEXT bmp;
sl@0
    39
	}
sl@0
    40
sl@0
    41
STRUCT FLPTED
sl@0
    42
	{
sl@0
    43
	WORD maxlength;
sl@0
    44
	DOUBLE min;
sl@0
    45
	DOUBLE max;
sl@0
    46
	}
sl@0
    47
sl@0
    48
STRUCT MENU_BAR
sl@0
    49
	{
sl@0
    50
	STRUCT titles[]; // MENU_BAR_ITEMs
sl@0
    51
	}
sl@0
    52
sl@0
    53
STRUCT MENU_TITLE
sl@0
    54
	{
sl@0
    55
	LLINK menu_pane;
sl@0
    56
	LTEXT txt;
sl@0
    57
	}
sl@0
    58
sl@0
    59
sl@0
    60
// NB, the T_RSC test code currently relies on these resources being
sl@0
    61
// numbered 1 - 8
sl@0
    62
sl@0
    63
sl@0
    64
RESOURCE TBUF sys_special_characters { buf="+-*/<,>."<0x1F>"NSWE"; }
sl@0
    65
sl@0
    66
RESOURCE TBUF sys_string { buf="%s"; }
sl@0
    67
RESOURCE TBUF sys_dimmed_msg {buf="This item is not available";}
sl@0
    68
RESOURCE TBUF sys_locked_msg {buf="This item cannot be changed";}
sl@0
    69
RESOURCE TBUF sys_busy { buf="Busy"; }
sl@0
    70
RESOURCE TBUF sys_scanning { buf="Scanning"; }
sl@0
    71
RESOURCE TBUF sys_printing_to { buf="Printing to %s";}
sl@0
    72
RESOURCE TBUF sys_page_is { buf="(page %u)";}
sl@0
    73
sl@0
    74
sl@0
    75
RESOURCE LBUF r_text_signature { txt = "Signature"; }
sl@0
    76
sl@0
    77
sl@0
    78
sl@0
    79
RESOURCE ARRAY sys_array_one
sl@0
    80
	{
sl@0
    81
	items=
sl@0
    82
		{
sl@0
    83
		LBUF { txt="Esc"; },
sl@0
    84
		LBUF { txt="Enter"; },
sl@0
    85
		LBUF { txt="Tab"; },
sl@0
    86
		LBUF { txt="Del"; },
sl@0
    87
		LBUF { txt="Space"; }
sl@0
    88
		};
sl@0
    89
	}
sl@0
    90
sl@0
    91
RESOURCE BUTTON sys_button_one
sl@0
    92
	{
sl@0
    93
	id=3;
sl@0
    94
	flags=5;
sl@0
    95
	txt="Text";
sl@0
    96
	txt2="";
sl@0
    97
	bmp="Bitmap placeholder";
sl@0
    98
	}
sl@0
    99
sl@0
   100
RESOURCE FLPTED sys_flpted_one
sl@0
   101
	{
sl@0
   102
	maxlength=18;
sl@0
   103
	min=0.0;
sl@0
   104
	max=9.9e99;
sl@0
   105
	}
sl@0
   106
sl@0
   107
RESOURCE MENU_BAR sys_menubar_one
sl@0
   108
	{
sl@0
   109
	titles=
sl@0
   110
		{
sl@0
   111
		MENU_TITLE { menu_pane=1; txt="a"; },
sl@0
   112
		MENU_TITLE { menu_pane=2; txt="ab"; },
sl@0
   113
		MENU_TITLE { menu_pane=3; txt="abc"; },
sl@0
   114
		MENU_TITLE { menu_pane=4; txt="abcd"; },
sl@0
   115
		MENU_TITLE { menu_pane=5; txt="abcde"; },
sl@0
   116
		MENU_TITLE { menu_pane=6; txt="abcdef"; },
sl@0
   117
		MENU_TITLE { menu_pane=7; txt="abcdefg"; },
sl@0
   118
		MENU_TITLE { menu_pane=8; txt="abcdefgh"; }
sl@0
   119
		};
sl@0
   120
	}
sl@0
   121
sl@0
   122
STRUCT HORROR
sl@0
   123
	{
sl@0
   124
	LTEXT8  txt8;
sl@0
   125
	LTEXT16 txt16;
sl@0
   126
	}
sl@0
   127
sl@0
   128
RESOURCE HORROR sys_alignment_horror0
sl@0
   129
	{
sl@0
   130
	txt8="";
sl@0
   131
	txt16="";
sl@0
   132
	}
sl@0
   133
sl@0
   134
RESOURCE HORROR sys_alignment_horror1
sl@0
   135
	{
sl@0
   136
	txt8="x";
sl@0
   137
	txt16="x";
sl@0
   138
	}
sl@0
   139
sl@0
   140
RESOURCE HORROR sys_alignment_horror2
sl@0
   141
	{
sl@0
   142
	txt8="xy";
sl@0
   143
	txt16="xy";
sl@0
   144
	}
sl@0
   145
sl@0
   146
RESOURCE HORROR sys_alignment_horror3
sl@0
   147
	{
sl@0
   148
	txt8="xyz";
sl@0
   149
	txt16="xyz";
sl@0
   150
	}
sl@0
   151
sl@0
   152
RESOURCE ARRAY sys_alignment_horror_array
sl@0
   153
	{
sl@0
   154
	items=
sl@0
   155
		{
sl@0
   156
		HORROR { txt8="";       txt16="abcdef"; },
sl@0
   157
		HORROR { txt8="a";      txt16="bcdef"; },
sl@0
   158
		HORROR { txt8="ab";     txt16="cdef"; },
sl@0
   159
		HORROR { txt8="abc";    txt16="def"; },
sl@0
   160
		HORROR { txt8="abcd";   txt16="ef"; },
sl@0
   161
		HORROR { txt8="abcde";  txt16="f"; },
sl@0
   162
		HORROR { txt8="abcdef"; txt16=""; }
sl@0
   163
		};
sl@0
   164
	}
sl@0
   165