windowing/windowserver/nga/CLIENT/RWINDOW.CPP
branchNewGraphicsArchitecture
changeset 8 6c0e9409e175
parent 0 5d03bc08d59c
child 27 525ea837ea6b
equal deleted inserted replaced
7:b89ec83ec7e1 8:6c0e9409e175
  1170 @deprecated */
  1170 @deprecated */
  1171 	{
  1171 	{
  1172 	__ASSERT_DEBUG(!aRegion.CheckError(),Panic(EW32PanicInvalidRegion));
  1172 	__ASSERT_DEBUG(!aRegion.CheckError(),Panic(EW32PanicInvalidRegion));
  1173 	const TInt regionCount=aRegion.Count();
  1173 	const TInt regionCount=aRegion.Count();
  1174 	TPtrC8 ptrRect(reinterpret_cast<const TUint8*>(aRegion.RectangleList()),regionCount*sizeof(TRect));
  1174 	TPtrC8 ptrRect(reinterpret_cast<const TUint8*>(aRegion.RectangleList()),regionCount*sizeof(TRect));
  1175 	return(WriteReplyByProvidingRemoteReadAccess(&regionCount,sizeof(regionCount),&ptrRect,EWsWinOpSetShape));
  1175 //	return(WriteReplyByProvidingRemoteReadAccess(&regionCount,sizeof(regionCount),&ptrRect,EWsWinOpSetShape));
       
  1176 	RDebug::Printf("Bug 1863 - RWindowBase::SetShape() deprecated and non-functional. Disabling the panic.");
       
  1177 	return KErrNone;
  1176 	}
  1178 	}
  1177 
  1179 
  1178 /** 
  1180 /** 
  1179 This method has been deprecated. Windows can no longer be associated with a display
  1181 This method has been deprecated. Windows can no longer be associated with a display
  1180 mode other than the system display mode. This method no longer has any effect and will 
  1182 mode other than the system display mode. This method no longer has any effect and will