equal
deleted
inserted
replaced
91 { |
91 { |
92 User::Leave(err); |
92 User::Leave(err); |
93 } |
93 } |
94 |
94 |
95 User::LeaveIfError(iDispChan.Open(iScreenNumber)); |
95 User::LeaveIfError(iDispChan.Open(iScreenNumber)); |
96 #ifdef __WINS__ |
96 //#ifdef __WINS__ |
97 iScreenInfo.iDefaultRotation = EScreenRotate0; |
97 iScreenInfo.iDefaultRotation = EScreenRotate0; |
98 iDefaultRotation = RDisplayChannel::ERotationNormal; |
98 iDefaultRotation = RDisplayChannel::ERotationNormal; |
99 iRotationOffset = 0; |
99 iRotationOffset = 0; |
100 #else |
100 //#else |
101 iScreenInfo.iDefaultRotation = EScreenRotate270; |
101 // iScreenInfo.iDefaultRotation = EScreenRotate270; |
102 iDefaultRotation = RDisplayChannel::ERotation270CW; |
102 // iDefaultRotation = RDisplayChannel::ERotation270CW; |
103 iRotationOffset = 3; |
103 // iRotationOffset = 3; |
104 #endif |
104 //#endif |
105 RDisplayChannel::TDisplayRotation rotation = iDispChan.CurrentRotation(); |
105 RDisplayChannel::TDisplayRotation rotation = iDispChan.CurrentRotation(); |
106 switch (rotation) |
106 switch (rotation) |
107 { |
107 { |
108 case RDisplayChannel::ERotationNormal: |
108 case RDisplayChannel::ERotationNormal: |
109 iScreenInfo.iCurrentRotation = EScreenRotate0; |
109 iScreenInfo.iCurrentRotation = EScreenRotate0; |