summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiqi LIU <me@siqi.fr>2013-07-18 21:45:55 +0200
committerSiqi LIU <me@siqi.fr>2013-07-18 21:52:07 +0200
commit1bf276ba6e0486bc8ccc74a219dd2db8acfcff03 (patch)
tree64adabb3e18821aeefb9bf298f12641e9b50b188
parent0025dd19c997d121c82c54a5af546256de32d413 (diff)
add pointer in receiver...but don't know how to draw that point
Change-Id: I49493e87a0dab66a6b5abeb086afb51f5631b456
-rw-r--r--sd/source/ui/remotecontrol/Receiver.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/Receiver.cxx b/sd/source/ui/remotecontrol/Receiver.cxx
index c3fe6fcb80dd..b5f06e71c87f 100644
--- a/sd/source/ui/remotecontrol/Receiver.cxx
+++ b/sd/source/ui/remotecontrol/Receiver.cxx
@@ -119,6 +119,15 @@ void Receiver::executeCommand( const std::vector<OString> &aCommand )
xSlideShowController->blankScreen( aColour );
}
}
+ // pointer_coordination
+ // x
+ // y
+ else if (aCommand[0].equals( "pointer_coordination" ))
+ {
+ float x = aCommand[1].toFloat();
+ float y = aCommand[2].toFloat();
+ std::cerr << "("<<x<<","<<y<<")"<< std::endl;
+ }
else if ( aCommand[0].equals( "presentation_resume" ) )
{
if ( xSlideShowController.is() )