Commit Graph

82 Commits

Author SHA1 Message Date
92ffe57f6b Don’t shrink text from fallback fonts
This code is bogus in multiple ways:
* It scales text based on ascent or descent, but this makes no sense
  as those control line height and nothing else, if one is to scale two
  different fonts to “fit” together, cap or x height would be more
  appropriate. This results in some text being ridiculously shrunk.
* Not only that, but it is comparing apples to oranges; original font
  ascent/descent with the bounding box of the fallback glyphs, which
  results in different scale ratios depending on the shape of the glyphs
  at hand, which leads to all sorts of funny and irregular text.
* Even worse, the PDF export is completely broken in this case; it uses
  the scaled down glyph widths but the unscaled font size, resulting in
  cramped unreadable text.

Change-Id: Iaa6117ecfdad8388887d9a03b538e7327544ad5e
Reviewed-on: https://gerrit.libreoffice.org/4293
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-01 12:23:04 +00:00
e5f3e328a2 misc minor tweaks to messagedialogs
Change-Id: I0ec4a7257d352fac43aca57269ffaec96a706651
2013-06-30 20:40:16 +01:00
0306e253fe XubString->OUString
Change-Id: I40ff06facc304630ccedd82d2f20b3573bdc5cb4
2013-06-30 20:40:15 +01:00
710f41b7ae Clean String and sal_Bool in tools
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655
Reviewed-on: https://gerrit.libreoffice.org/4627
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-30 04:58:49 +00:00
231fb4182f make HitTestNativeControl const
Change-Id: I1d3f09cce87fadd8bdc18b2775ebe2a6968d99c1
2013-06-29 18:06:15 +04:00
1a8addc137 GetNativeControlRegion is const
Change-Id: I0b34001e99036f197a50ff24b854e5a07eac6f06
2013-06-29 18:06:15 +04:00
61fd1d2e78 fdo#62699 remove rsc/inc/vclrsc.hxx
Change-Id: I8a90bfcfff904d42a529644ae7b6f03d0ac762eb
2013-06-28 06:55:38 +02:00
31fc0b7442 always call setDeferredProperties for dialog get/set title
Change-Id: I57f9cc8fbdb9d2a304c346e03893fa55d6a61bd5
2013-06-28 11:50:15 +01:00
feaebe7f93 Always embed 14 standard Postscript fonts in PDF
Ealier version of PDF standard allowed for not embedding the so called
standard PostScript fonts in the PDF files and all PDF readers had to
include them or a "suitable substitute". This behaviour had many issues
and is deprecated for 10 years now. The current version of PDF spec
says:

  Beginning with PDF 1.5, the special treatment given to the standard 14
  fonts is deprecated. Conforming writers should represent all fonts
  using a complete font descriptor. For backwards capability, conforming
  readers shall still provide the special treatment identified for the
  standard 14 fonts.

This commits removes support for not embedding these fonts, and the, now
redundant, option to embed them.

This has the side effect of elimanating the cause of fdo#66108 and
fdo#41547.

Change-Id: I4f1fc4137a2de7baeef9e504f2e4f84fbec0a491
Reviewed-on: https://gerrit.libreoffice.org/4495
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-06-27 19:03:31 +00:00
9495e91279 Resolves: fdo#66105 set max growth width for labels/edits which take paths
Change-Id: I12220821f76550baacdc8ce604f2e612d260c1a1
2013-06-24 14:40:40 +01:00
0a5c151b62 Resolves: fdo#65635 don't include border gap in height for borderless edits
Change-Id: If778fdeb5bdbd5a5cac33f57ef8d598ddc1408f2
2013-06-21 13:22:16 +01:00
c96802f0e2 Resolves: #i122418# Added workaround to not use GetBitmap on windows
(cherry picked from commit 136976efb17b8617a83c7f26601cd04031b51e7f)

Conflicts:
	vcl/inc/vcl/bitmap.hxx
	vcl/inc/vcl/bitmapex.hxx
	vcl/source/gdi/bitmap4.cxx
	vcl/source/gdi/bitmapex.cxx

Change-Id: I9c3aeae76c155c9050404f67adeb91106502c3f1
2013-06-19 12:17:19 +01:00
02da9f7a91 Resolves: #i110384# added better fat line rendering where possible
(cherry picked from commit 144eb666b72516ef78c15424087800dff1be5cfd)

