os/ossrv/lowlevellibsandfws/apputils/tsrc/TRSC.RSS
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
// Copyright (c) 1997-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
// NB deliberately renamed to TRSC.RSS to avoid a name clash, once PVCSed,
sl@0
    15
// with the file T_RSC.RSC
sl@0
    16
// 
sl@0
    17
//
sl@0
    18
sl@0
    19
STRUCT TBUF
sl@0
    20
	{
sl@0
    21
	BUF buf; /* non-zero terminated text string */
sl@0
    22
	}
sl@0
    23
sl@0
    24
STRUCT LBUF
sl@0
    25
	{
sl@0
    26
	LTEXT txt; // leading-byte counted text string
sl@0
    27
	}
sl@0
    28
sl@0
    29
STRUCT ARRAY
sl@0
    30
	{
sl@0
    31
	STRUCT items[];
sl@0
    32
	}
sl@0
    33
sl@0
    34
STRUCT BUTTON
sl@0
    35
	{
sl@0
    36
	WORD id;
sl@0
    37
	WORD flags;
sl@0
    38
	LTEXT txt;
sl@0
    39
	LTEXT txt2;
sl@0
    40
	LTEXT bmp;
sl@0
    41
	}
sl@0
    42
sl@0
    43
STRUCT FLPTED
sl@0
    44
	{
sl@0
    45
	WORD maxlength;
sl@0
    46
	DOUBLE min;
sl@0
    47
	DOUBLE max;
sl@0
    48
	}
sl@0
    49
sl@0
    50
STRUCT MENU_BAR
sl@0
    51
	{
sl@0
    52
	STRUCT titles[]; // MENU_BAR_ITEMs
sl@0
    53
	}
sl@0
    54
sl@0
    55
STRUCT MENU_TITLE
sl@0
    56
	{
sl@0
    57
	LLINK menu_pane;
sl@0
    58
	LTEXT txt;
sl@0
    59
	}
sl@0
    60
sl@0
    61
sl@0
    62
// NB, the T_RSC test code currently relies on these resources being
sl@0
    63
// numbered 1 - 8
sl@0
    64
sl@0
    65
sl@0
    66
RESOURCE TBUF sys_special_characters { buf="+-*/<,>."<0x1F>"NSWE"; }
sl@0
    67
sl@0
    68
RESOURCE TBUF sys_string { buf="%s"; }
sl@0
    69
RESOURCE TBUF sys_dimmed_msg {buf="This item is not available";}
sl@0
    70
RESOURCE TBUF sys_locked_msg {buf="This item cannot be changed";}
sl@0
    71
RESOURCE TBUF sys_busy { buf="Busy"; }
sl@0
    72
RESOURCE TBUF sys_scanning { buf="Scanning"; }
sl@0
    73
RESOURCE TBUF sys_printing_to { buf="Printing to %s";}
sl@0
    74
RESOURCE TBUF sys_page_is { buf="(page %u)";}
sl@0
    75
sl@0
    76
sl@0
    77
RESOURCE LBUF r_text_signature { txt = "Signature"; }
sl@0
    78
sl@0
    79
sl@0
    80
sl@0
    81
RESOURCE ARRAY sys_array_one
sl@0
    82
	{
sl@0
    83
	items=
sl@0
    84
		{
sl@0
    85
		LBUF { txt="Esc"; },
sl@0
    86
		LBUF { txt="Enter"; },
sl@0
    87
		LBUF { txt="Tab"; },
sl@0
    88
		LBUF { txt="Del"; },
sl@0
    89
		LBUF { txt="Space"; }
sl@0
    90
		};
sl@0
    91
	}
sl@0
    92
sl@0
    93
RESOURCE BUTTON sys_button_one
sl@0
    94
	{
sl@0
    95
	id=3;
sl@0
    96
	flags=5;
sl@0
    97
	txt="Text";
sl@0
    98
	txt2="";
sl@0
    99
	bmp="Bitmap placeholder";
sl@0
   100
	}
sl@0
   101
sl@0
   102
RESOURCE FLPTED sys_flpted_one
sl@0
   103
	{
sl@0
   104
	maxlength=18;
sl@0
   105
	min=0.0;
sl@0
   106
	max=9.9e99;
sl@0
   107
	}
sl@0
   108
sl@0
   109
RESOURCE MENU_BAR sys_menubar_one
sl@0
   110
	{
sl@0
   111
	titles=
sl@0
   112
		{
sl@0
   113
		MENU_TITLE { menu_pane=1; txt="a"; },
sl@0
   114
		MENU_TITLE { menu_pane=2; txt="ab"; },
sl@0
   115
		MENU_TITLE { menu_pane=3; txt="abc"; },
sl@0
   116
		MENU_TITLE { menu_pane=4; txt="abcd"; },
sl@0
   117
		MENU_TITLE { menu_pane=5; txt="abcde"; },
sl@0
   118
		MENU_TITLE { menu_pane=6; txt="abcdef"; },
sl@0
   119
		MENU_TITLE { menu_pane=7; txt="abcdefg"; },
sl@0
   120
		MENU_TITLE { menu_pane=8; txt="abcdefgh"; }
sl@0
   121
		};
sl@0
   122
	}
sl@0
   123
sl@0
   124
STRUCT HORROR
sl@0
   125
	{
sl@0
   126
	LTEXT8  txt8;
sl@0
   127
	LTEXT16 txt16;
sl@0
   128
	}
sl@0
   129
sl@0
   130
RESOURCE HORROR sys_alignment_horror0
sl@0
   131
	{
sl@0
   132
	txt8="";
sl@0
   133
	txt16="";
sl@0
   134
	}
sl@0
   135
sl@0
   136
RESOURCE HORROR sys_alignment_horror1
sl@0
   137
	{
sl@0
   138
	txt8="x";
sl@0
   139
	txt16="x";
sl@0
   140
	}
sl@0
   141
sl@0
   142
RESOURCE HORROR sys_alignment_horror2
sl@0
   143
	{
sl@0
   144
	txt8="xy";
sl@0
   145
	txt16="xy";
sl@0
   146
	}
sl@0
   147
sl@0
   148
RESOURCE HORROR sys_alignment_horror3
sl@0
   149
	{
sl@0
   150
	txt8="xyz";
sl@0
   151
	txt16="xyz";
sl@0
   152
	}
sl@0
   153
sl@0
   154
RESOURCE ARRAY sys_alignment_horror_array
sl@0
   155
	{
sl@0
   156
	items=
sl@0
   157
		{
sl@0
   158
		HORROR { txt8="";       txt16="abcdef"; },
sl@0
   159
		HORROR { txt8="a";      txt16="bcdef"; },
sl@0
   160
		HORROR { txt8="ab";     txt16="cdef"; },
sl@0
   161
		HORROR { txt8="abc";    txt16="def"; },
sl@0
   162
		HORROR { txt8="abcd";   txt16="ef"; },
sl@0
   163
		HORROR { txt8="abcde";  txt16="f"; },
sl@0
   164
		HORROR { txt8="abcdef"; txt16=""; }
sl@0
   165
		};
sl@0
   166
	}
sl@0
   167