imageeditor/plugins/TextPlugin/data/text.rss
changeset 1 edfc90759b9f
equal deleted inserted replaced
0:57d4cdd99204 1:edfc90759b9f
       
     1 /*
       
     2 * Copyright (c) 2010 Ixonos Plc.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "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 * Ixonos Plc
       
    14 *
       
    15 * Description: 
       
    16 * Resource definition file for Text plugin.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 //=============================================================================
       
    23 //  RESOURCE INDENTIFIER
       
    24 //=============================================================================
       
    25 NAME    PGN0
       
    26 
       
    27 
       
    28 //=============================================================================
       
    29 //  INCLUDES
       
    30 //=============================================================================
       
    31 #include <eikon.rh>
       
    32 #include <data_caging_paths_strings.hrh>
       
    33 
       
    34 #include "definitions.def"
       
    35 #include "ImageEditorPluginBase.hrh"
       
    36 #include "ImageEditorPluginBase.rh"
       
    37 #include "ImageEditorUids.hrh"
       
    38 #include "text.hrh"
       
    39 #include "text_gen.loc"
       
    40 #include <ImageEditor.loc>
       
    41 
       
    42 
       
    43 //=============================================================================
       
    44 //  CONSTANTS  
       
    45 //=============================================================================
       
    46 
       
    47 
       
    48 //=============================================================================
       
    49 //  MACROS
       
    50 //=============================================================================
       
    51 
       
    52 
       
    53 //=============================================================================
       
    54 //  RESOURCE DEFINITIONS 
       
    55 //=============================================================================
       
    56 
       
    57 RESOURCE RSS_SIGNATURE { }
       
    58 
       
    59 RESOURCE PGNINFO r_plugin_info
       
    60     {
       
    61     pluginuid           = UID_TEXT_PLUGIN;
       
    62     uitype              = EPluginUiTypeCustomized;
       
    63     plugintype          = EPluginFilterTypeABITO;
       
    64     pluginscope         = EPluginScopeAdjustmentEngine;
       
    65     plugindisplayorder  = 9;
       
    66     pluginname          = qtn_sie_plugin_name_text;
       
    67     iconfile            = "text.mif";
       
    68     filterfile          = "FilterText.dll";
       
    69     }
       
    70 
       
    71 RESOURCE PARAMNAMES r_plugin_pars
       
    72     {
       
    73     parameters=
       
    74         {
       
    75         // Insert text
       
    76         qtn_sie_heading_insert_text,
       
    77         
       
    78         // Plugin main
       
    79         qtn_sie_navi_edit_text,
       
    80 
       
    81         // Move text
       
    82         qtn_sie_navi_edit_text,
       
    83         
       
    84         // Resize text
       
    85         qtn_sie_navi_edit_text,
       
    86         
       
    87         // Rotate text
       
    88         qtn_sie_navi_edit_text
       
    89         
       
    90         };
       
    91     }
       
    92  
       
    93 RESOURCE PGNUIITEMS r_sk1_items
       
    94     {
       
    95     items=
       
    96         {
       
    97         PGNUIITEM 
       
    98             {    
       
    99             id=EPgnSoftkeyIdOptions;
       
   100             text=qtn_sie_pgn_sk1_options;
       
   101             },
       
   102         PGNUIITEM 
       
   103             {    
       
   104             id=EPgnSoftkeyIdOk;
       
   105             text=qtn_sie_pgn_sk1_ok;
       
   106             },
       
   107         PGNUIITEM 
       
   108             {    
       
   109             id=EPgnSoftkeyIdOptions;
       
   110             text=qtn_sie_pgn_sk1_options;
       
   111             }
       
   112         };
       
   113     }
       
   114 
       
   115 RESOURCE PGNUIITEMS r_sk2_items
       
   116     {
       
   117     items=
       
   118         {
       
   119         PGNUIITEM 
       
   120             {    
       
   121             id=EPgnSoftkeyIdCancel;
       
   122             text=qtn_sie_pgn_sk2_cancel;
       
   123             },
       
   124         PGNUIITEM 
       
   125             {    
       
   126             id=EPgnSoftkeyIdCancel;
       
   127             text=qtn_sie_pgn_sk2_cancel;
       
   128             },
       
   129         PGNUIITEM 
       
   130             {    
       
   131             id=EPgnSoftkeyIdDone;
       
   132             text=qtn_sie_pgn_sk2_done;
       
   133             }
       
   134         };
       
   135     }
       
   136 
       
   137 RESOURCE PGNUIITEMS r_msk_items
       
   138     {
       
   139     items=
       
   140         {
       
   141         PGNUIITEM 
       
   142             {
       
   143             id = EAknSoftkeyContextOptions;
       
   144             text = text_softkey_option;
       
   145             },
       
   146         PGNUIITEM 
       
   147             {
       
   148             id=EPgnSoftkeyIdOk;
       
   149             text=qtn_sie_pgn_sk1_ok;
       
   150             },
       
   151         PGNUIITEM 
       
   152             {
       
   153             id = EAknSoftkeyContextOptions;
       
   154             text = text_softkey_option;
       
   155             }
       
   156         };
       
   157     }
       
   158 
       
   159 RESOURCE PGNUIITEMS r_menu_items
       
   160     {
       
   161     items=
       
   162         {
       
   163         // Move
       
   164         PGNUIITEM 
       
   165             {    
       
   166             id=ETextPgnMenuCmdMove;
       
   167             text=qtn_sie_options_move;
       
   168             },
       
   169         // Resize
       
   170         PGNUIITEM 
       
   171             {    
       
   172             id=ETextPgnMenuCmdResize;
       
   173             text=qtn_sie_options_resize;
       
   174             },
       
   175         // Rotate
       
   176         PGNUIITEM 
       
   177             {    
       
   178             id=ETextPgnMenuCmdRotate;
       
   179             text=qtn_sie_options_rotate;
       
   180             },
       
   181         // Color
       
   182         PGNUIITEM 
       
   183             {    
       
   184             id=ETextPgnMenuCmdColor;
       
   185             text=qtn_sie_options_change_color;
       
   186             },
       
   187         // Font
       
   188 //        PGNUIITEM 
       
   189 //        {    
       
   190 //            id=ETextPgnMenuCmdFont;
       
   191 //            text=qtn_sie_pgn_menu_font;
       
   192 //        },
       
   193         // Cancel
       
   194         PGNUIITEM 
       
   195             {    
       
   196             id=ETextPgnMenuCmdCancel;
       
   197             text=qtn_sie_options_cancel_effect;
       
   198             }
       
   199         };
       
   200     } 
       
   201 
       
   202 // Context specific MSK menu
       
   203 RESOURCE MENU_BAR r_text_context_menubar
       
   204     {
       
   205     titles =
       
   206         {
       
   207         MENU_TITLE 
       
   208             { 
       
   209             menu_pane = r_text_context_menupane; 
       
   210             txt = " "; 
       
   211             }
       
   212         };
       
   213     }
       
   214 
       
   215 RESOURCE MENU_PANE r_text_context_menupane
       
   216     {
       
   217     items =
       
   218         {
       
   219         MENU_ITEM 
       
   220             { 
       
   221             command = ETextPgnMenuCmdMove; 
       
   222             txt = qtn_sie_options_move; 
       
   223             },
       
   224         MENU_ITEM 
       
   225             { 
       
   226             command = ETextPgnMenuCmdResize; 
       
   227             txt = qtn_sie_options_resize; 
       
   228             },
       
   229         MENU_ITEM 
       
   230             { 
       
   231             command = ETextPgnMenuCmdRotate; 
       
   232             txt = qtn_sie_options_rotate; 
       
   233             },    
       
   234         MENU_ITEM 
       
   235             { 
       
   236             command = ETextPgnMenuCmdColor; 
       
   237             txt = qtn_sie_options_change_color; 
       
   238             }    
       
   239         };
       
   240     }
       
   241         
       
   242     
       
   243 // Tooltip texts
       
   244 RESOURCE TBUF r_tooltip_text_resize { buf = qtn_sie_tooltip_resize; } 
       
   245 RESOURCE TBUF r_tooltip_text_move { buf = qtn_sie_tooltip_move; } 
       
   246 RESOURCE TBUF r_tooltip_text_rotate { buf = qtn_sie_tooltip_rotate; } 
       
   247 
       
   248 
       
   249 // End of File