Conflicts:
	drawinglayer/inc/drawinglayer/processor2d/vclpixelprocessor2d.hxx
	drawinglayer/inc/drawinglayer/processor2d/vclprocessor2d.hxx
	vcl/inc/vcl/outdev.hxx

Change-Id: I89f378a4d7a8311b8922f10acff66b000a20a4b7
2013-06-19 09:23:28 +01:00
60446a0386 Related: #i122120# corrected flag for drawing checkerboards...
adapted previews, added to configuration

(cherry picked from commit c17e634e125f524d153e1ad8febff6d11b810ee4)

Conflicts:
	officecfg/registry/schema/org/openoffice/Office/Common.xcs
	svtools/inc/svtools/accessibilityoptions.hxx
	svtools/source/inc/configitems/accessibilityoptions_const.hxx
	vcl/inc/vcl/settings.hxx

Change-Id: I3f4fd9525e31cd816599b963ecd2fa42b1f666d7
2013-06-18 16:46:39 +01:00
7377557f27 Resolves: #i122120# Changed UI preview creators...
to no longer need SdrModel/SdrObject

(cherry picked from commit 0c353433ad94786a937fa9da01d6e7382e3da942)

corrected unwanted change

(cherry picked from commit 8a10735b8ee3926a592d6919f4dbb823771bed9f)

Conflicts:
	vcl/inc/vcl/outdev.hxx

7c096015d974382e6874a874370ee72a61f02e6a

Change-Id: Ib2afe135566eba2e99cc8c4a653de3df0fa7f0cd
2013-06-18 13:06:12 +01:00
3c517e8a6c sal_Bool to bool
Change-Id: Id1c64ab4be262713204cfeeb6333ec7d33fffcfb
2013-06-18 11:27:35 +09:00
a3703190c1 Reduce #ifdef #else a bit
Change-Id: I888681b01e82b72ce1ed9836ddf541c543747971
2013-06-18 00:38:44 +02:00
2e87fa36c7 rCTFont is not used anywhere
Change-Id: I2ee13f6a014f26ca03b34d87094af337733207e3
2013-06-18 00:36:47 +02:00
d7cebf0f21 restore SvtGraphicStroke::set[Start|End]Arrow
partial revert of 743e627bcfc9c87d806109fe6f3f4e2817b73dda
because we want to use that then unused code now

Change-Id: I94fe173dda053ce1b72b3b776a9855ce9ecc249b
2013-06-17 13:50:32 +01:00
16613995dd Enable Sifr theme
Change-Id: I3adcc90fe7621c11e77b05d4394b8d55ad223469
2013-06-15 18:37:01 +02:00
0342b099d7 sidebar: Make the color toolbox updater rendering more universal.
Render the color preview bigger if we have space for that.

Change-Id: I5bbe5edbb8e354fc3009935d3ed6090271b72bf7
2013-06-15 14:42:09 +02:00
edbca87dea widget layout: Allow specification of size request for toolbox items.
Change-Id: I4b2f1ca9eb0b5bdb77e16a969918dd4f6afefb53
2013-06-15 14:42:09 +02:00
9bb96049ad Resolves: #i121534# Reintegrating changes for rotated bitmap support
(cherry picked from commit b2cc0de3fc9adee90787ca760e86869f9255b380)

Conflicts:
	canvas/source/vcl/spritecanvashelper.cxx
	drawinglayer/Library_drawinglayer.mk
	drawinglayer/source/processor2d/vclhelperbitmaprender.cxx
	drawinglayer/source/processor2d/vclhelperbitmaprender.hxx
	drawinglayer/source/processor2d/vclhelperbitmaptransform.cxx
	drawinglayer/source/processor2d/vclhelperbitmaptransform.hxx
	drawinglayer/source/processor2d/vclprocessor2d.cxx
	officecfg/registry/schema/org/openoffice/Office/Draw.xcs
	svx/source/svdraw/svdograf.cxx
	vcl/aqua/source/gdi/salgdi.cxx
	vcl/inc/aqua/salgdi.h
	vcl/inc/os2/salgdi.h
	vcl/inc/salgdi.hxx
	vcl/inc/unx/pspgraphics.h
	vcl/inc/vcl/bitmapex.hxx
	vcl/inc/vcl/outdev.hxx
	vcl/inc/vcl/salbtype.hxx
	vcl/os2/source/gdi/salgdi2.cxx
	vcl/source/gdi/bitmapex.cxx
	vcl/source/gdi/outdev2.cxx
	vcl/source/gdi/salgdilayout.cxx
	vcl/source/gdi/salmisc.cxx
	vcl/unx/generic/gdi/pspgraphics.cxx
	vcl/unx/generic/gdi/salgdi2.cxx
	vcl/unx/headless/svpgdi.cxx
	vcl/unx/headless/svpgdi.hxx
	vcl/unx/headless/svppspgraphics.cxx
	vcl/unx/headless/svppspgraphics.hxx
	vcl/win/source/gdi/salbmp.cxx
	vcl/win/source/gdi/salgdi.cxx
	vcl/win/source/gdi/salgdi3.cxx
	vcl/win/source/gdi/salgdi_gdiplus.cxx
	vcl/win/source/gdi/winlayout.cxx

