windowing/windowserver/nonnga/CLIENT/RWINDOW.CPP
branchRCL_3
changeset 164 25ffed67c7ef
parent 163 bbf46f59e123
equal deleted inserted replaced
163:bbf46f59e123 164:25ffed67c7ef
     1 // Copyright (c) 1994-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1994-2009 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 */
       
   820 EXPORT_C TSize RWindowBase::SizeForEgl() const
   816 EXPORT_C TSize RWindowBase::SizeForEgl() const
   821     {
   817 /** Dummy implementation in order to preserve compatibility with WSERV NGA.
   822     return Size();
   818     @internalComponent */ 
   823     }
   819 	{
       
   820 	ASSERT(0);
       
   821 	return TSize();
       
   822 	}
   824 
   823 
   825 EXPORT_C void RWindowBase::SetPosition(const TPoint &aPos)
   824 EXPORT_C void RWindowBase::SetPosition(const TPoint &aPos)
   826 /** Sets the position of a window relative to its parent. 
   825 /** Sets the position of a window relative to its parent. 
   827 
   826 
   828 The co-ordinates given in aPos specify the position of the top left-hand 
   827 The co-ordinates given in aPos specify the position of the top left-hand 
  1244     @internalComponent */ 
  1243     @internalComponent */ 
  1245 	{
  1244 	{
  1246 	ASSERT(0);	
  1245 	ASSERT(0);	
  1247 	}
  1246 	}
  1248 
  1247 
  1249 /**
       
  1250 @internalAll
       
  1251 Disclaimer - this API is internal and is subject to change
       
  1252 @deprecated */
       
  1253 EXPORT_C TInt RWindowBase::FixNativeOrientation()
  1248 EXPORT_C TInt RWindowBase::FixNativeOrientation()
  1254     {
  1249 /** Dummy implementation in order to preserve compatibility with WSERV NGA.
  1255     return KErrNotSupported;
  1250     @internalComponent */ 
  1256     }
  1251 	{
       
  1252 	ASSERT(0);
       
  1253 	return KErrNotSupported;	
       
  1254 	}
  1257 
  1255 
  1258 EXPORT_C TInt RWindowBase::AllocPointerMoveBuffer(TInt aMaxNumPoints, TUint aFlags)
  1256 EXPORT_C TInt RWindowBase::AllocPointerMoveBuffer(TInt aMaxNumPoints, TUint aFlags)
  1259 /** Allocates a buffer for storing pointer movements. 
  1257 /** Allocates a buffer for storing pointer movements. 
  1260 
  1258 
  1261 The pointer move buffer is used by applications that need to process every 
  1259 The pointer move buffer is used by applications that need to process every 
  1698 EXPORT_C TRgb RWindowBase::KeyColor() const
  1696 EXPORT_C TRgb RWindowBase::KeyColor() const
  1699 	{
  1697 	{
  1700 	return KRgbBlack;
  1698 	return KRgbBlack;
  1701 	}
  1699 	}
  1702 
  1700 
  1703 /**	Dummy implementation in order to preserve compatibility with WSERV NGA.
  1701 
  1704 	@internalComponent*/
  1702 // RDrawableWindow //
  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 ////////////////////////////////
       
  1725 
  1703 
  1726 void RDrawableWindow::doScroll(const TRect &aClipRect, const TPoint &aOffset, const TRect &aRect, TInt aOpcode)
  1704 void RDrawableWindow::doScroll(const TRect &aClipRect, const TPoint &aOffset, const TRect &aRect, TInt aOpcode)
  1727 	{
  1705 	{
  1728 	TWsWinCmdScroll scroll(aClipRect,aOffset,aRect);
  1706 	TWsWinCmdScroll scroll(aClipRect,aOffset,aRect);
  1729 	Write(&scroll,sizeof(scroll),aOpcode);
  1707 	Write(&scroll,sizeof(scroll),aOpcode);