meetingrequest/mrguicommon/src/nmrbitmapmanager.cpp
branchRCL_3
changeset 16 b5fbb9b25d57
parent 12 4ce476e64c59
equal deleted inserted replaced
14:b13141f05c3d 16:b5fbb9b25d57
    16 */
    16 */
    17 
    17 
    18 #include "nmrbitmapmanager.h"
    18 #include "nmrbitmapmanager.h"
    19 #include "esmrhelper.h"
    19 #include "esmrhelper.h"
    20 
    20 
    21 #include <aknsitemid.h>
    21 #include <AknsItemID.h>
    22 #include <aknutils.h>
    22 #include <AknUtils.h>
    23 #include <aknsutils.h>
    23 #include <AknsUtils.h>
    24 #include <esmrgui.mbg>
    24 #include <esmrgui.mbg>
    25 #include <data_caging_path_literals.hrh>
    25 #include <data_caging_path_literals.hrh>
    26 
    26 
    27 using namespace NMRBitmapManager;
    27 using namespace NMRBitmapManager;
    28 
    28 
   151             bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQgn_indi_cmail_calendar_recurrence_mask;
   151             bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQgn_indi_cmail_calendar_recurrence_mask;
   152             break;
   152             break;
   153             }
   153             }
   154         case EMRBitmapBrowser:
   154         case EMRBitmapBrowser:
   155             {
   155             {
   156             // TODO: not available
       
   157             // bitmapStruct.iItemId = KAknsIIDQgnMenuBrowserng;
       
   158             bitmapStruct.iFallbackIndex = EMbmEsmrguiQgn_menu_browserng;
   156             bitmapStruct.iFallbackIndex = EMbmEsmrguiQgn_menu_browserng;
   159             bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQgn_menu_browserng_mask;
   157             bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQgn_menu_browserng_mask;
   160             
       
   161             // TODO: remove me asap
       
   162             bitmapStruct.iItemId = KAknsIIDQgnMenuIntranet;
   158             bitmapStruct.iItemId = KAknsIIDQgnMenuIntranet;
   163             break;
   159             break;
   164             }
   160             }
   165         case EMRBitmapIntranet:
   161         case EMRBitmapIntranet:
   166             {
   162             {
   184             break;
   180             break;
   185             }
   181             }
   186         case EMRBitmapAlarmClock:
   182         case EMRBitmapAlarmClock:
   187             {
   183             {
   188             bitmapStruct.iItemId = KAknsIIDQgnIndiCalendarClockAlarm;
   184             bitmapStruct.iItemId = KAknsIIDQgnIndiCalendarClockAlarm;
   189             // TODO: use new icon
       
   190             //bitmapStruct.iFallbackIndex = EMbmEsmrguiQgn_indi_calendar_clock_alarm;
       
   191             //bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQgn_indi_calendar_clock_alarm_mask;
       
   192             
       
   193             // TODO: remove me asap, not in platform atm.
       
   194             bitmapStruct.iFallbackIndex = EMbmEsmrguiQgn_indi_cmail_meet_req_alarm;
   185             bitmapStruct.iFallbackIndex = EMbmEsmrguiQgn_indi_cmail_meet_req_alarm;
   195             bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQgn_indi_cmail_meet_req_alarm_mask;
   186             bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQgn_indi_cmail_meet_req_alarm_mask;
   196             break;
   187             break;
   197             }
   188             }
   198         case EMRBitmapCheckBoxOn:
   189         case EMRBitmapCheckBoxOn:
   418             bitmapStruct.iItemId = KAknsIIDQgnPropCmailActionAttachmentSaveAll;
   409             bitmapStruct.iItemId = KAknsIIDQgnPropCmailActionAttachmentSaveAll;
   419             bitmapStruct.iFallbackIndex = EMbmEsmrguiQgn_prop_cmail_action_attachment_save_all;
   410             bitmapStruct.iFallbackIndex = EMbmEsmrguiQgn_prop_cmail_action_attachment_save_all;
   420             bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQgn_prop_cmail_action_attachment_save_all_mask;
   411             bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQgn_prop_cmail_action_attachment_save_all_mask;
   421             break;
   412             break;
   422             }
   413             }
   423     
       
   424         // TODO: Needs correct fallbacks
       
   425         case EMRBitmapInputCenter:
   414         case EMRBitmapInputCenter:
   426             {
   415             {
   427             bitmapStruct.iItemId = KAknsIIDQsnFrInputCenter;
   416             bitmapStruct.iItemId = KAknsIIDQsnFrInputCenter;
   428             bitmapStruct.iFallbackIndex = EMbmEsmrguiQsn_fr_list_center;
   417             bitmapStruct.iFallbackIndex = EMbmEsmrguiQsn_fr_list_center;
   429             bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQsn_fr_list_center_mask;
   418             bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQsn_fr_list_center_mask;
   482             {
   471             {
   483             bitmapStruct.iItemId = KAknsIIDQsnFrInputCornerBr;
   472             bitmapStruct.iItemId = KAknsIIDQsnFrInputCornerBr;
   484             bitmapStruct.iFallbackIndex = EMbmEsmrguiQsn_fr_list_corner_br;
   473             bitmapStruct.iFallbackIndex = EMbmEsmrguiQsn_fr_list_corner_br;
   485             bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQsn_fr_list_corner_br_mask;
   474             bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQsn_fr_list_corner_br_mask;
   486             break;
   475             break;
   487             }
   476             }       
   488         
       
   489         // TODO: Needs correct fallbacks
       
   490         case EMRBitmapSetOptCenter:
   477         case EMRBitmapSetOptCenter:
   491             {
   478             {
   492             bitmapStruct.iItemId = KAknsIIDQsnFrSetOptCenter;
   479             bitmapStruct.iItemId = KAknsIIDQsnFrSetOptCenter;
   493             bitmapStruct.iFallbackIndex = EMbmEsmrguiQsn_fr_list_center;
   480             bitmapStruct.iFallbackIndex = EMbmEsmrguiQsn_fr_list_center;
   494             bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQsn_fr_list_center_mask;
   481             bitmapStruct.iFallbackMaskIndex = EMbmEsmrguiQsn_fr_list_center_mask;