camerauis/cameraapp/generic/data/resource_inc/CamHistogram.ra
branchRCL_3
changeset 24 bac7acad7cb3
parent 0 1ddebce53859
equal deleted inserted replaced
23:61bc0f252b2b 24:bac7acad7cb3
       
     1 /*
       
     2 * Copyright (c) 2007 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 definitions for the Camera Application*
       
    15 */
       
    16 
       
    17 
       
    18 // Constants
       
    19 #define KCamHistogramLeftX   10
       
    20 #define KCamHistogramTopY    50
       
    21 #define KCamHistogramWidth   100
       
    22 
       
    23 #define KCamHistogramGraphHeight        64
       
    24 #define KCamHistogramStepperHeight      20
       
    25 
       
    26 #define KCamHistogramStepperNaviWidth   20
       
    27 #define KCamHistogramStepperValueWidth  30
       
    28 #define KCamHistogramStepperTextBottom  16
       
    29 
       
    30 #define KCamHistogramTextColor 0
       
    31 
       
    32 
       
    33 
       
    34 // Text for histogram setting title
       
    35 RESOURCE TBUF r_cam_histogram_setting_title
       
    36   {
       
    37   buf = qtn_lcam_histogram_ev_exp;
       
    38   }
       
    39 
       
    40 
       
    41 //
       
    42 // Layout rectangle for histogram graph
       
    43 //
       
    44 RESOURCE AVKON_LAYOUT_RECT r_cam_histogram_graph_box_layout
       
    45   {
       
    46   t = KCamHistogramTopY;     
       
    47   l = KCamHistogramLeftX;    
       
    48   H = KCamHistogramGraphHeight;
       
    49   W = KCamHistogramWidth;  
       
    50   }
       
    51 
       
    52 //
       
    53 // Layout rectangle for histogram stepper
       
    54 //
       
    55 RESOURCE AVKON_LAYOUT_RECT r_cam_histogram_stepper_box_layout
       
    56   {
       
    57   t = KCamHistogramTopY + KCamHistogramGraphHeight + 5; // TEST "5"
       
    58   l = KCamHistogramLeftX;
       
    59   H = KCamHistogramStepperHeight;
       
    60   W = KCamHistogramWidth;  
       
    61   }
       
    62 
       
    63 //
       
    64 // Layout for histogram stepper setting title
       
    65 //
       
    66 RESOURCE AVKON_LAYOUT_TEXT r_cam_histogram_setting_title_text_layout
       
    67   {
       
    68   font = EAknLogicalFontSecondaryFont; 
       
    69   C    = KCamHistogramTextColor;
       
    70   l    = 0; 
       
    71   r    = 2*KCamHistogramStepperNaviWidth + KCamHistogramStepperValueWidth; 
       
    72   B    = KCamHistogramStepperTextBottom; 
       
    73   J    = ELayoutAlignLeft;
       
    74   }
       
    75 
       
    76 //
       
    77 // Layout for histogram stepper setting value
       
    78 //
       
    79 RESOURCE AVKON_LAYOUT_TEXT r_cam_histogram_setting_value_text_layout
       
    80   {
       
    81   font = EAknLogicalFontSecondaryFont; 
       
    82   C    = KCamHistogramTextColor;
       
    83   l    = KCamHistogramWidth - (KCamHistogramStepperNaviWidth + KCamHistogramStepperValueWidth);
       
    84   r    = KCamHistogramStepperNaviWidth;
       
    85   B    = KCamHistogramStepperTextBottom; 
       
    86   W    = KCamHistogramStepperValueWidth;
       
    87   J    = ELayoutAlignCenter;
       
    88   }
       
    89 
       
    90 //
       
    91 // Layout for histogram stepper left navi indicator
       
    92 //
       
    93 RESOURCE AVKON_LAYOUT_RECT r_cam_histogram_left_navi_box_layout
       
    94   { 
       
    95   t = 0;
       
    96   l = KCamHistogramWidth - (2*KCamHistogramStepperNaviWidth + KCamHistogramStepperValueWidth);
       
    97   W = KCamHistogramStepperNaviWidth;
       
    98   H = KCamHistogramStepperHeight;
       
    99   }
       
   100 
       
   101 //
       
   102 // Layout for histogram stepper right navi indicator
       
   103 //
       
   104 RESOURCE AVKON_LAYOUT_RECT r_cam_histogram_right_navi_box_layout
       
   105   { 
       
   106   t = 0;
       
   107   l = KCamHistogramWidth - KCamHistogramStepperNaviWidth;
       
   108   W = KCamHistogramStepperNaviWidth;
       
   109   H = KCamHistogramStepperHeight;
       
   110   }
       
   111