windowing/windowserver/nonnga/CLIENT/RWINDOW.CPP
branchRCL_3
changeset 163 bbf46f59e123
parent 26 15986eb6c500
child 164 25ffed67c7ef
equal deleted inserted replaced
150:57c618273d5c 163:bbf46f59e123
     1 // Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1994-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   811 	TPckgBuf<TSize> sizePkg;
   811 	TPckgBuf<TSize> sizePkg;
   812   	WriteReplyP(&sizePkg,EWsWinOpSize);
   812   	WriteReplyP(&sizePkg,EWsWinOpSize);
   813 	return(sizePkg());
   813 	return(sizePkg());
   814 	}
   814 	}
   815 
   815 
       
   816 /**
       
   817 @internalAll
       
   818 Disclaimer - this API is internal and is subject to change
       
   819 @deprecated */
   816 EXPORT_C TSize RWindowBase::SizeForEgl() const
   820 EXPORT_C TSize RWindowBase::SizeForEgl() const
   817 /** Dummy implementation in order to preserve compatibility with WSERV NGA.
   821     {
   818     @internalComponent */ 
   822     return Size();
   819 	{
   823     }
   820 	ASSERT(0);
       
   821 	return TSize();
       
   822 	}
       
   823 
   824 
   824 EXPORT_C void RWindowBase::SetPosition(const TPoint &aPos)
   825 EXPORT_C void RWindowBase::SetPosition(const TPoint &aPos)
   825 /** Sets the position of a window relative to its parent. 
   826 /** Sets the position of a window relative to its parent. 
   826 
   827 
   827 The co-ordinates given in aPos specify the position of the top left-hand 
   828 The co-ordinates given in aPos specify the position of the top left-hand 
  1243     @internalComponent */ 
  1244     @internalComponent */ 
  1244 	{
  1245 	{
  1245 	ASSERT(0);	
  1246 	ASSERT(0);	
  1246 	}
  1247 	}
  1247 
  1248 
       
  1249 /**
       
  1250 @internalAll
       
  1251 Disclaimer - this API is internal and is subject to change
       
  1252 @deprecated */
  1248 EXPORT_C TInt RWindowBase::FixNativeOrientation()
  1253 EXPORT_C TInt RWindowBase::FixNativeOrientation()
  1249 /** Dummy implementation in order to preserve compatibility with WSERV NGA.
  1254     {
  1250     @internalComponent */ 
  1255     return KErrNotSupported;
  1251 	{
  1256     }
  1252 	ASSERT(0);
       
  1253 	return KErrNotSupported;	
       
  1254 	}
       
  1255 
  1257 
  1256 EXPORT_C TInt RWindowBase::AllocPointerMoveBuffer(TInt aMaxNumPoints, TUint aFlags)
  1258 EXPORT_C TInt RWindowBase::AllocPointerMoveBuffer(TInt aMaxNumPoints, TUint aFlags)
  1257 /** Allocates a buffer for storing pointer movements. 
  1259 /** Allocates a buffer for storing pointer movements. 
  1258 
  1260 
  1259 The pointer move buffer is used by applications that need to process every 
  1261 The pointer move buffer is used by applications that need to process every 
  1696 EXPORT_C TRgb RWindowBase::KeyColor() const
  1698 EXPORT_C TRgb RWindowBase::KeyColor() const
  1697 	{
  1699 	{
  1698 	return KRgbBlack;
  1700 	return KRgbBlack;
  1699 	}
  1701 	}
  1700 
  1702 
  1701 
  1703 /**	Dummy implementation in order to preserve compatibility with WSERV NGA.
  1702 // RDrawableWindow //
  1704 	@internalComponent*/
       
  1705 EXPORT_C void RWindowBase::SetPurpose(TInt /*aPurpose*/)
       
  1706 	{
       
  1707 	ASSERT(0);
       
  1708 	}
       
  1709 
       
  1710 /** Dummy implementation in order to preserve compatibility with WSERV NGA.
       
  1711     @internalComponent */
       
  1712 EXPORT_C void RWindowBase::SendEffectCommand(TInt /*aTfxCmd*/,const TDesC8& /*aTfxCmdData*/)
       
  1713     {
       
  1714 	ASSERT(0);
       
  1715     }
       
  1716 
       
  1717 /** Dummy implementation in order to preserve compatibility with WSERV NGA.
       
  1718     @internalComponent */
       
  1719 EXPORT_C void RWindowBase::OverrideEffects(TInt /*aAction*/, const TFileName& /*aResourceDir*/, const TFileName& /*aFilenameOutgoing*/, const TFileName& /*aFilenameIncoming*/, TBitFlags /*aFlags*/)
       
  1720     {
       
  1721 	ASSERT(0);
       
  1722     }
       
  1723 
       
  1724 //////////////////////////// RDrawableWindow ////////////////////////////////
  1703 
  1725 
  1704 void RDrawableWindow::doScroll(const TRect &aClipRect, const TPoint &aOffset, const TRect &aRect, TInt aOpcode)
  1726 void RDrawableWindow::doScroll(const TRect &aClipRect, const TPoint &aOffset, const TRect &aRect, TInt aOpcode)
  1705 	{
  1727 	{
  1706 	TWsWinCmdScroll scroll(aClipRect,aOffset,aRect);
  1728 	TWsWinCmdScroll scroll(aClipRect,aOffset,aRect);
  1707 	Write(&scroll,sizeof(scroll),aOpcode);
  1729 	Write(&scroll,sizeof(scroll),aOpcode);