Change-Id: I871d1d107b019758f3913e5eb63bc9bc0ba403fd

Do not name unused arguments to prevent compiler warnings.

(cherry picked from commit f3118889a0cd941f193e9b6557c0792015d77a34)

Change-Id: I482d1f96d695c7bf9912ec464bb39e7fdd14adef

Related: #i121534# fix graphite-enabled windows build

(cherry picked from commit c90a6ca92b1239d01a2892e15488e4a183a88b1a)

Conflicts:
	vcl/win/source/gdi/winlayout.cxx

Change-Id: I95fd41ad6f7187f34ba9474674a471fb4fc65314
2013-06-14 16:00:13 +01:00
e0cce521f1 Resolves: #i121504# Support for alpha channel in clipboard for all systems
(cherry picked from commit ef3931ff410117e1237b3bef7bc090e8b83b9519)

Conflicts:
	automation/source/server/statemnt.cxx
	basic/source/runtime/methods.cxx
	canvas/source/vcl/devicehelper.cxx
	canvas/source/vcl/spritedevicehelper.cxx
	drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
	drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
	drawinglayer/source/tools/converters.cxx
	dtrans/source/win32/dtobj/FmtFilter.cxx
	editeng/source/items/bulitem.cxx
	extensions/source/scanner/sanedlg.cxx
	external/gcc3_specific/makefile.mk
	filter/source/graphicfilter/eos2met/eos2met.cxx
	filter/source/graphicfilter/ios2met/ios2met.cxx
	filter/source/msfilter/msdffimp.cxx
	fpicker/source/office/iodlg.cxx
	framework/source/fwe/classes/addonsoptions.cxx
	framework/source/fwe/helper/actiontriggerhelper.cxx
	sc/source/filter/excel/xiescher.cxx
	sc/source/ui/docshell/docsh.cxx
	sc/source/ui/inc/viewfunc.hxx
	sd/source/ui/app/sdxfer.cxx
	sd/source/ui/unoidl/unopage.cxx
	sd/source/ui/view/sdview3.cxx
	sfx2/source/appl/fileobj.cxx
	sfx2/source/appl/linkmgr2.cxx
	sfx2/source/dialog/filedlghelper.cxx
	sfx2/source/dialog/intro.cxx
	sfx2/source/doc/docinf.cxx
	sot/inc/sot/formats.hxx
	sot/source/base/formats.cxx
	svtools/bmpmaker/bmpcore.cxx
	svtools/bmpmaker/bmpsum.cxx
	svtools/inc/svtools/transfer.hxx
	svtools/source/filter/filter.cxx
	svtools/source/filter/wmf/emfwr.cxx
	svtools/source/filter/wmf/enhwmf.cxx
	svtools/source/filter/wmf/winwmf.cxx
	svtools/source/filter/wmf/wmfwr.cxx
	svtools/source/graphic/graphic.cxx
	svtools/source/graphic/provider.cxx
	svtools/source/misc/transfer.cxx
	svx/inc/svx/xoutbmp.hxx
	svx/source/sdr/overlay/overlaymanagerbuffered.cxx
	svx/source/xoutdev/_xoutbmp.cxx
	sw/source/core/view/viewsh.cxx
	sw/source/filter/ww1/w1filter.cxx
	sw/source/filter/ww8/ww8par.hxx
	sw/source/ui/dochdl/swdtflvr.cxx
	toolkit/source/awt/vclxbitmap.cxx
	toolkit/source/helper/vclunohelper.cxx
	vcl/Library_vcl.mk
	vcl/Package_inc.mk
	vcl/aqua/source/dtrans/DataFlavorMapping.cxx
	vcl/aqua/source/dtrans/OSXTransferable.cxx
	vcl/aqua/source/dtrans/PictToBmpFlt.cxx
	vcl/aqua/source/dtrans/PictToBmpFlt.hxx
	vcl/inc/vcl/alpha.hxx
	vcl/inc/vcl/bitmap.hxx
	vcl/inc/vcl/bitmapex.hxx
	vcl/inc/vcl/pngwrite.hxx
	vcl/inc/vcl/salbtype.hxx
	vcl/inc/vcl/wall.hxx
	vcl/source/gdi/animate.cxx
	vcl/source/gdi/bitmap2.cxx
	vcl/source/gdi/bitmapex.cxx
	vcl/source/gdi/bmpconv.cxx
	vcl/source/gdi/cvtsvm.cxx
	vcl/source/gdi/impgraph.cxx
	vcl/source/gdi/impimagetree.cxx
	vcl/source/gdi/metaact.cxx
	vcl/source/gdi/wall.cxx

