phoneuis/BubbleManager/laf/BMLayout2.h
changeset 0 5f000ab63145
child 19 544e34b3255a
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     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:  Layout definitions from Application LAF (Call2 layouts)
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef BMLAYOUT2_H
       
    21 #define BMLAYOUT2_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <calslbs.h>
       
    25 #include <bldvariant.hrh> 
       
    26 #include <AknLayoutDef.h>
       
    27 
       
    28 /**
       
    29 * Layout coordinates from Application LAF
       
    30 * 
       
    31 * @lib      bubblemanager.lib
       
    32 * @since    2.0
       
    33 */
       
    34 class BubbleLayout2
       
    35     { 
       
    36     public: // Helper functions
       
    37         /**
       
    38         * Get inner and outer rectangles for rectangle frame.
       
    39         * @param aFrameRect Frame rectangle.
       
    40         * @param aOuterRect Outer rectangle (return).
       
    41         * @param aInnerRect Inner rectangle (return).
       
    42         */ 
       
    43         static void RectFrameInnerOuterRects( const TRect& aFrameRect,
       
    44                                               TRect& aOuterRect,
       
    45                                               TRect& aInnerRect );
       
    46 
       
    47         /**
       
    48         * Get inner and outer rectangles for bubble frame.
       
    49         * @param aFrameRect Frame rectangle.
       
    50         * @param aOuterRect Outer rectangle (return).
       
    51         * @param aInnerRect Inner rectangle (return).
       
    52         */ 
       
    53         static void BubbleFrameInnerOuterRects( const TRect& aFrameRect,
       
    54                                                 TRect& aOuterRect,
       
    55                                                 TRect& aInnerRect );                                       
       
    56 
       
    57     public: // Layout coordinates
       
    58     
       
    59         ///////////////////////////////////////////////////////////////////////
       
    60         // LAF Table 4.50: bubble/rect window positions
       
    61         ///////////////////////////////////////////////////////////////////////
       
    62         static const TAknWindowLineLayout 
       
    63             popup_call2_audio_first_window( TInt aVariety );                        
       
    64             
       
    65         static const TAknWindowLineLayout 
       
    66             popup_call2_audio_in_window( TInt aVariety );
       
    67             
       
    68         static const TAknWindowLineLayout 
       
    69             popup_call2_audio_out_window( TInt aVariety );
       
    70             
       
    71         static const TAknWindowLineLayout 
       
    72             popup_call2_audio_second_window( TInt aVariety );
       
    73             
       
    74         static const TAknWindowLineLayout 
       
    75             popup_call2_audio_wait_window( TInt aVariety );
       
    76             
       
    77         static const TAknWindowLineLayout 
       
    78             popup_call2_audio_conf_window( TInt aVariety );
       
    79 
       
    80         static const TAknWindowLineLayout 
       
    81             call2_call_object_visual_pane();            
       
    82 
       
    83         ///////////////////////////////////////////////////////////////////////            
       
    84         // LAF Table 4.60: conference call bubble contents
       
    85         ///////////////////////////////////////////////////////////////////////
       
    86         static const TAknWindowLineLayout 
       
    87             popup_call2_conf_pane_background();
       
    88             
       
    89         static const TAknWindowLineLayout 
       
    90             popup_call2_conf_cli_list();
       
    91             
       
    92         static const TAknTextLineLayout 
       
    93             popup_call2_conf_window_call_timer_text();
       
    94     
       
    95         ///////////////////////////////////////////////////////////////////////
       
    96         // LAF Table 4.61: conference call bubble bg graphics
       
    97         ///////////////////////////////////////////////////////////////////////
       
    98         static const TAknWindowLineLayout 
       
    99             popup_call2_conf_single_list_graphic_pane( TInt aRow );                                                
       
   100 
       
   101         ///////////////////////////////////////////////////////////////////////
       
   102         // LAF Table 4.62: conference call members list entries
       
   103         ///////////////////////////////////////////////////////////////////////            
       
   104         static const TAknWindowLineLayout 
       
   105             popup_call2_conf_single_list_highlight_pane();
       
   106             
       
   107         static const TAknWindowLineLayout 
       
   108             popup_call2_conf_single_list_pane_call_status_icon();
       
   109             
       
   110         static const TAknWindowLineLayout 
       
   111             popup_call2_conf_single_list_pane_ciphering_icon();
       
   112             
       
   113         static const TAknTextLineLayout 
       
   114             popup_call2_conf_single_list_pane_cli_text();                                                
       
   115 
       
   116         ///////////////////////////////////////////////////////////////////////
       
   117         // LAF Table 4.59: second call bubble contents           
       
   118         ///////////////////////////////////////////////////////////////////////
       
   119         static const TAknWindowLineLayout 
       
   120             popup_call2_audio_second_call_background( TInt aVariety );
       
   121        
       
   122         static const TAknWindowLineLayout 
       
   123             popup_call2_audio_second_call_type_icon( TInt aVariety );
       
   124             
       
   125         static const TAknWindowLineLayout 
       
   126             popup_call2_audio_second_call_status_icon( TInt aVariety );
       
   127             
       
   128         static const TAknWindowLineLayout 
       
   129             popup_call2_audio_second_call_cyphering_icon( TInt aVariety );
       
   130             
       
   131         static const TAknTextLineLayout 
       
   132             popup_call2_audio_second_call_cli_text( TInt aVariety );
       
   133             
       
   134         static const TAknTextLineLayout 
       
   135             popup_call2_audio_second_call_timer_text( TInt aVariety );                                                
       
   136         
       
   137         static const TAknTextLineLayout 
       
   138             popup_call2_audio_second_call_state_text( TInt aVariety );
       
   139             
       
   140         static const TAknTextLineLayout
       
   141             popup_call2_audio_second_call_number_text( TInt aVariety );
       
   142             
       
   143         ///////////////////////////////////////////////////////////////////////
       
   144         // LAF Table 4.58: waiting call bubble contents
       
   145         ///////////////////////////////////////////////////////////////////////
       
   146         static const TAknWindowLineLayout 
       
   147             popup_call2_audio_wait_call_background();
       
   148             
       
   149         static const TAknWindowLineLayout 
       
   150             popup_call2_audio_wait_call_type_icon();
       
   151             
       
   152         static const TAknWindowLineLayout 
       
   153             popup_call2_audio_wait_call_status_icon();
       
   154             
       
   155         static const TAknWindowLineLayout 
       
   156             popup_call2_audio_wait_call_cyphering_icon();
       
   157             
       
   158         static const TAknTextLineLayout 
       
   159             popup_call2_audio_wait_call_cli_text();                                                            
       
   160             
       
   161         ///////////////////////////////////////////////////////////////////////
       
   162         // LAF Table 4.55: first call bubble contents
       
   163         ///////////////////////////////////////////////////////////////////////
       
   164         static const TAknWindowLineLayout 
       
   165             popup_call2_audio_first_call_background( TInt aVariety );
       
   166     
       
   167         static const TAknWindowLineLayout 
       
   168             popup_call2_audio_first_call_type_icon( TInt aVariety );
       
   169     
       
   170         static const TAknWindowLineLayout 
       
   171             popup_call2_audio_first_call_status_icon( TInt aVariety );
       
   172     
       
   173         static const TAknWindowLineLayout 
       
   174             popup_call2_audio_first_call_window_ciphering_icon( TInt aVariety );
       
   175     
       
   176         static const TAknTextLineLayout 
       
   177             popup_call2_audio_first_call_cli_text( TInt aVariety );
       
   178             
       
   179         static const TAknTextLineLayout 
       
   180             popup_call2_audio_first_call_number_text( TInt aVariety );            
       
   181     
       
   182         static const TAknTextLineLayout 
       
   183             popup_call2_audio_first_call_state_text( TInt aVariety );
       
   184     
       
   185         static const TAknTextLineLayout
       
   186             popup_call2_audio_first_call_text_5( TInt aVariety );
       
   187         
       
   188         ///////////////////////////////////////////////////////////////////////
       
   189         // LAF Table 4.56: CLI graphics (bubble)
       
   190         ///////////////////////////////////////////////////////////////////////
       
   191         static const TAknWindowLineLayout 
       
   192             popup_call2_bubble_pane_graphics();            
       
   193             
       
   194         static const TAknWindowLineLayout 
       
   195             popup_call2_bubble_pane_graphics_cli();
       
   196             
       
   197         ///////////////////////////////////////////////////////////////////////
       
   198         // LAF Table 4.54: outgoing call bubble
       
   199         ///////////////////////////////////////////////////////////////////////
       
   200         static const TAknWindowLineLayout 
       
   201             popup_call2_audio_out_background( TInt aVariety );
       
   202     
       
   203         static const TAknWindowLineLayout 
       
   204             popup_call2_audio_out_call_number_type_icon( TInt aVariety );
       
   205     
       
   206         static const TAknWindowLineLayout 
       
   207             popup_call2_audio_out_call_waiting_icon( TInt aVariety );
       
   208     
       
   209         static const TAknWindowLineLayout 
       
   210             popup_call2_audio_out_ciphering_icon( TInt aVariety );
       
   211     
       
   212         static const TAknTextLineLayout 
       
   213             popup_call2_audio_out_call_text_1( TInt aVariety );
       
   214 
       
   215         static const TAknTextLineLayout 
       
   216             popup_call2_audio_out_call_text_2( TInt aVariety );
       
   217             
       
   218         static const TAknTextLineLayout 
       
   219             popup_call2_audio_out_call_text_3( TInt aVariety );            
       
   220     
       
   221         static const TAknTextLineLayout 
       
   222             popup_call2_audio_out_cli_textual_1( TInt aVariety );
       
   223 
       
   224         static const TAknTextLineLayout 
       
   225             popup_call2_audio_out_cli_textual_2( TInt aVariety );
       
   226 
       
   227         static const TAknTextLineLayout 
       
   228             popup_call2_audio_out_cli_textual_3( TInt aVariety );                            
       
   229 
       
   230         ///////////////////////////////////////////////////////////////////////
       
   231         // LAF Table 4.54: incoming call bubble
       
   232         ///////////////////////////////////////////////////////////////////////
       
   233         static const TAknWindowLineLayout 
       
   234             popup_call2_audio_in_background( TInt aVariety );
       
   235             
       
   236         static const TAknWindowLineLayout 
       
   237             popup_call2_audio_in_call_waiting_icon( TInt aVariety );
       
   238     
       
   239         static const TAknWindowLineLayout 
       
   240             popup_call2_audio_in_call_number_type_icon( TInt aVariety );
       
   241     
       
   242         static const TAknWindowLineLayout 
       
   243             popup_call2_audio_in_ciphering_icon( TInt aVariety );
       
   244     
       
   245         static const TAknTextLineLayout 
       
   246             popup_call2_audio_in_call_text_1( TInt aVariety );
       
   247     
       
   248         static const TAknTextLineLayout 
       
   249             popup_call2_audio_in_call_text_2( TInt aVariety );
       
   250 
       
   251         static const TAknTextLineLayout 
       
   252             popup_call2_audio_in_call_text_3( TInt aVariety );
       
   253         
       
   254         static const TAknTextLineLayout 
       
   255             popup_call2_audio_in_cli_textual_1( TInt aVariety );
       
   256 
       
   257         static const TAknTextLineLayout 
       
   258             popup_call2_audio_in_cli_textual_2( TInt aVariety );
       
   259     
       
   260         static const TAknTextLineLayout 
       
   261             popup_call2_audio_in_cli_textual_3( TInt aVariety );
       
   262 
       
   263         static const TAknWindowLineLayout
       
   264             popup_call2_audio_in_brand_image( TInt aVariety );
       
   265 
       
   266         static const TAknWindowLineLayout
       
   267       	    popup_call2_audio_out_brand_image( TInt aVariety );
       
   268 
       
   269       	static const TAknWindowLineLayout
       
   270       	    popup_call2_audio_first_brand_image( TInt aVariety );
       
   271       	    
       
   272         // option 2
       
   273         static const TAknWindowLineLayout
       
   274       	    popup_call2_audio_first_brand_image2( TInt aVariety );      	    
       
   275 
       
   276       	static const TAknWindowLineLayout
       
   277       	    popup_call2_audio_second_brand_image( TInt aVariety );
       
   278 
       
   279         ///////////////////////////////////////////////////////////////////////
       
   280         // LAF Table 4.52: CLI graphics (rect)
       
   281         ///////////////////////////////////////////////////////////////////////
       
   282         static const TAknWindowLineLayout 
       
   283             popup_call2_bubble_rect_pane_graphics( TInt aVariety );
       
   284             
       
   285         static const TAknWindowLineLayout 
       
   286             popup_call2_bubble_rect_pane_graphics_cli();
       
   287             
       
   288         ///////////////////////////////////////////////////////////////////////
       
   289         // LAF Table 4.63: CLI graphics (mainpane)
       
   290         ///////////////////////////////////////////////////////////////////////
       
   291         static const TAknWindowLineLayout 
       
   292             call2_cli_visual_graphic_pane();
       
   293             
       
   294         static const TAknWindowLineLayout 
       
   295             call2_cli_visual_text_pane();
       
   296             
       
   297         static const TAknTextLineLayout 
       
   298             call2_main_pane_text( TInt aRow );
       
   299             
       
   300         static TInt call2_cli_visual_text_number_of_rows();
       
   301         
       
   302         static const TAknWindowLineLayout 
       
   303             call2_image_placing_area( TInt aVariety );                
       
   304                     
       
   305         ///////////////////////////////////////////////////////////////////////
       
   306         // LAF Table 4.65: CLI graphics (mainpane)
       
   307         ///////////////////////////////////////////////////////////////////////
       
   308         // Large image
       
   309         static const TAknWindowLineLayout 
       
   310             call2_cli_visual_graphic_pane_g1();
       
   311         // Tiny image    
       
   312         static const TAknWindowLineLayout 
       
   313             call2_cli_visual_graphic_pane_g2();            
       
   314         // Default call object            
       
   315         static const TAknWindowLineLayout 
       
   316             call2_cli_visual_graphic_pane_g3();            
       
   317 
       
   318         ///////////////////////////////////////////////////////////////////////
       
   319         // LAF Table 4.53: Rectangle frame
       
   320         ///////////////////////////////////////////////////////////////////////
       
   321         static const TAknWindowLineLayout 
       
   322             call2_rect_pane_fr_cor_center();
       
   323     
       
   324         static const TAknWindowLineLayout 
       
   325             call2_rect_pane_fr_cor_topleft();
       
   326     
       
   327         static const TAknWindowLineLayout 
       
   328             call2_rect_pane_fr_cor_topright();
       
   329     
       
   330         static const TAknWindowLineLayout 
       
   331             call2_rect_pane_fr_cor_bottomleft();
       
   332 
       
   333         static const TAknWindowLineLayout 
       
   334             call2_rect_pane_fr_cor_bottomright();
       
   335 
       
   336         static const TAknWindowLineLayout 
       
   337             call2_rect_pane_fr_side_top();
       
   338     
       
   339         static const TAknWindowLineLayout 
       
   340             call2_rect_pane_fr_side_bottom();
       
   341     
       
   342         static const TAknWindowLineLayout 
       
   343             call2_rect_pane_fr_side_left();
       
   344     
       
   345         static const TAknWindowLineLayout 
       
   346             call2_rect_pane_fr_side_right();
       
   347             
       
   348         ///////////////////////////////////////////////////////////////////////
       
   349         // LAF Table 4.57: Bubble frame
       
   350         ///////////////////////////////////////////////////////////////////////
       
   351         static const TAknWindowLineLayout 
       
   352             call2_bubble_pane_fr_cor_center();
       
   353     
       
   354         static const TAknWindowLineLayout 
       
   355             call2_bubble_pane_fr_cor_topleft();
       
   356     
       
   357         static const TAknWindowLineLayout 
       
   358             call2_bubble_pane_fr_cor_topright();
       
   359     
       
   360         static const TAknWindowLineLayout 
       
   361             call2_bubble_pane_fr_cor_bottomleft();
       
   362 
       
   363         static const TAknWindowLineLayout 
       
   364             call2_bubble_pane_fr_cor_bottomright();
       
   365 
       
   366         static const TAknWindowLineLayout 
       
   367             call2_bubble_pane_fr_side_top();
       
   368     
       
   369         static const TAknWindowLineLayout 
       
   370             call2_bubble_pane_fr_side_bottom();
       
   371     
       
   372         static const TAknWindowLineLayout 
       
   373             call2_bubble_pane_fr_side_left();
       
   374     
       
   375         static const TAknWindowLineLayout 
       
   376             call2_bubble_pane_fr_side_right();            
       
   377             
       
   378         
       
   379     };
       
   380 
       
   381 #endif      // BMLAYOUT2_H
       
   382             
       
   383 // End of File