graphicscomposition/openwfc_ri_displaychannel/src/openwfc_ri_displaychannel.cpp
changeset 196 de01fe7e33d2
parent 152 9f1c3fea0f87
equal deleted inserted replaced
169:3c2818e88c00 196:de01fe7e33d2
    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;