summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)AuthorFilesLines
2015-05-07XTiledRenderable: use HWND instead of HDCLászló Németh1-2/+2
Cherry-picked from e1fb63bb8ed7a9bd4dbe19be0d0da7245c4a2fb2 Change-Id: I2959ea8b1213d6dade1c2567365f177bf542e075
2015-05-07NoParent condition reversedCaolán McNamara1-4/+3
regression from... commit 39078c247d31674544901f8449f5141185f79f7f Author: Noel Grandin <noel@peralex.com> Date: Wed May 6 14:07:17 2015 +0200 cleanup DIALOG_NO_PARENT, follow on to tdf#91090 remove the DIALOG_NO_PARENT abomination and replace it with a flags parameter Change-Id: I1955531b41b01623ca94155c60794ae1771849ff
2015-05-07VclBuilder - use VclPtr more consistently internally.Michael Meeks1-120/+112
Fixes a number of TabPage related leaks. Change-Id: I7b904e9bbbce652d2dc645952e266cde102ed194
2015-05-07Revert "Tackle Menu with RenderContext refactoring, Invalidate"Stephan Bergmann5-237/+272
This reverts 5485ef70cee1e3a743047f95ce94533024004b7c, which breaks JunitTest_toolkit_unoapi (toolkit.AccessibleMenu) Change-Id: Ic9021c23178f1598c08186e5cb24fde13a866579
2015-05-07vcl: simplify code by using std::any_of/std::none_ofTakeshi Abe4-15/+8
Change-Id: I37c4fd80780738b823c7928f22deaff0ea1c6bff Reviewed-on: https://gerrit.libreoffice.org/15585 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-07convert PUSHBUTTON_DROPDOWN constants to scoped enumNoel Grandin2-7/+7
Change-Id: Iae363b8478ef2d560ae661af06ba989f27adc093 Reviewed-on: https://gerrit.libreoffice.org/15650 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-07convert BUTTONDIALOG constants to scoped enumNoel Grandin3-36/+36
Change-Id: Icbf73fe55ad604f762dd2b98fd39189bab82f061 Reviewed-on: https://gerrit.libreoffice.org/15648 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-07Hold a reference on the Window while emitting events from vcl backends.Michael Meeks1-1/+4
Change-Id: I4673dc03c214ca8f5c227a444e182a45f6199b9b
2015-05-07Related: tdf#90956 don't resize the border window when disposingCaolán McNamara1-1/+1
Change-Id: Ia5a2108214369a82dfe5e886524fbf5e685bb9f9
2015-05-07convert BMP_VECTORIZE constants to scoped enumNoel Grandin4-12/+12
Change-Id: Ifa6614f6a17356481a335a686e9ea0f9b983c5c5 Reviewed-on: https://gerrit.libreoffice.org/15647 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-07WaE: OutputDevice subclass should have nothing in its destructor but ...Tor Lillqvist1-1/+5
Change-Id: I9b48a2c9d878ef449fc9c04228eff9deb03b0718
2015-05-07tdf#90956 - ComboBox: handle re-size calculation during dispose.Michael Meeks1-13/+16
Change-Id: I3d6e421a10b0d6b0edb85c0a6454315198bfd22f
2015-05-07tdf#91073 - keep the popup pointer around while we operate on it.Michael Meeks1-0/+1
Change-Id: I33767036847aed3d5c7ee4a7d13e81590e46b65b
2015-05-07convert BMP_DITHER flags to scoped enumNoel Grandin3-6/+6
Change-Id: I652faacf39a32fc8803147819ec9366948ff12b9 Reviewed-on: https://gerrit.libreoffice.org/15646 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-07new clang plugin: rendercontextNoel Grandin1-5/+5
to help with converting calls to OutputDevice to pass via vcl::RenderContext. Change-Id: I4b49d2f5e4afca46898d2a7c7ed33cbf5577e664
2015-05-07refactor BorderWindowView to use RenderContextfeature/rendercontextTomaž Vajngerl1-158/+160
Change-Id: Ib2aeae77ab7a570c4113f9767515e4f5833040b2
2015-05-07refactor PopupFloatWin to use RenderContextTomaž Vajngerl1-65/+66
Change-Id: Ib3f74c89c9a930deb0c153bf456f9c84095e237e
2015-05-07refactor DockingAreaWindow to use RenderContextTomaž Vajngerl1-45/+45
Change-Id: Iacd4fb271dcf006c2eb81017d364f1c2d452b915
2015-05-07refactor ListBox/ComboBox to use RenderContextTomaž Vajngerl4-106/+105
Change-Id: I367d6e4f54375bd61e46f0c1437444306b127c68
2015-05-07refactor ImageControl to use RenderContextTomaž Vajngerl1-14/+14
Change-Id: I1290757fa5d6b61b68bf6c985b657253dca83586
2015-05-07refactor ScrollBar to use RenderContextTomaž Vajngerl1-127/+128
Change-Id: I8707fa934d729d96e019ad5d0688299bf88954c4
2015-05-07refactor ProgressBar to use RenderContextTomaž Vajngerl2-75/+75
Change-Id: Idf33332a207736f70809820853dee5ce1e0a3cb1
2015-05-07refactor "TextEdit" & co. to use RenderContextTomaž Vajngerl3-52/+45
Change-Id: Ib26ecb9640d23714acec73304f26e2fd6af90ed4
2015-05-07refactor "HelpTextWindow" - use RenderContextTomaž Vajngerl1-18/+18
Change-Id: I6cfcd86fabb2f568b577bb060cccabfe1aebc537
2015-05-07refactor "TabControl" to use RenderContextTomaž Vajngerl1-87/+92
Change-Id: Iac6703bb9cf42e18c658b560a10baa6af6fa1df3
2015-05-07Refactor "SpinField" & "SpinButton" - use RenderContextTomaž Vajngerl3-89/+85
Change-Id: I589f49179b446ae24037546075070641de5cb927
2015-05-07Refactor "Slider" - use RenderContext & InvalidateTomaž Vajngerl1-71/+95
Change-Id: I3c733ac46b89b0a6b413eadf2796b80ec033c2c9
2015-05-07Tackle Menu with RenderContext refactoring, InvalidateTomaž Vajngerl5-272/+237
Change-Id: Ib2812723141c5dfe39b30c95f12d1aeca9c367bd
2015-05-07Refactor "Edit" to use RenderContext when paintingTomaž Vajngerl1-126/+130
Change-Id: I41f3fa14ee06339685b608d1081466d4622999da
2015-05-07Refactor Buttons to use RenderContext when paintingTomaž Vajngerl1-258/+267
Change-Id: I4ebecb2bda44319a3590a62a2c113c73c94ba974
2015-05-07convert FixedText to use RenderContext when paintingTomaž Vajngerl1-58/+56
Change-Id: If4c3265f76987d9f59388d3c12441ccb2b03a308
2015-05-07refactor to use RenderContext for vcl StatusBarTomaž Vajngerl1-17/+17
Change-Id: I3f3797d323ea6f438d4fdcb7f89c28b658e75b57
2015-05-07use RenderContext in toolbox, refactor redrawingTomaž Vajngerl2-344/+350
Redrawing is done in-place at some places and not in Paint() chain. This was refactored to delegate such places to invalidateX method, so it can be changed later. Refactored some static functions to methods, when that made sense. Change-Id: Ibdf4211857f4911b48b61edd2ecc846a6e94c864
2015-05-07WaE: format ‘%d’ expects argument of type ‘int’David Tardon1-1/+1
Change-Id: I1697f563d21c02551088ea1469eb973a6cfc5a10
2015-05-06Hidden exception in "SalTimerProc" when exit swriter (WIN)Juergen Funk1-0/+7
Only found the exception with the Debugger, when exit the swriter. The appliction stop the SalTimer, but the own message (SAL_MSG_TIMER_CALLBACK) is in the message-queue and restart the timer again. After that, the SalData would be delete and then in SalTimerProc use the SalData, then exception. Change-Id: I8e02a38d4e741cfd31de605cb5b172b28a0909fb Reviewed-on: https://gerrit.libreoffice.org/15649 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-05-06vcl: valgrind - initialize Dialog::mnInitFlagMichael Stahl1-1/+4
The assignment in the 3rd ctor is actually executed after the use from loadUI(). (regression from 39078c247d31674544901f8449f5141185f79f7f) Change-Id: I34b3d7fb9d6c4637d15c7865e6034f2c9d968b99
2015-05-06tdf#91073 - don't queue an async user event when disposed.Michael Meeks1-2/+2
Change-Id: Ic0a084fe7392ae5a407a367fb67a5a1837a2ca14
2015-05-06assert on attempt to print after cancelCaolán McNamara1-2/+2
Change-Id: I46dadf9be542990ef18d78a54d7ebce3c3df80f9
2015-05-06cleanup DIALOG_NO_PARENT, follow on to tdf#91090Noel Grandin2-10/+10
remove the DIALOG_NO_PARENT abomination and replace it with a flags parameter Change-Id: I71b7dc46c619f2db56af6d4dc2c17daf0a2c8534 Reviewed-on: https://gerrit.libreoffice.org/15645 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-06cancel doesn't cancel printingCaolán McNamara1-7/+10
regression from commit e0ad036eed6b151ea81311fcf9ba46f1726b103c Author: Luboš Luňák <l.lunak@collabora.com> Date: Thu Feb 19 16:39:06 2015 +0100 mailmerge doesn't need to use the singlefile technique for printing Change-Id: Ib1a7ae3033c03d13ba930cb6b94d85bd8041334c
2015-05-06Use typed ToolBox::SetMenuButtonHdl LinkStephan Bergmann2-2/+2
Change-Id: I00cd35374294ccdcc0ac3223ae81ba8129b9a5d7
2015-05-06Use typed ToolBox::SetDataChangedHdl LinkStephan Bergmann1-1/+1
Change-Id: Ia4fe932e765651653e6c534e755a8fc32875ffc3
2015-05-06Use typed ToolBox::SetCommandHdl LinkStephan Bergmann1-1/+1
Change-Id: Ieee142ddebb288037647fb77bac6f11b9827c4a8
2015-05-06Remove unused ToolBox::Get/SetHighlightHdlStephan Bergmann1-1/+0
Change-Id: Ieea90173e84dc4d1d0202a3804033d1c42370261
2015-05-06WaE: loplugin:cstylecastTor Lillqvist1-1/+1
Change-Id: Id59ba5f0fcb27e5a3fec322ba0a016c5fc4bacc1
2015-05-06color bar doesn't fill tool itemCaolán McNamara1-0/+12
since commit b8f21298288890d52c06fef6c84441634c56c986 Author: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> Date: Mon Mar 2 20:57:32 2015 +0900 the color bar is always drawn under the icon and doesn't get drawn to the right and fill all the empty space of the tool item, e.g. in impress see the new toolbar color selector Change-Id: Ib70fec9c933b9d743e67475899938a5d9f405496
2015-05-06this is a no-op, remove ifCaolán McNamara1-13/+0
Change-Id: I01a7d41084185c8c9d4a103fb124a0416a3bc890
2015-05-06fix windows buildNoel Grandin2-2/+2
Change-Id: I32dc6c24c523519d6c2376c555b2d774fa40b3ba
2015-05-06fix OSX buildNoel Grandin2-2/+2
Change-Id: I6df0009cad65134e626f89563be168ff739ca092
2015-05-06convert BMP_MIRROR constants to scoped enumNoel Grandin13-39/+39
and fix bug in svx/source/xoutdev/_xoutbmp.cxx,XOutBitmap::MirrorGraphic where it was not correctly translating between different flags types. Change-Id: I78b4965544da2aa54b67ec18307fa54c8ffc3aee