textinput/peninputhwrtrui/inc/trui.rh
changeset 27 694fa80c203c
parent 24 fc42a86c98e3
child 35 0f326f2e628e
equal deleted inserted replaced
24:fc42a86c98e3 27:694fa80c203c
     1 /*
       
     2 * Copyright (c) 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:  Resource headers for project ?myapp
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef TRUI_RH
       
    19 #define TRUI_RH
       
    20 
       
    21 // ---------------------------------------------------------------------------
       
    22 // Define MENU_ITEMS struct type to save all menu items
       
    23 // ---------------------------------------------------------------------------
       
    24 //
       
    25 STRUCT MENU_ITEMS
       
    26     {
       
    27     // All menu items
       
    28     STRUCT items[];
       
    29     }
       
    30     
       
    31 // ---------------------------------------------------------------------------
       
    32 // Define LANGUAGE_SCRIPT_SET struct type to store supported language script.
       
    33 // ---------------------------------------------------------------------------
       
    34 //
       
    35 STRUCT LANGUAGE_SCRIPT_SET
       
    36     {
       
    37     // All language script
       
    38     STRUCT contents[];
       
    39     }
       
    40     
       
    41 // ---------------------------------------------------------------------------
       
    42 // Define LANGUAGE_SCRIPT_SET struct type to store supported language script.
       
    43 // ---------------------------------------------------------------------------
       
    44 //
       
    45 STRUCT LANGUAGE_SCRIPT
       
    46     {
       
    47     WORD id;
       
    48     WORD codes[];
       
    49     }
       
    50 
       
    51 // ---------------------------------------------------------------------------
       
    52 // Define LANGUAGE_SCRIPT_SET struct type for skin specified button.
       
    53 // ---------------------------------------------------------------------------
       
    54 //
       
    55 STRUCT SKIN_BUTTON
       
    56     {
       
    57     WORD flags=0;
       
    58     LTEXT helptxt="";
       
    59     LTEXT bmpfile="";
       
    60     WORD bmpid=0xffff;
       
    61     WORD bmpmask=0xffff;
       
    62     WORD press_bmpid=0xffff;
       
    63     WORD press_bmpmask=0xffff;
       
    64     LONG mainitemid=0;
       
    65     LONG minoritemid=0;
       
    66     LONG mainitempressid=0;
       
    67     LONG minoritempressid=0;
       
    68     }
       
    69 
       
    70 STRUCT TOOLBAR_BUTTON_GROUPS
       
    71     {
       
    72     STRUCT buttons[];
       
    73     }
       
    74     
       
    75 #endif // TRUI_RH