equal
deleted
inserted
replaced
18 |
18 |
19 #include "FRMTVIEW.H" |
19 #include "FRMTVIEW.H" |
20 #include "FRMCONST.H" |
20 #include "FRMCONST.H" |
21 #include "FORMUTIL.H" |
21 #include "FORMUTIL.H" |
22 |
22 |
23 #include "OstTraceDefinitions.h" |
|
24 #ifdef OST_TRACE_COMPILER_IN_USE |
|
25 #include "FRMSCRNDTraces.h" |
|
26 #endif |
|
27 |
|
28 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
23 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
29 #include "FRMCONST_INTERNAL.H" |
24 #include "FRMCONST_INTERNAL.H" |
30 #include "FRMCONST_PARTNER.H" |
25 #include "FRMCONST_PARTNER.H" |
31 #include "TAGMA_INTERNAL.H" |
26 #include "TAGMA_INTERNAL.H" |
32 #endif |
27 #endif |
107 void RScreenDisplay::CreateContextL() |
102 void RScreenDisplay::CreateContextL() |
108 // |
103 // |
109 //Create and activate the main Graphics Context |
104 //Create and activate the main Graphics Context |
110 // |
105 // |
111 { |
106 { |
112 if (iGc) |
|
113 { |
|
114 OstTrace0( TRACE_DUMP, RSCREENDISPLAY_CREATECONTEXTL, "EFGcNotSet" ); |
|
115 } |
|
116 __ASSERT_DEBUG(iGc==NULL,FormPanic(EFGcNotSet)); |
107 __ASSERT_DEBUG(iGc==NULL,FormPanic(EFGcNotSet)); |
117 User::LeaveIfError(iGd->CreateBitmapContext(iGc)); |
108 User::LeaveIfError(iGd->CreateBitmapContext(iGc)); |
118 if (iWin) |
109 if (iWin) |
119 iDrawTextLayoutContext->SetWindowGc((CWindowGc *)iGc); |
110 iDrawTextLayoutContext->SetWindowGc((CWindowGc *)iGc); |
120 else |
111 else |