windowing/windowserver/nga/SERVER/POINTER.CPP
changeset 116 171fae344dd4
parent 36 01a6848ebfd7
child 152 9f1c3fea0f87
equal deleted inserted replaced
103:2717213c588a 116:171fae344dd4
    79 	//On a real device target the coordinate system is always rotated together with wserv's screendevice.
    79 	//On a real device target the coordinate system is always rotated together with wserv's screendevice.
    80 	_LIT( KWSERVIniFileVarEmulatorRotPointCoords, "EMULATOR_ROTATE_POINTER_COORDS");
    80 	_LIT( KWSERVIniFileVarEmulatorRotPointCoords, "EMULATOR_ROTATE_POINTER_COORDS");
    81 	iEmulatorRotatePointerCoords = WsIniFile->FindVar(KWSERVIniFileVarEmulatorRotPointCoords);
    81 	iEmulatorRotatePointerCoords = WsIniFile->FindVar(KWSERVIniFileVarEmulatorRotPointCoords);
    82 #endif
    82 #endif
    83 
    83 
    84 	iRootWindow = CWsTop::Screen()->RootWindow();
    84 	const CScreen* screen = CWsTop::Screen();
       
    85 	WS_ASSERT_ALWAYS(screen, EWsPanicNoScreen);
       
    86 	iRootWindow = screen->RootWindow();
    85 	
    87 	
    86 	TMachineInfoV1Buf machineInfo;
    88 	TMachineInfoV1Buf machineInfo;
    87 	UserHal::MachineInfo(machineInfo);
    89 	UserHal::MachineInfo(machineInfo);
    88 	iXyInputType=machineInfo().iXYInputType;
    90 	iXyInputType=machineInfo().iXYInputType;
    89 	
    91