windowing/windowserver/nga/SERVER/POINTER.CPP
branchRCL_3
changeset 5 25f95128741d
parent 2 5e30ef2e26cb
child 17 e375a7921169
equal deleted inserted replaced
4:15986eb6c500 5:25f95128741d
    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