Change-Id: I79938bc412c048c3d4e64f430f216e73bec16167
2013-06-13 14:50:46 +01:00
9536e3cbb8 Resolves: #i121233# some slight corrections/enhancements
(cherry picked from commit db00dfd93ac0e215a5d71e72645790918db0e734)

Conflicts:
	vcl/inc/vcl/bitmap.hxx
	vcl/source/gdi/bitmap3.cxx

Change-Id: I1a7817a94232b3d7f1c095dd27025e4cccea348c
2013-06-12 17:16:52 +01:00
70e3eb2c17 Resolves: #i121267# added support for taking clipping into account...
for metafile-based exporters to vector formats

(cherry picked from commit 229a79b97110c11ef21b7b99ffc768254ca01d96)

Conflicts:
	basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
	filter/source/flash/swfexporter.cxx
	filter/source/graphicfilter/eos2met/eos2met.cxx
	svtools/source/filter/wmf/wmf.cxx
	vcl/Package_inc.mk

Remove unused variable to prevent compile warnings.

(cherry picked from commit 60d19c1602e4fec740624fd20a7bfd39707297e4)

Change-Id: Iaeb02d7321bea2890cf4e969f1d45d58deef5584
106285f06a21f4f39f34c6755d12ac6cd4196a7f
2013-06-12 15:38:50 +01:00
e717d1dcce Resolves: #i121237# Rework/Cleanup of Region code...
due to missing complete support for B2DPolygon class

(cherry picked from commit cab10eeb7878edf224a004fd7640bd4adf8d3c51)

Conflicts:
	cppcanvas/source/mtfrenderer/implrenderer.cxx
	svx/source/sdr/overlay/overlaymanagerbuffered.cxx
	svx/source/svdraw/svdpntv.cxx
	vcl/aqua/source/gdi/salgdi.cxx
	vcl/inc/region.h
	vcl/inc/unx/gtk/gtkgdi.hxx
	vcl/inc/vcl/regband.hxx
	vcl/inc/vcl/region.hxx
	vcl/os2/source/gdi/salgdi.cxx
	vcl/source/gdi/bmpacc3.cxx
	vcl/source/gdi/outdev2.cxx
	vcl/source/gdi/outmap.cxx
	vcl/source/gdi/regband.cxx
	vcl/source/gdi/region.cxx
	vcl/source/window/window.cxx
	vcl/unx/generic/gdi/pspgraphics.cxx
	vcl/unx/headless/svpgdi.cxx
	vcl/unx/headless/svppspgraphics.cxx
	vcl/win/source/gdi/salgdi.cxx

Change-Id: Iee9a66ff431c3cecb7603e445147b67715de0f7d

Remove unused variable to prevent compiler warning

(cherry picked from commit 0ac65ccf079e3e22ac23cbe7ae546504c863c31f)

Change-Id: Icbcaa9d576a7e560d96debc7360bdbe9090b3fd3

Wrong comparison with bool corrected

(cherry picked from commit 612cefdcf6176b6bb847ce899d89af40ef313a90)

Change-Id: I1cf5de6734b588f78d8e870ba7b7860634b461ce
2013-06-12 14:31:10 +01:00
d9b7d3a2dd sal_Bool to bool
Change-Id: I85944f6912f01d883da976d5dd967f435104bad0
2013-06-12 13:33:02 +09:00
37aa7d81aa Resolves: #i121194# Better support for graphic fill styles...
which are not bitmaps (svg, metafiles, ..)

