From 54a2c8c006e2f216e9d8c6b0ed625180c843c48b Mon Sep 17 00:00:00 2001 From: Ashod Nakashian Date: Sun, 30 Aug 2015 22:52:03 -0400 Subject: tdf#39080 Interactive hide-whitespace mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Support for enabling and disabling hide-whitespace by clicking between page frames. Disabled header and footer decorators when hide-whitepsace is enabled, and page size is trimmed to the contents of each page. Experimental/suggestive mouse pointers added but only tested on Windows. Change-Id: Ia2faeeda9e3e783ffaf5340aa69303a4218892a7 Reviewed-on: https://gerrit.libreoffice.org/18156 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- vcl/osx/res/cursors/wshide.png | Bin 0 -> 2878 bytes vcl/osx/res/cursors/wsshow.png | Bin 0 -> 2884 bytes vcl/osx/saldata.cxx | 4 +++- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 vcl/osx/res/cursors/wshide.png create mode 100644 vcl/osx/res/cursors/wsshow.png (limited to 'vcl/osx') diff --git a/vcl/osx/res/cursors/wshide.png b/vcl/osx/res/cursors/wshide.png new file mode 100644 index 000000000000..0195b91cdb39 Binary files /dev/null and b/vcl/osx/res/cursors/wshide.png differ diff --git a/vcl/osx/res/cursors/wsshow.png b/vcl/osx/res/cursors/wsshow.png new file mode 100644 index 000000000000..fe374643eb20 Binary files /dev/null and b/vcl/osx/res/cursors/wsshow.png differ diff --git a/vcl/osx/saldata.cxx b/vcl/osx/saldata.cxx index 1dff45e2aee5..ea89aa5502ba 100644 --- a/vcl/osx/saldata.cxx +++ b/vcl/osx/saldata.cxx @@ -206,7 +206,9 @@ curs_ent{ NULL, { 0, 0 } }, //PointerStyle::Arrow { "tblselse", { 30, 30 } }, //PointerStyle::TabSelectSE { "tblselw", { 1, 16 } }, //PointerStyle::TabSelectW { "tblselsw", { 1, 30 } }, //PointerStyle::TabSelectSW -{ "pntbrsh", { 9, 16 } } //PointerStyle::Paintbrush +{ "pntbrsh", { 9, 16 } }, //PointerStyle::Paintbrush +{ "wshide", { 16, 16 } }, //PointerStyle::HideWhitespace +{ "wsshow", { 16, 16 } } //PointerStyle::ShowWhitespace }; NSCursor* SalData::getCursor( PointerStyle i_eStyle ) -- cgit v1.2.3