summaryrefslogtreecommitdiff
path: root/vcl/source/window/toolbox2.cxx
AgeCommit message (Collapse)AuthorFilesLines
2014-04-02Kill superfluous vertical whitespaceTor Lillqvist1-5/+0
Change-Id: I81ce8fd7022bf283db668705efdfb0666f87bde9
2014-03-11remove osolete ifdefNorbert Thiebaud1-2/+1
now that the ScaleDPI is forced to 1 on mac there is no need for these ifdef Change-Id: I0ca3bc301b63f5f4c7d1eb36f27bc9b6ab41af29
2014-03-05remove unused code ToolBox::GetItemExpand(unsigned short)Noel Grandin1-8/+0
Change-Id: If28d796a72ca7f375a82fbb0a42e9810db6f34c0
2014-02-28WaE: implicit conversion (IntegralCast) from bool to 'sal_uInt16'Tor Lillqvist1-3/+3
Change-Id: If6c41795a4015eb6bdd6bf785dd5ea6f7069e76b
2014-02-28sal_Bool -> bool in mostly vcl moduleChris Sherlock1-6/+6
Conflicts: include/vcl/settings.hxx svtools/source/table/tablecontrol_impl.cxx sw/source/core/frmedt/fecopy.cxx vcl/inc/canvasbitmap.hxx vcl/inc/headless/svpframe.hxx vcl/inc/unx/salframe.h vcl/inc/win/salframe.h vcl/inc/win/salprn.h vcl/inc/win/salvd.h vcl/osx/DragSource.cxx vcl/osx/DragSource.hxx vcl/osx/DropTarget.cxx vcl/osx/DropTarget.hxx vcl/osx/OSXTransferable.cxx vcl/osx/OSXTransferable.hxx vcl/osx/clipboard.cxx vcl/osx/clipboard.hxx vcl/osx/salprn.cxx vcl/qa/cppunit/canvasbitmaptest.cxx vcl/source/components/fontident.cxx vcl/source/control/edit.cxx vcl/source/control/spinfld.cxx vcl/source/gdi/gdimtf.cxx vcl/source/gdi/virdev.cxx vcl/source/helper/canvasbitmap.cxx vcl/source/window/dockwin.cxx vcl/unx/generic/dtrans/X11_selection.hxx vcl/unx/kde/UnxFilePicker.cxx vcl/unx/kde/UnxFilePicker.hxx vcl/unx/kde4/KDE4FilePicker.cxx vcl/unx/kde4/KDE4FilePicker.hxx vcl/unx/kde4/KDESalFrame.hxx Change-Id: I9866d985da86dea2a56feff23f91c1467a1636b0 Reviewed-on: https://gerrit.libreoffice.org/8219 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26Remove visual noise from vclAlexander Wilms1-1/+0
Conflicts: vcl/source/app/settings.cxx vcl/source/window/dockmgr.cxx vcl/source/window/dockwin.cxx vcl/source/window/floatwin.cxx vcl/source/window/toolbox2.cxx Change-Id: Ie67681549a76e77064b09d4b5bf80fe4c6010341 Reviewed-on: https://gerrit.libreoffice.org/8339 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26fdo#39468 Translate German Comments - vcl/source/window/toolbox2.cxxChristian M. Heller1-234/+43
Conflicts: vcl/source/window/toolbox2.cxx Change-Id: Ifcb3a31733d8122d228596e8ec1253990f979471 Reviewed-on: https://gerrit.libreoffice.org/8174 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-24Replace exisiting TriState, AutoState with more generic TriStateStephan Bergmann1-10/+10
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-23Remove unneccessary commentsAlexander Wilms1-97/+97
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21Bug #63962 Dynamically scan the config directory for icon themesTobias Lippert1-31/+9
The hard-coded icon themes have been replaced by a dynamic list which is filled by scanning the config directory Conflicts: include/vcl/settings.hxx vcl/source/app/settings.cxx vcl/source/window/window.cxx Change-Id: Ie3680ffe27d06e375acf22753e036cb6ddabc4ed Reviewed-on: https://gerrit.libreoffice.org/7935 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21vcl: sal_Bool -> boolStephan Bergmann1-104/+104
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert1-0/+1
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-13fast scale doubling of biptmap mess up mac retina but is needed otherwiseNorbert Thiebaud1-0/+14
Change-Id: I3d4a4bbbd85719fbf1422d9397727dd73bd09f37
2014-02-10fast scale doubling of biptmap mess up mac retinaNorbert Thiebaud1-13/+0
Change-Id: Ib39dd0048266483c385551a2f8f9f9629ea2ff66
2014-02-07sal_Bool -> boolStephan Bergmann1-12/+12
Change-Id: Ifc80202e0865b59931af6e50d3d60f5021f8b52e
2014-02-07implement expandable toolbox itemsCaolán McNamara1-1/+27
Change-Id: I64ace48ed6a72cea670ac2cdd774764b7c586648
2014-02-05Revert "hidpi: Blind fix - avoid double scaling by updating GetItemImage()."Norbert Thiebaud1-39/+16
The GetItemImage change causes some controls to draw wrongly and have hit-testing problems. The change is broken because we want them to think the bitmap is big. One day LibreOffice will use large bitmaps. Some places call SetItemImage repeatedly, such as the font color dropdown control and so it needs a sanity check in SetItemImage. This reverts commit 0459682b4186b7522783e33cca3791420559817a. Change-Id: If208543def6467ad7d19e21edf0ab11e9a32f0f4
2014-01-30Introduce com.sun.star.ui.theModuleUIConfigurationManagerSupplier singleton.Matúš Kukan1-2/+2
Change-Id: I7b503e5d49865c9ff287bf72eaff1995ce871790
2014-01-28bool improvementsStephan Bergmann1-18/+18
Change-Id: Iede12ed1e35581cf48d64b898f22949d0c1aa6de
2014-01-28Introduce com.sun.star.frame.theUICommandDescription singleton.Matúš Kukan1-2/+2
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650
2014-01-04hidpi: Blind fix - avoid double scaling by updating GetItemImage().Jan Holesovsky1-16/+39
I guess some code uses GetItemImage(), and then SetItemImage() again. To make it work, scale the image down in the hidpi mode. Change-Id: I1ce9fdb28564b829253d7a9c7eabb46019e68876
2014-01-04hidpi: Sidebar, fontwork, autoformat and other improvements.Keith Curtis1-0/+2
This is a second batch of HiDPI changes. It fixes the following areas: Sidebar * Impress Master pages preview * deck title height * tab (icon) bar * valueset dropdown control * wider maximum width * Draw and other misc. buttons which didn't get fixed by earlier change to Toolbar.SetItemImage There are several more sidebar issues, but it is much improved. Other changes * Writer and Calc auto-format dialog text * file-properties document image * fontwork gallery preview size * Calc table border control Change-Id: I95a0169a3b011836b1c75b3dcacb2733c9567ef3
2014-01-02hidpi: Really use BMP_SCALE_FAST when scaling the images.Keith Curtis1-1/+1
It is not a problem of performance, but of the look - the images get too blurry in the case of icons; and the blurry look is worse than than the artifacts of the fast scaling. Revert "hidpi: Use the default scaling algorithm." This reverts commit e07097cce36f1220f5574a80dc22eeabb3005261. Change-Id: I8af2827758e02ec3c8b7dade1559c45bd9f0ef35
2013-12-20hidpi: Image is reference counted.Jan Holesovsky1-7/+5
No need no schuffle with pointers to avoid copying :-) Change-Id: I62757214db65af856e0c79f662d15938c0e9a675
2013-12-20hidpi: Add a FIXME.Jan Holesovsky1-1/+2
Change-Id: Ia89679c832d98b5b46eeb088ed8ae4d66575e6d4
2013-12-20hidpi: Use the default scaling algorithm.Jan Holesovsky1-1/+1
We are not on _that_ time critical path when setting up images for the UI, so let's have at least some quality there :-) Change-Id: I0a82106b0d60ac6a543d5e55c48fc86b6d5f60b1
2013-12-20hidpi: Make many places Hi-DPI aware.Keith Curtis1-3/+20
This also introduces a getter for the mnDPIScaleFactor variable. Change-Id: I02ba6858fb1842f911d62976f4c54afc3bfa337f
2013-11-29typo: seperator -> separatorAndras Timar1-1/+1
Change-Id: Ifad806a4a846656f4b81439c596aa34d898d021a
2013-11-25Integrate branch of IAccessible2Steve Yin1-1/+2
Change-Id: I8c2fea0367ebfa53ce5e109ef48fd661cbfb78b3
2013-08-09Show hidden toolbar items when window size is decreasedPrashant Pandey1-0/+26
When the Window size is reduced, the '>>' symbol thus appearing must also show the items, that are provided by the toolbar but are not shown because they are unchecked in Tools->Customize. Change-Id: I062bee4447126bff4ae7ad6650be3b847acc0794 Reviewed-on: https://gerrit.libreoffice.org/5296 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-07-31convert vcl/toolbox.hxx from XubString->OUStringNoel Grandin1-3/+3
Change-Id: I352dbb85ccbff46571c417b45249f548f5da8b97
2013-07-31convert vcl/inc/toolbox.h from XubString -> OUStringNoel Grandin1-14/+16
Change-Id: I201d3ad01d0b5172d22f2e5e529e94c5e446bb0b
2013-07-24XubString->OUStringCaolán McNamara1-6/+6
Change-Id: Ie6b44d1f4abe1826254ab5bb178d73606bd1283c
2013-07-05fdo#66524 - export a means of detecting preferred icon size for toolbars.Michael Meeks1-2/+11
Also fix human / tango / and other icon theme item sizing. Change-Id: I7039f8f671834237a7ec9b2e4b5227e9c47e7143
2013-06-15sidebar: Make the color toolbox updater rendering more universal.Jan Holesovsky1-0/+14
Render the color preview bigger if we have space for that. Change-Id: I5bbe5edbb8e354fc3009935d3ed6090271b72bf7
2013-06-15widget layout: Allow specification of size request for toolbox items.Jan Holesovsky1-1/+8
Change-Id: I4b2f1ca9eb0b5bdb77e16a969918dd4f6afefb53
2013-06-02sidebar: Try harder to find the command's image.Jan Holesovsky1-6/+35
Change-Id: I14d2a3887c36937be44e151409a851f923262a62
2013-06-02sidebar: Allow creation of toolboxes using Widget layout / .ui.Jan Holesovsky1-1/+106
Change-Id: Idc07614005a00401a51007b1a0aef00e17507daa
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-7/+6
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-02-22Replace duplicate code from ImplToolItem constructors with init methodChr. Rossmanith1-54/+15
Change-Id: I2e2950045d8970eec3d1e04269bfe2ecbc9c3e6f Reviewed-on: https://gerrit.libreoffice.org/2267 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith1-2/+2
replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-17Personas: Fix fdo#59230 - make Personas fully work in non-NWF case too.Jan Holesovsky1-0/+3
Change-Id: I19a475f198fcb24c4d66134eb67da719fc99099e
2013-01-08fix api change in MenuNorbert Thiebaud1-1/+1
Change-Id: I386439be9bf7ce5c9d1b9a4df93195bd6738f573
2012-11-12re-base on ALv2 code. Includes:Michael Meeks1-23/+14
Patches contributed by Pedro Giffuni: Avoid some uses of non portable #!/bin/bash in shell scripts. http://svn.apache.org/viewvc?view=revision&revision=1235297 Reduce the dependencies on non standard GNU copy. http://svn.apache.org/viewvc?view=revision&revision=1238684 Correct /usr/bin/env path. http://svn.apache.org/viewvc?view=revision&revision=1235619 Complex Toolbar Controls Extension from the SDK Patches contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1190390 i118615 - make epm more verbose http://svn.apache.org/viewvc?view=revision&revision=1204288 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 Patches contributed by Juergen Schmidt: jsc341: i117327: take care if no dependency node in current description exists, create one http://svn.apache.org/viewvc?view=revision&revision=1172101 jsc341: i117327: add extra extension dependency check http://svn.apache.org/viewvc?view=revision&revision=1172098 make initial branding changes http://svn.apache.org/viewvc?view=revision&revision=1231878 Patches contributed by Ingo Schmidt native373: #i117733# no linux jre installation on 64 bit systems http://svn.apache.org/viewvc?view=revision&revision=1167536 native373: ##164464# improve debian support http://svn.apache.org/viewvc?view=revision&revision=1167537 Patch contribtued by Armin Le-Grand: Changed various aspects concerning usages of old vendor names http://svn.apache.org/viewvc?view=revision&revision=1293313 fix for neon webdav, remove coinmp bits, improve odk script, cleanup & remove OS/2 conditionals, system ucpp fixes, remove OS/2 conditionals, restore our license filenames.
2012-11-05fdo#46808, rename methodNoel Grandin1-2/+2
Rename utl::OConfigurationTreeRoot::tryCreateWithServiceFactory to utl::OConfigurationTreeRoot::tryCreateWithComponentContext Change-Id: Ib39b44b21d206b5fdfa4162106fbdeb30b1dd37c
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin1-2/+2
...in favor of existing new-style configuration::theDefaultProvider singleton. Theoretically, ConfigurationProvider instances can be created with specific Locale and EnableAsync arguments, but this is hardly used in practice, and thus effectively all uses of the ConfigurationProvider service use the theDefaultProvider instance, anyway. theDefaultProvider is restricted to the XMultiServiceFactory interface, while ConfigurationProvider also makes available XComponent. However, dispose must not be called manually on theDefaultProvider singleton anyway, and calls to add-/removeEventListener are so few (and in dubious code that should better be cleaned up) that requiring an explicit queryInterface does not really hurt there. This commit originated as a patch by Noel Grandin to "Adapt configuration::ConfigurationProvider UNO service to new style [by creating] a merged XConfigurationProvider interface for this service to implement." It was then modified by Stephan Bergmann by deprecating ConfigurationProvider instead of adding XConfigurationProvider and by replacing calls to ConfigurationProvider::create with calls to theDefaultProvider::get. Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-31Get rid of vcl::unohelper::GetMultiServiceFactoryStephan Bergmann1-3/+4
...which effectively is just a glorious wrapper around comphelper::getProcessServiceFactory. In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the rSMgr parameter to InitVCL. All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work fine. Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
2012-08-23Fix typo in a comment (copied here and there).Jan Holesovsky1-2/+2
Change-Id: Ic3c3e71a79ea8bf73a51fc7f001833d6ccedcb76
2012-07-16Replaced all calls to deprecated function ImplDelData::IsDelete()Jesso Clarence Murugan1-3/+3
Deleted the function ImplDelData::IsDelete() and replaced all calls to it with calls to ImplDelData::IsDead() directly. IsDelete () function itself was only a simple wrapper to IsDead () (and mentioned as deprecated) Change-Id: I71baf68801219cfbe2d2dc41d6bd5e419b9b4a87
2012-06-21no need to be a class memberIvan Timofeev1-5/+5
Change-Id: I230e8972340b409c6da70a4c988ac1d531a9f3b5