(cherry picked from commit 7a652a2b2ab5e0d37e32185c8c5fac3af482bb76)

Conflicts:
	drawinglayer/Library_drawinglayer.mk
	drawinglayer/Package_inc.mk
	drawinglayer/inc/drawinglayer/attribute/fillgraphicattribute.hxx
	drawinglayer/inc/drawinglayer/attribute/sdrfillattribute.hxx
	drawinglayer/inc/drawinglayer/attribute/sdrfillgraphicattribute.hxx
	drawinglayer/inc/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx
	drawinglayer/inc/drawinglayer/primitive2d/fillgraphicprimitive2d.hxx
	drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx
	drawinglayer/inc/drawinglayer/primitive3d/textureprimitive3d.hxx
	drawinglayer/inc/drawinglayer/processor2d/vclprocessor2d.hxx
	drawinglayer/inc/drawinglayer/texture/texture.hxx
	drawinglayer/inc/drawinglayer/texture/texture3d.hxx
	drawinglayer/source/attribute/fillbitmapattribute.cxx
	drawinglayer/source/attribute/sdrfillattribute.cxx
	drawinglayer/source/attribute/sdrfillgraphicattribute.cxx
	drawinglayer/source/primitive2d/fillbitmapprimitive2d.cxx
	drawinglayer/source/primitive2d/graphicprimitive2d.cxx
	drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx
	drawinglayer/source/processor2d/canvasprocessor.cxx
	svx/inc/svx/sdr/primitive2d/sdrattributecreator.hxx
	svx/source/sdr/contact/objectcontacttools.cxx
	vcl/inc/vcl/graph.hxx

unused file _vclmetafileprocessor2d.cxx deleted, was added by error

(cherry picked from commit ed0d53f8283cd3ce579a90b599118884d0db6119)

Conflicts:
	drawinglayer/source/processor2d/_vclmetafileprocessor2d.cxx

Corrected canvasProcessor usage

(cherry picked from commit 7903c33f31c457eb6ff506958c4233f2a5d39bcf)

Conflicts:
	svx/source/sdr/contact/objectcontacttools.cxx

Change-Id: I80008050b98dafc92fde043524843c13a75fe22c
d2fa667d7c127b4d735334e56093d1d4553b0a5b
e20c60c7d6472da1295a162d9a629be998861f62
2013-06-11 20:00:34 +01:00
7cf2b5809f Cairo canvas fixes
+ Move BitmapEx construction from an XBitmapCanvas into BitmapEx
  where (arguably) it will be easier to re-factor later, treat a
  mask fetch failure as if we have no mask
+ Teach the cairo canvas to return a non-pre-multiplied RGB +
  separate Alpha BitmapEx when it can to avoid unpleasantness with
  the underlying X resources.
+ Add tentative code-path to convert 32bit color Bitmaps into
  24bit color, to avoid confusing X

Change-Id: Iaf6998c796aea6d73c57bed2bc03152d9636d5f5
2013-06-11 14:41:50 +01:00
056c7b46d4 Revert "pass argb32 pixmaps from vcl to canvas, avoiding costly x11 ...
This reverts commit 22f63477a3300d474c3d6832232b888f75c7290c.

Conflicts:
	canvas/source/cairo/cairo_canvasbitmap.cxx

Change-Id: Ib266050ebc6eaca4fbd36ed013ac95a1b4b9d316
2013-06-11 14:41:50 +01:00
6571193609 sal_Bool to bool
Change-Id: Ib712c9ebf8d8e6aae5e04fec19be629d3393f5d5
2013-06-09 20:22:22 +09:00
6ea2cc95f5 Resolves: fdo#65536 check if builder is NULL
Change-Id: Ieabd56d6da06b480ade662a55aebd35d0769f2ea
2013-06-08 14:43:27 +01:00
50a4018d0d sal_Bool to bool
Change-Id: I58efb9d026203c77d3806552bd4280a4d16d5111
2013-06-07 02:27:53 +09:00
516ed22b3f Remove remnants of help agent
it was removed with 66714f1888eaccef4eb5341971278ae7dfafa16b
but gobs of code (and UI) still existed to collect the help id
and give it to the missing help agent with various UI visible
options and buttons to control the help agent which isn't
there

