imageeditor/plugins/DrawPlugin/data/draw.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 the plugin.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 //=============================================================================
       
    22 //  RESOURCE INDENTIFIER
       
    23 //=============================================================================
       
    24 NAME    PGN0
       
    25 
       
    26 //=============================================================================
       
    27 //  INCLUDES
       
    28 //=============================================================================
       
    29 #include <eikon.rh>
       
    30 #include <data_caging_paths_strings.hrh>
       
    31 
       
    32 #include "definitions.def"
       
    33 #include "ImageEditorPluginBase.hrh"
       
    34 #include "ImageEditorPluginBase.rh"
       
    35 #include "ImageEditorUids.hrh"
       
    36 #include "draw.hrh"
       
    37 #include "draw_gen.loc"
       
    38 #include "ImageEditor.loc"
       
    39 
       
    40 
       
    41 //=============================================================================
       
    42 //  RESOURCE DEFINITIONS 
       
    43 //=============================================================================
       
    44 
       
    45 RESOURCE RSS_SIGNATURE { }
       
    46 
       
    47 RESOURCE PGNINFO r_plugin_info
       
    48     {
       
    49     pluginuid           = UID_DRAW_PLUGIN;
       
    50     uitype              = EPluginUiTypeCustomized;
       
    51     plugintype          = EPluginFilterTypeABITO;
       
    52     pluginscope         = EPluginScopeAdjustmentEngine;
       
    53     plugindisplayorder  = 11;
       
    54     pluginname          = "Draw";//qtn_sie_plugin_name_text;
       
    55     iconfile            = "draw.mif";
       
    56     filterfile          = "filterdraw.dll";
       
    57     }
       
    58 
       
    59 RESOURCE PARAMNAMES r_plugin_pars
       
    60     {
       
    61     parameters=
       
    62         {
       
    63         // Insert text
       
    64         //qtn_sie_heading_insert_text,
       
    65         "Drow",
       
    66         
       
    67         // Move text
       
    68         //qtn_sie_pgn_move_text, // old
       
    69         " ",                     // currently no navi pane text
       
    70         
       
    71         // Resize text
       
    72         //qtn_sie_pgn_resize_text,  //old
       
    73         " ",                        // currently no navi pane text
       
    74         
       
    75         // Rotate text
       
    76         //qtn_sie_pgn_rotate_text,  // old
       
    77         " "                         // currently no navi pane text
       
    78         
       
    79         };
       
    80     }
       
    81  
       
    82 RESOURCE PGNUIITEMS r_sk1_items
       
    83     {
       
    84     items=
       
    85         {
       
    86         PGNUIITEM 
       
    87             {    
       
    88             id=EPgnSoftkeyIdOptions;
       
    89             text=qtn_sie_pgn_sk1_options;
       
    90             },
       
    91         PGNUIITEM 
       
    92             {    
       
    93             id=EPgnSoftkeyIdOk;
       
    94             text=qtn_sie_pgn_sk1_ok;
       
    95             },
       
    96         PGNUIITEM 
       
    97             {    
       
    98             id=EPgnSoftkeyIdOptions;
       
    99             text=qtn_sie_pgn_sk1_options;
       
   100             }
       
   101         };
       
   102     }
       
   103 
       
   104 RESOURCE PGNUIITEMS r_sk2_items
       
   105     {
       
   106     items=
       
   107         {
       
   108         PGNUIITEM 
       
   109             {    
       
   110             id=EPgnSoftkeyIdCancel;
       
   111             text=qtn_sie_pgn_sk2_cancel;
       
   112             },
       
   113         PGNUIITEM 
       
   114             {    
       
   115             id=EPgnSoftkeyIdCancel;
       
   116             text=qtn_sie_pgn_sk2_cancel;
       
   117             },
       
   118         PGNUIITEM 
       
   119             {    
       
   120             id=EPgnSoftkeyIdDone;
       
   121             text=qtn_sie_pgn_sk2_done;
       
   122             }
       
   123         };
       
   124     }
       
   125 
       
   126 RESOURCE PGNUIITEMS r_msk_items
       
   127     {
       
   128     items=
       
   129         {
       
   130         PGNUIITEM 
       
   131             {
       
   132             id = EAknSoftkeyContextOptions;
       
   133             text = text_softkey_option;
       
   134             },
       
   135         PGNUIITEM 
       
   136             {
       
   137             id=EPgnSoftkeyIdOk;
       
   138             text=qtn_sie_pgn_sk1_ok;
       
   139             },
       
   140         PGNUIITEM 
       
   141             {
       
   142             id = EAknSoftkeyContextOptions;
       
   143             text = text_softkey_option;
       
   144             }
       
   145         };
       
   146     }
       
   147 
       
   148 RESOURCE PGNUIITEMS r_menu_items
       
   149     {
       
   150     items=
       
   151         {
       
   152         // Resize
       
   153         PGNUIITEM 
       
   154             {    
       
   155             id=EDrawPgnMenuCmdResize;
       
   156             text=qtn_sie_options_resize;
       
   157             },
       
   158         // Color
       
   159         PGNUIITEM 
       
   160             {    
       
   161             id=EDrawPgnMenuCmdColor;
       
   162             text=qtn_sie_options_change_color;
       
   163             },
       
   164         // Cancel
       
   165         PGNUIITEM 
       
   166             {    
       
   167             id=EDrawPgnMenuCmdCancel;
       
   168             text=qtn_sie_options_cancel_effect;
       
   169             }
       
   170         };
       
   171     } 
       
   172 
       
   173 // Context specific MSK menu
       
   174 RESOURCE MENU_BAR r_text_context_menubar
       
   175     {
       
   176     titles =
       
   177         {
       
   178         MENU_TITLE 
       
   179             { 
       
   180             menu_pane = r_text_context_menupane; 
       
   181             txt = " "; 
       
   182             }
       
   183         };
       
   184     }
       
   185 
       
   186 RESOURCE MENU_PANE r_text_context_menupane
       
   187     {
       
   188     items =
       
   189         {
       
   190         MENU_ITEM 
       
   191             { 
       
   192             command = EDrawPgnMenuCmdResize; 
       
   193             txt = qtn_sie_options_resize; 
       
   194             }, 
       
   195         MENU_ITEM 
       
   196             { 
       
   197             command = EDrawPgnMenuCmdColor; 
       
   198             txt = qtn_sie_options_change_color; 
       
   199             }    
       
   200         };
       
   201     }
       
   202         
       
   203     
       
   204 // Tooltip texts
       
   205 RESOURCE TBUF r_tooltip_text_resize { buf = qtn_sie_tooltip_resize; } 
       
   206 
       
   207 RESOURCE TBUF r_title_line_weight { buf = "Line width/weight"; }
       
   208 
       
   209 // End of File