windowing/windowserver/nga/SERVER/POINTER.CPP
branchNewGraphicsArchitecture
changeset 37 31d52bbe209c
parent 33 25f95128741d
child 149 e375a7921169
equal deleted inserted replaced
35:3aa07f06a4b7 37:31d52bbe209c
    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