summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorSiqi LIU <me@siqi.fr>2013-08-17 00:35:20 +0800
committerSiqi LIU <me@siqi.fr>2013-08-17 00:40:46 +0800
commitbe0ce85bbe4ac039af6cbecdbc3e689111040390 (patch)
treecd85be7dd88ca5ed8265c6a5a96371ee39f099f6 /sd
parent454ff1a48ed21a8bff8373a1aa7707e286629e9a (diff)
downsample touch events to get better pointer performance
Change-Id: I4953e3692838c68ca4e3a2bf2c9d16926f5c3b54
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/app/res_bmp.src5
-rw-r--r--sd/source/ui/inc/res_bmp.hrc1
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx2
3 files changed, 7 insertions, 1 deletions
diff --git a/sd/source/ui/app/res_bmp.src b/sd/source/ui/app/res_bmp.src
index ba42bb5683a8..00f7a275ed42 100644
--- a/sd/source/ui/app/res_bmp.src
+++ b/sd/source/ui/app/res_bmp.src
@@ -326,6 +326,11 @@ Bitmap BMP_PRESOBJ_TABLE
File = "table.bmp" ;
};
+Bitmap BMP_POINTER_ICON
+{
+ File = "pointericon.bmp";
+};
+
Bitmap BMP_WAIT_ICON
{
File = "waiticon.bmp";
diff --git a/sd/source/ui/inc/res_bmp.hrc b/sd/source/ui/inc/res_bmp.hrc
index 22dbaa037401..46cb52a52e08 100644
--- a/sd/source/ui/inc/res_bmp.hrc
+++ b/sd/source/ui/inc/res_bmp.hrc
@@ -40,6 +40,7 @@
#define BMP_FOIL_NONE RID_APP_START+120
#define BMP_GROUP RID_APP_START+121
#define BMP_WAIT_ICON RID_APP_START+124
+#define BMP_POINTER_ICON RID_APP_START+126
// additional effects
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 21687ef25bf2..bf4e57ef069a 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -1148,7 +1148,7 @@ bool SlideshowImpl::startShowImpl( const Sequence< beans::PropertyValue >& aProp
beans::PropertyState_DIRECT_VALUE ) );
}
- BitmapEx pointerSymbolBitmap( SdResId(BMP_WAIT_ICON) );
+ BitmapEx pointerSymbolBitmap( SdResId(BMP_POINTER_ICON) );
const Reference<rendering::XBitmap> xPointerBitmap(
vcl::unotools::xBitmapFromBitmapEx(
xSpriteCanvas->getDevice(), pointerSymbolBitmap ) );