os/textandloc/textrendering/textformatting/test/data/TCustomWrap.rss
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 *
    16 */
    17 
    18 
    19 NAME WRAP
    20 
    21 #include "TCustomWrap.hrh"
    22 #include <eikon.rh>
    23 #include <uiklafgt/eikcore.rsg>
    24 
    25 RESOURCE RSS_SIGNATURE { }
    26 
    27 RESOURCE TBUF16 { buf=""; }
    28 
    29 RESOURCE EIK_APP_INFO
    30 	{
    31 	hotkeys=r_tcustomwrap_exitonly_hotkey;
    32 	menubar=r_wrap_menubar;
    33 	}
    34 
    35 RESOURCE MENU_BAR r_wrap_menubar
    36   {
    37   titles=
    38       {
    39        MENU_TITLE {menu_pane=r_wrap_file; txt="CWrap File"; },
    40 	   MENU_TITLE {menu_pane=r_wrap_options; txt="CWrap Options"; }
    41        };
    42    }
    43 
    44 RESOURCE MENU_PANE r_wrap_file 
    45    {
    46    items=
    47         {
    48          MENU_ITEM
    49 			{
    50 			command=EAppCmdExit;
    51 			txt="Exit";
    52 			}
    53        };
    54    }
    55 	
    56 RESOURCE MENU_PANE r_wrap_options
    57 	{
    58 	items=
    59 		{
    60 		MENU_ITEM
    61 			{
    62 			command=EAppCmdWrap0;
    63 			txt="Normal";
    64 			},
    65 		MENU_ITEM
    66 			{
    67 			command=EAppCmdWrap1;
    68 			txt="Anywhere";
    69 			},
    70 		MENU_ITEM
    71 			{
    72 			command=EAppCmdWrap2;
    73 			txt="Anywhere with wrap up";
    74 			}
    75 		};
    76 	}
    77 
    78 RESOURCE HOTKEYS r_tcustomwrap_exitonly_hotkey
    79 	{
    80 	control=
    81 		{
    82 		HOTKEY{command=EAppCmdExit;key='e';}
    83 		};
    84 	}