calendarui/views/src/calenmissedeventcontainer.cpp
branchRCL_3
changeset 86 ed599363c2d7
parent 74 97232defd20e
equal deleted inserted replaced
78:356f28cd5ca0 86:ed599363c2d7
    61 #include <Calendar.rsg>
    61 #include <Calendar.rsg>
    62 #include <calencommands.hrh>            // Calendar commands
    62 #include <calencommands.hrh>            // Calendar commands
    63 #include <calencontext.h>
    63 #include <calencontext.h>
    64 #include <caleninstanceid.h>            // TCalenInstanceId
    64 #include <caleninstanceid.h>            // TCalenInstanceId
    65 #include <calenservices.h>
    65 #include <calenservices.h>
    66 #include <calentoolbar.h>
       
    67 
    66 
    68 // user includes
    67 // user includes
    69 #include "calenmissedeventcontainer.h"
    68 #include "calenmissedeventcontainer.h"
    70 #include "calennativeview.h"
    69 #include "calennativeview.h"
    71 #include "calendarui_debug.h"
    70 #include "calendarui_debug.h"
    72 #include "calenicondrawer.h"
    71 #include "calenicondrawer.h"
    73 #include "calennotedatautil.h"
    72 #include "calennotedatautil.h"
    74 #include "calenentryutil.h"
    73 #include "calenentryutil.h"
    75 #include "CalenUid.h"   // KUidCalendar
    74 #include "CalenUid.h"   // KUidCalendar
    76 #include <calenlocationutil.h>
    75 #include "calenlocationutil.h"
    77 
    76 
    78 // LOCAL CONSTANTS AND MACROS
    77 // LOCAL CONSTANTS AND MACROS
    79 _LIT( KWesternSummaryMarker, "\x200E" );
    78 _LIT( KWesternSummaryMarker, "\x200E" );
    80 _LIT( KArabicSummaryMarker , "\x200F" );
    79 _LIT( KArabicSummaryMarker , "\x200F" );
    81 _LIT(KSpace, " ");
    80 _LIT(KSpace, " ");
   175     iTextEditor->SetMopParent(this);
   174     iTextEditor->SetMopParent(this);
   176     iTextEditor->SetRect( Rect() );
   175     iTextEditor->SetRect( Rect() );
   177 	
   176 	
   178     
   177     
   179 	iTextEditor->EnableKineticScrollingL(ETrue);
   178 	iTextEditor->EnableKineticScrollingL(ETrue);
   180 	
       
   181 	//Set toolbar visibility to false, bcoz this view is not using the ToolBar
       
   182 	MCalenToolbar* toolbar = iServices.ToolbarOrNull(); 
       
   183     if(toolbar)
       
   184       {
       
   185       toolbar->SetToolbarVisibilityL(EFalse);  
       
   186       }
       
   187 	    
       
   188    	TRACE_EXIT_POINT;
   179    	TRACE_EXIT_POINT;
   189 	}
   180 	}
   190 
   181 
   191 // ----------------------------------------------------------------------------
   182 // ----------------------------------------------------------------------------
   192 // CCalenMissedEventContainer::UpdateSize
   183 // CCalenMissedEventContainer::UpdateSize
   507     
   498     
   508     if(( aType == KUidValueCoeColorSchemeChangeEvent ) ||
   499     if(( aType == KUidValueCoeColorSchemeChangeEvent ) ||
   509         ( aType == KUidValueCoeZoomChangeEvent ) ||
   500         ( aType == KUidValueCoeZoomChangeEvent ) ||
   510         ( aType == KUidValueCoeFontChangeEvent ))
   501         ( aType == KUidValueCoeFontChangeEvent ))
   511         {
   502         {
   512         CEikAppUi* appUi = static_cast<CEikAppUi*>( ControlEnv()->AppUi() );
   503 //        CEikAppUi* appUi = static_cast<CEikAppUi*>( ControlEnv()->AppUi() );
   513         SetRect( appUi->ClientRect() );
   504 //        SetRect( appUi->ClientRect() );
   514         /*TRect mainPane;
   505         TRect mainPane;
   515         AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EMainPane, mainPane );
   506         AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EMainPane, mainPane );
   516         SetRect( mainPane );*/
   507         SetRect( mainPane );
   517         }
   508         }
   518     
   509     
   519     if(aType == KAknsMessageSkinChange || aType == KEikDynamicLayoutVariantSwitch)
   510     if(aType == KAknsMessageSkinChange || aType == KEikDynamicLayoutVariantSwitch)
   520         {
   511         {
   521         SizeChanged();
   512         SizeChanged();