windowing/windowserver/nga/CLIENT/RWS.CPP
changeset 194 18f84489a694
parent 152 9f1c3fea0f87
equal deleted inserted replaced
183:6a1564a2f3e6 194:18f84489a694
  1954 This function allows an application to determine the position of the virtual 
  1954 This function allows an application to determine the position of the virtual 
  1955 cursor.
  1955 cursor.
  1956 
  1956 
  1957 It always causes a flush of the window server buffer.
  1957 It always causes a flush of the window server buffer.
  1958 
  1958 
  1959 Please note that on devices with multiple pointers (for example with multi-touch screen)
  1959 Please note that on devices with multiple pointers (for example with multipointer screen)
  1960 the pointer cursor's position will be equal to the last known position of the emulated pointer.
  1960 the pointer cursor's position will be equal to the last known position of the emulated pointer.
  1961 More information about the emulated pointer can be found in description of method
  1961 More information about the emulated pointer can be found in description of method
  1962 RWindowBase::EnableAdvancedPointers().
  1962 RWindowBase::EnableAdvancedPointers().
  1963 
  1963 
  1964 @return The position of the virtual cursor. 
  1964 @return The position of the virtual cursor. 
  2533 	{
  2533 	{
  2534 	RTFXEffect tfxEffect(iWsHandle, iBuffer);
  2534 	RTFXEffect tfxEffect(iWsHandle, iBuffer);
  2535 	tfxEffect.RegisterTFXEffect(aAction, aPurpose, aResourceDir, aFilenameOutgoing, aFilenameIncoming, aAppUid, aFlags);
  2535 	tfxEffect.RegisterTFXEffect(aAction, aPurpose, aResourceDir, aFilenameOutgoing, aFilenameIncoming, aAppUid, aFlags);
  2536 	}
  2536 	}
  2537 
  2537 
  2538 EXPORT_C void RWsSession::UnregisterEffect(TInt aAction, TInt aPurpose, TUint aAppUid)
       
  2539 /**
       
  2540 Unregister already set animation for a particular transition effect
       
  2541 
       
  2542 @param aAction Particular transition to unregister the animation for.
       
  2543 @param aPurpose The purpose of the window.
       
  2544 @param aAppUid The Application UID this effect applies to. Set to 0 to specify the default effect will be unregistered.
       
  2545 
       
  2546 @capability WriteDeviceData This API does nothing if the client does not possess required Capability
       
  2547 
       
  2548 @publishedPartner
       
  2549 */
       
  2550 	{
       
  2551 	TWsClCmdUnRegisterEffect unregisterEffect(aAction, aPurpose, aAppUid);
       
  2552 	Write(&unregisterEffect, sizeof(unregisterEffect), EWsClOpUnregisterTFXEffect);
       
  2553 	}
       
  2554 
       
  2555 EXPORT_C void RWsSession::UnregisterAllEffects()
  2538 EXPORT_C void RWsSession::UnregisterAllEffects()
  2556 /**
  2539 /**
  2557 Unregister animation for all transition effects.
  2540 Unregister animation for all transition effects.
  2558 
  2541 
  2559 @capability WriteDeviceData This API does nothing if the client does not possess required Capability
  2542 @capability WriteDeviceData This API does nothing if the client does not possess required Capability