Change-Id: I625da27b3046d481e43f4d35d32cc7063a1c6291
2013-06-06 14:52:49 +01:00
df5a73a9e3 vcl: add a console-only mode to avoid problems on Mac for gengal.
Change-Id: Ie5332330e6f398c3cd7e58df9b12fac121f5426f
2013-06-04 20:51:05 +01:00
19a2685ec0 clip message box dialogs to some reasonable widths
Change-Id: I7fc179865306ba5b593b090b1fdb8971ba6bd508
2013-06-04 16:14:27 +01:00
a96f593b41 Some more sal_IntPtr dance, but enough for today
Change-Id: Ic772181321e74713244223cc3d4542bd4cd2dc88
2013-06-04 16:11:44 +02:00
4d2a7692ef fdo#34423 Allow to rotate raw uncompressed bitmaps.
When using a graphic filter like blur or sharpen, a raw uncompressed
bitmap is created. Until now it was not possible to rotate such bitmap
but now this is allowed.

Change-Id: I716fa46e37680b1111131586fad20da28391de14
2013-06-03 23:45:00 +02:00
74221eb249 sidebar: Allow creation of SidebarToolBoxes via .ui.
Change-Id: If8789fd423a609a18514e5a798df5b5992dac34f
2013-06-02 04:54:54 +02:00
6fe1ff54c6 sidebar: Allow creation of toolboxes using Widget layout / .ui.
Change-Id: Idc07614005a00401a51007b1a0aef00e17507daa
2013-06-02 04:54:54 +02:00
1d53996334 convert save defaults to .ui format
Change-Id: I7843598761cf95b04d9c3741cd8b0612b9b059ce
2013-05-29 20:09:49 +01:00
b2d08d759e convert more queryboxes to new message box replacement
Change-Id: Ice41a86e17d5cbee784e239224b640ea4378ac36
2013-05-29 14:39:56 +01:00
c47f0903fe Fix bnc#795857 Use correct sizes for EMF+ bitmap rendering
Fix pdf export wrong size issues for embedded EMF+ images.

Change-Id: I998c9535bde32fc9f452d61d7cb7609c95f5528d
(cherry picked from commit 4c676625d4016d428e9becd5512b7cfc8b0c4b24)

Conflicts:
	vcl/inc/vcl/gdimtf.hxx
	vcl/source/gdi/gdimtf.cxx
2013-05-27 17:06:15 +02:00
fd6da32cb1 blasted headers in new locations thinko
Change-Id: Iab62e87ed59061ee05daeae4ecd691c119a96b82
2013-05-24 20:14:25 +01:00
f31e6debfa A miscellaneous use of boost.
Sinc(x) is a simple function used in communications. boost
happens to use it for quaternion math. The implementation is
simple, however it looks fun to re-use the boost function
even if just to say we are using quaternion math somewhere ;).

The performance difference is not likely to be huge but JIC,
set up a specific Boost math policy to limit type promotion
with it's corresponding impact.
(cherry picked from commit d1f61b3f3564ca5421a13b77e4c7c78bb409e9e1)

Conflicts:
	vcl/inc/vcl/bitmap.hxx

Change-Id: I5f01db1688eedee25a2943ca3aa6e957b400c759
2013-05-24 18:54:38 +01:00
8eb1fb9eff Add mouse rollover effect to menubar on KDE and Windows
- Add mouse rollover handling code to vcl::MenuBarWindow and vcl::Menu
- Add member variable of rollover color to StyleSettings and ImplStyleData
- Add rollover color definitions for each platforms

Change-Id: I9ececd8a7089918ac63c5f2027c0c2f361a9d227
Reviewed-on: https://gerrit.libreoffice.org/3856
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-22 21:02:46 +00:00
ff966ca6f4 replace DialogCancelledException with std::abort
Change-Id: Ib815c1a84efa4682ad644132ad3704f249b04a68
2013-05-22 22:43:13 +02:00
0837a36d9d sal_Bool to bool
Change-Id: I9586db0082592a703dd791b4846a12529b131b9a
2013-05-22 09:16:14 +09:00
c4ae127b60 restore StatusBar::GetItemData, etc. because we need it again
revert c95fa19f7c7b58a2beb65ad52335322ec2ae6f18

Conflicts:
	vcl/source/window/status.cxx

Change-Id: I976802cde23892e7a3b2f6ad75d34a52bc7b2739
2013-05-21 14:01:16 +01:00