uifw/AvKon/aknconf/data/aknconfphysics.rss
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     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:  This file contains the resources for the aknconf.
       
    15 *
       
    16 */
       
    17 
       
    18 //  INCLUDES
       
    19 #include <eikon.rh>
       
    20 #include <avkon.rsg>
       
    21 #include <avkon.rh>
       
    22 #include <appinfo.rh>
       
    23 #include "aknconf.hrh"
       
    24 #include "aknconf.rls"
       
    25 
       
    26 NAME ACPH // AknConfPhysics
       
    27 
       
    28 
       
    29 // --------------------------------------------------------------------------
       
    30 // RSS_SIGNATURE
       
    31 // Standard resource signature
       
    32 // --------------------------------------------------------------------------
       
    33 //
       
    34 RESOURCE RSS_SIGNATURE { }
       
    35 
       
    36 // ---------------------------------------------------------------------------- 
       
    37 //
       
    38 // Physics setting item list
       
    39 //
       
    40 // ---------------------------------------------------------------------------- 
       
    41 //
       
    42 RESOURCE AVKON_SETTING_ITEM_LIST r_aknconf_physics_settingitemlist
       
    43     {
       
    44     flags = EAknSettingItemNumberedStyle;
       
    45     title = "Settings";
       
    46     initial_number = 1;
       
    47     items =     
       
    48         {
       
    49         AVKON_SETTING_ITEM
       
    50             {
       
    51             identifier = EAknConfPhysicsSettingFeatureEnabled;
       
    52             setting_page_resource = r_aknconf_feature_enabled_setting_page;
       
    53             associated_resource = r_aknconf_setting_binary_yes_no_texts;
       
    54             name = qtn_setting_feature_enabled;
       
    55             },
       
    56         AVKON_SETTING_ITEM
       
    57             {
       
    58             identifier = EAknConfPhysicsSettingMass;
       
    59             setting_page_resource = r_aknconf_mass_setting_page;
       
    60             name = qtn_setting_mass;
       
    61             },
       
    62         AVKON_SETTING_ITEM
       
    63             {
       
    64             identifier = EAknConfPhysicsSettingGravity;
       
    65             setting_page_resource = r_aknconf_gravity_setting_page;
       
    66             name = qtn_setting_gravity;
       
    67             },
       
    68         AVKON_SETTING_ITEM
       
    69             {
       
    70             identifier = EAknConfPhysicsSettingSurfaceSoftErp;
       
    71             setting_page_resource = r_aknconf_surface_soft_erp_setting_page;
       
    72             name = qtn_setting_sse;
       
    73             },
       
    74         AVKON_SETTING_ITEM
       
    75             {
       
    76             identifier = EAknConfPhysicsSettingSurfaceSoftCfm;
       
    77             setting_page_resource = r_aknconf_surface_soft_cfm_setting_page;
       
    78             name = "Surface soft cfm";
       
    79             },
       
    80         AVKON_SETTING_ITEM
       
    81             {
       
    82             identifier = EAknConfPhysicsSettingHighlightTimeout;
       
    83             setting_page_resource = r_aknconf_highlight_timeout_setting_page;
       
    84             name = qtn_setting_highlight_timeout;
       
    85             },
       
    86         AVKON_SETTING_ITEM
       
    87             {
       
    88             identifier = EAknConfPhysicsSettingDragThreshold;
       
    89             setting_page_resource = r_aknconf_drag_threshold_setting_page;
       
    90             name = qtn_setting_drag_threshold;
       
    91             },
       
    92         AVKON_SETTING_ITEM
       
    93             {
       
    94             identifier = EAknConfPhysicsSettingFrameDelay;
       
    95             setting_page_resource = r_aknconf_frame_delay_setting_page;
       
    96             name = qtn_setting_frame_delay;
       
    97             },   
       
    98         AVKON_SETTING_ITEM
       
    99             {
       
   100             identifier = EAknConfPhysicsSettingMinFrameInterval;
       
   101             setting_page_resource = r_aknconf_min_frame_interval_setting_page;
       
   102             name = qtn_setting_min_frame_interval;
       
   103             },      
       
   104         AVKON_SETTING_ITEM
       
   105             {
       
   106             identifier = EAknConfPhysicsSettingShortListEmptySpace;
       
   107             setting_page_resource = r_aknconf_short_list_empty_setting_page;
       
   108             name = qtn_setting_short_list_space;
       
   109             },
       
   110         AVKON_SETTING_ITEM
       
   111             {
       
   112             identifier = EAknConfPhysicsSettingLongListEmptySpace;
       
   113             setting_page_resource = r_aknconf_long_list_empty_setting_page;
       
   114             name = qtn_setting_long_list_space;
       
   115             },
       
   116         AVKON_SETTING_ITEM
       
   117             {
       
   118             identifier = EAknConfPhysicsSettingFpsLoggingEnabled;
       
   119             setting_page_resource = r_aknconf_fps_logging_enabled;
       
   120             associated_resource = r_aknconf_setting_binary_yes_no_texts;
       
   121             name = qtn_setting_fps_logging_enabled;
       
   122             }
       
   123         };  
       
   124     }
       
   125 
       
   126 
       
   127 // ---------------------------------------------------------------------------- 
       
   128 //
       
   129 // Mass setting page
       
   130 //
       
   131 // ---------------------------------------------------------------------------- 
       
   132 //
       
   133 RESOURCE AVKON_SETTING_PAGE r_aknconf_feature_enabled_setting_page
       
   134     {
       
   135     label= qtn_setting_feature_enabled;
       
   136     type = EAknCtPopupSettingList;
       
   137     editor_resource_id = r_aknconf_binary_editor;
       
   138     }
       
   139 
       
   140 
       
   141 // ---------------------------------------------------------------------------- 
       
   142 //
       
   143 // Mass setting page
       
   144 //
       
   145 // ---------------------------------------------------------------------------- 
       
   146 //
       
   147 RESOURCE AVKON_SETTING_PAGE r_aknconf_mass_setting_page
       
   148     {
       
   149     label=qtn_setting_mass;
       
   150     type = EAknCtIntegerEdwin;
       
   151     editor_resource_id = r_aknconf_numericeditor;
       
   152     }
       
   153 
       
   154 
       
   155 // ---------------------------------------------------------------------------- 
       
   156 //
       
   157 // Gravity setting page
       
   158 //
       
   159 // ---------------------------------------------------------------------------- 
       
   160 //
       
   161 RESOURCE AVKON_SETTING_PAGE r_aknconf_gravity_setting_page
       
   162     {
       
   163     label=qtn_setting_gravity;
       
   164     type = EAknCtIntegerEdwin;
       
   165     editor_resource_id = r_aknconf_numericeditor;
       
   166     }
       
   167 
       
   168 
       
   169 // ---------------------------------------------------------------------------- 
       
   170 //
       
   171 // Surface soft erp setting page
       
   172 //
       
   173 // ---------------------------------------------------------------------------- 
       
   174 //
       
   175 RESOURCE AVKON_SETTING_PAGE r_aknconf_surface_soft_erp_setting_page
       
   176     {
       
   177     label=qtn_setting_sse;
       
   178     type = EAknCtIntegerEdwin;
       
   179     editor_resource_id = r_aknconf_numericeditor;
       
   180     }
       
   181 
       
   182 
       
   183 // ---------------------------------------------------------------------------- 
       
   184 //
       
   185 // Surface soft cfm setting page
       
   186 //
       
   187 // ---------------------------------------------------------------------------- 
       
   188 //
       
   189 RESOURCE AVKON_SETTING_PAGE r_aknconf_surface_soft_cfm_setting_page
       
   190     {
       
   191     label=qtn_setting_cfm;
       
   192     type = EAknCtIntegerEdwin;
       
   193     editor_resource_id = r_aknconf_numericeditor;
       
   194     }
       
   195 
       
   196 
       
   197 // ---------------------------------------------------------------------------- 
       
   198 //
       
   199 // Highlight timeout setting page
       
   200 //
       
   201 // ---------------------------------------------------------------------------- 
       
   202 //
       
   203 RESOURCE AVKON_SETTING_PAGE r_aknconf_highlight_timeout_setting_page
       
   204     {
       
   205     label=qtn_setting_highlight_timeout;
       
   206     type = EAknCtIntegerEdwin;
       
   207     editor_resource_id = r_aknconf_numericeditor;
       
   208     }
       
   209 
       
   210 
       
   211 // ---------------------------------------------------------------------------- 
       
   212 //
       
   213 // Drag threshold setting page
       
   214 //
       
   215 // ---------------------------------------------------------------------------- 
       
   216 //
       
   217 RESOURCE AVKON_SETTING_PAGE r_aknconf_drag_threshold_setting_page
       
   218     {
       
   219     label=qtn_setting_drag_threshold;
       
   220     type = EAknCtIntegerEdwin;
       
   221     editor_resource_id = r_aknconf_numericeditor;
       
   222     }
       
   223 
       
   224 // ---------------------------------------------------------------------------- 
       
   225 //
       
   226 // Frame delay setting page
       
   227 //
       
   228 // ---------------------------------------------------------------------------- 
       
   229 //
       
   230 RESOURCE AVKON_SETTING_PAGE r_aknconf_frame_delay_setting_page
       
   231     {
       
   232     label=qtn_setting_frame_delay;
       
   233     type = EAknCtIntegerEdwin;
       
   234     editor_resource_id = r_aknconf_numericeditor;
       
   235     }
       
   236 
       
   237 // ---------------------------------------------------------------------------- 
       
   238 //
       
   239 // Min frame interval setting page
       
   240 //
       
   241 // ---------------------------------------------------------------------------- 
       
   242 //
       
   243 RESOURCE AVKON_SETTING_PAGE r_aknconf_min_frame_interval_setting_page
       
   244     {
       
   245     label=qtn_setting_min_frame_interval;
       
   246     type = EAknCtIntegerEdwin;
       
   247     editor_resource_id = r_aknconf_numericeditor;
       
   248     }   
       
   249 
       
   250 // ---------------------------------------------------------------------------- 
       
   251 //
       
   252 // Short list empty space setting page
       
   253 //
       
   254 // ---------------------------------------------------------------------------- 
       
   255 //
       
   256 RESOURCE AVKON_SETTING_PAGE r_aknconf_short_list_empty_setting_page
       
   257     {
       
   258     number = 1;
       
   259     label = qtn_setting_short_list_space;
       
   260     type = EAknCtSlider;
       
   261     editor_resource_id = r_aknconf_slider;
       
   262     }
       
   263 
       
   264 
       
   265 // ---------------------------------------------------------------------------- 
       
   266 //
       
   267 // Long list empty space setting page
       
   268 //
       
   269 // ---------------------------------------------------------------------------- 
       
   270 //
       
   271 RESOURCE AVKON_SETTING_PAGE r_aknconf_long_list_empty_setting_page
       
   272     {
       
   273     number = 1;
       
   274     label = qtn_setting_long_list_space;
       
   275     type = EAknCtSlider;
       
   276     editor_resource_id = r_aknconf_slider;
       
   277     }
       
   278 
       
   279 
       
   280 // ---------------------------------------------------------------------------- 
       
   281 //
       
   282 // Fps logging setting page
       
   283 //
       
   284 // ---------------------------------------------------------------------------- 
       
   285 //
       
   286 RESOURCE AVKON_SETTING_PAGE r_aknconf_fps_logging_enabled
       
   287     {
       
   288     label= qtn_setting_fps_logging_enabled;
       
   289     type = EAknCtPopupSettingList;
       
   290     editor_resource_id = r_aknconf_binary_editor;
       
   291     }
       
   292 
       
   293 
       
   294 // ---------------------------------------------------------------------------- 
       
   295 //
       
   296 // Numeric editor
       
   297 //
       
   298 // ---------------------------------------------------------------------------- 
       
   299 //
       
   300 RESOURCE AVKON_INTEGER_EDWIN r_aknconf_numericeditor
       
   301     {
       
   302     maxlength = 100;
       
   303     }
       
   304 
       
   305 
       
   306 // ---------------------------------------------------------------------------- 
       
   307 //
       
   308 // Binary editor
       
   309 //
       
   310 // ---------------------------------------------------------------------------- 
       
   311 //
       
   312 RESOURCE POPUP_SETTING_LIST r_aknconf_binary_editor
       
   313     {
       
   314     flags= 0;
       
   315     }
       
   316 
       
   317 
       
   318 // ---------------------------------------------------------------------------- 
       
   319 //
       
   320 // Slider
       
   321 //
       
   322 // ---------------------------------------------------------------------------- 
       
   323 //
       
   324 RESOURCE SLIDER r_aknconf_slider
       
   325     {
       
   326     layout = EAknSettingsItemSliderLayout;
       
   327     minvalue = 0;
       
   328     maxvalue = 100;
       
   329     step = 1;
       
   330     valuetype = EAknSliderValueDecimal;
       
   331     minlabel = qtn_setting_zero_percent;
       
   332     maxlabel = qtn_setting_hundred_percent;
       
   333     }
       
   334 
       
   335 
       
   336 // ---------------------------------------------------------------------------- 
       
   337 //
       
   338 // Binary popup texts
       
   339 //
       
   340 // ---------------------------------------------------------------------------- 
       
   341 //
       
   342 RESOURCE AVKON_POPUP_SETTING_TEXTS r_aknconf_setting_binary_yes_no_texts
       
   343     {
       
   344     flags = 0;
       
   345     setting_texts_resource = r_aknconf_yes_no_texts;
       
   346     }
       
   347 
       
   348 
       
   349 // ---------------------------------------------------------------------------- 
       
   350 //
       
   351 // Yes - No text array
       
   352 //
       
   353 // ---------------------------------------------------------------------------- 
       
   354 //
       
   355 RESOURCE ARRAY r_aknconf_yes_no_texts
       
   356     {
       
   357     items =
       
   358         {
       
   359         AVKON_ENUMERATED_TEXT { value = 1; text = qtn_setting_yes; },
       
   360         AVKON_ENUMERATED_TEXT { value = 0; text = qtn_setting_no; }
       
   361         };
       
   362     }
       
   363 
       
   364 // End of File