summaryrefslogtreecommitdiffstats
path: root/vcl
Commit message (Collapse)AuthorAgeFilesLines
* vcl: Virtual functions do not work in constructors, avoid IsMenuBar() there.Jan Holesovsky2014-09-091-37/+38
| | | | | | | | Actually, this cleans this up further - Menu is an abstract class, so make its constructor protected; which allows us to move the native menu construction accordingly. Change-Id: I774cf4ed0cd62b54074fa287d1a7192aced7efee
* vcl: Kill bIsMenuBar.Jan Holesovsky2014-09-092-68/+56
| | | | Change-Id: I16bcb4be7fcdba6272f9f4a92d5c90c71dc431e8
* vcl: Move MenuBarWindow to an own file + adapt code.Jan Holesovsky2014-09-095-1243/+1322
| | | | Change-Id: Id24711ad0a6fa6a0599fcc172c47f48fbe65183b
* vcl: Move MenuFloatingWindow to an own file + adapt code.Jan Holesovsky2014-09-098-1828/+2049
| | | | | | | | | | The needed changes included: * Move MenuItemList and MenuItemData to an own file * Introduce MenuWindow class for pieces shared between MenuFloatingWindow and MenuBarWindow. Change-Id: I129b6ddba6efb8f0cb60018a2d8abafed42552c8
* make this ctor of MessageDialog for the builder onlyCaolán McNamara2014-09-081-1/+0
| | | | Change-Id: Ic92f6e46164bdb2e15a0a23876fce5be10a73324
* WaE: 'DBG_UTIL' is not defined, evaluates to 0 [-Wundef]Matúš Kukan2014-09-081-1/+1
| | | | Change-Id: I425b852dc983f7603fac88b5332650c61d9c6c3a
* coverity#1237357 Uncaught exceptionCaolán McNamara2014-09-081-1/+9
| | | | Change-Id: Ie116e0070792c59893ed0b4f41bcf9831400deb9
* return RET_CANCEL for ui-previewerCaolán McNamara2014-09-081-0/+2
| | | | Change-Id: Ic175ae730dc67ae28bb52ee503ee5e572bb4cabc
* prevent crash with invalid XVisual, related fdo#80448Markus Mohrhard2014-09-071-0/+6
| | | | Change-Id: Ife020e3cbfabf0b397b189c17ffec8cbcb5d1505
* SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin2014-09-062-10/+8
| | | | | | | | | | Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* FloatingWindows are no longer loaded from resource filesCaolán McNamara2014-09-061-42/+0
| | | | Change-Id: I2705bbb4db52779e0065400f09604384fd9cf151
* loplugin:externandnotdefinedStephan Bergmann2014-09-051-2/+0
| | | | Change-Id: Id1bd821dfbb5f84a46d754cd2ff44b55957246a7
* move ImplWindowAutoMnemonic into DoInitialLayoutCaolán McNamara2014-09-032-3/+6
| | | | | | | so Floating windows get automnemonics as well, e.g. the Floating Sort floating window of reportdesign Change-Id: I0805840f7b0b2329e210c77e32c5eabfdac387fb
* fdo#80474: Fix the check whether the window is active on OS X.Jan Holesovsky2014-09-031-2/+2
| | | | | | | Change-Id: I68d7d11a93f5d741f2295ef183b2b607ad6833fc Reviewed-on: https://gerrit.libreoffice.org/11266 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
* What is a ridiculous size in 32-bit code is also ridiculous in 64-bit codeTor Lillqvist2014-09-031-1/+1
| | | | | | | Avoids the CppunitTest_vcl_filters_test allocating an insane amount of memory when run as 64-bit on OS X. Change-Id: I978347849c2cf5fd1663e5a85a788b736e239e94
* convert RID_SVXTBX_UNDO_REDO_CTRL floating window to .uiCaolán McNamara2014-09-034-26/+26
| | | | Change-Id: I88a5e0aec20170dfb71bf28cb35e860773657937
* forget about the Left/Top/Right/Bottom frame distanceCaolán McNamara2014-09-031-7/+3
| | | | | | | | I think these are actually already factored in, at least the undo popup doesn't want it and a quick look around gives 0 for other dialogs. Change-Id: Ib5abf91992b0e6075dbdce209798596f21342818
* don't crash if the new create context method is not availableMarkus Mohrhard2014-09-031-1/+1
| | | | Change-Id: I50a8b89f83e095e5d8a110dfbf81ccadea4b39a5
* don't create a core context if we need a legacy oneMarkus Mohrhard2014-09-031-9/+13
| | | | Change-Id: Ieb8a26e0495f537ca78898e6d49df2c1271537a0
* create a 3.2 core context if supported in dbgutil modeMarkus Mohrhard2014-09-031-57/+86
| | | | Change-Id: I2ef951590d23e8b805301b2ffc1b82213b898400
* SAL_INFO -> SAL_WARN for important error messageMarkus Mohrhard2014-09-031-1/+1
| | | | Change-Id: I204ca62f77d580b9ebdf9e7d41c28e3f2675ef94
* SAL_INFO -> SAL_WARN for important error messageMarkus Mohrhard2014-09-031-1/+1
| | | | Change-Id: I52cf416286801c5eebc1dd395fb7cf592b985e92
* fdo#82818 vcl macosx. fix asian vertical ctlayoutNorbert Thiebaud2014-09-031-109/+153
| | | | | | | Just revert ot regular CTRunDraw in that case and adjust 'ullet' displaying. Change-Id: I9ef80f5985b8c7610fcc8e9e8acd5b27542f8730
* extra witdh for GetTextBreak is of DeviceCoordinateNorbert Thiebaud2014-09-037-17/+17
| | | | Change-Id: Ic25eae1e9b8ae14022ee8d0373be0978ebc21267
* SalLayout GetTextWidth return DeviceCoordinateNorbert Thiebaud2014-09-035-33/+24
| | | | Change-Id: I5b995e54992213e95845e60169238270863e9a7e
* fix signatureThomas Arnhold2014-09-031-1/+1
| | | | Change-Id: I3e8f7691135120cc880cccdbea3491c2fdb49c75
* convert SID_RECORDING_FLOATWINDOW to .uiCaolán McNamara2014-09-022-4/+5
| | | | Change-Id: Iae3f0269e5e7f830465580dc4a520ba01ef87a79
* make sort list options page fill vertically and horizontallyCaolán McNamara2014-09-021-0/+3
| | | | Change-Id: I495ab15fa9b658e54f039aede69a7a79b6296635
* make previewer default to resizeableCaolán McNamara2014-09-021-1/+1
| | | | Change-Id: I54d3773c8a11b6b1a2515127233e824380a4de15
* map deletable to WB_CLOSEABLECaolán McNamara2014-09-024-4/+20
| | | | Change-Id: I13fd6878c3443055428f01bb946caaaf7e6dddb0
* rearrange matters to get FloatingWindows working loaded from .uiCaolán McNamara2014-09-025-36/+80
| | | | Change-Id: I099c810533c4590ee3182e1edf27e9038ed44f30
* coverity#1233506 Use of untrusted scalar valueCaolán McNamara2014-09-021-4/+13
| | | | Change-Id: I843f688b47489db90edcdb75a15403c66aad55af
* prevent potential crash if no SystemWindowData is passedMarkus Mohrhard2014-09-021-1/+1
| | | | Change-Id: I92a084bba88a4c34e93aac9b547a986ea6381790
* fix indentationMarkus Mohrhard2014-09-021-1/+2
| | | | Change-Id: I558b6c0c1be917fbf6df722d4f0268c271bb888c
* fix crash when creating chartMarkus Mohrhard2014-09-021-2/+4
| | | | Change-Id: Ie6e38a0461a10cc33ff3d85cbf3b35ffab0efd59
* fix buildMarkus Mohrhard2014-09-021-2/+1
| | | | Change-Id: I13c67763ec3cb940292199f3e9e0f3942446959f
* fix indentationMarkus Mohrhard2014-09-021-1/+2
| | | | Change-Id: I4f299e510fecb57f763818743d357ae6bf2333af
* support legacy and core context on OSXMarkus Mohrhard2014-09-022-13/+37
| | | | Change-Id: Ib8cadb3f182ce49c0ca8b6ccaa95960eb8e5f9ae
* fix non OSX build againMarkus Mohrhard2014-09-021-0/+2
| | | | Change-Id: I3faccc9f70b1afb7cbefd5ba9b26612eb7cda1fd
* remove unused methodMarkus Mohrhard2014-09-022-6/+0
| | | | Change-Id: I17d3e3fa4671d0004e2d7918ea3bcad1a7bcd2b5
* fix non Mac buildMarkus Mohrhard2014-09-021-3/+6
| | | | Change-Id: I88df76fc1757b8372cd319ae1ecd7976b01554a1
* working OSX OpenGLContextMarkus Mohrhard2014-09-021-0/+13
| | | | | | | In contrast to the CGL solution this renders not only to a FBO but to a rendering context. Change-Id: I083795cab5ea6372efac312a1f5e0053066121ea
* use SystemWindowData to request a NSOpenGLWindowMarkus Mohrhard2014-09-024-7/+28
| | | | Change-Id: Ief50a2fc533846cd61be66b1ea166a992942083b
* switch to a NSOpenGLView implementationMarkus Mohrhard2014-09-024-30/+86
| | | | Change-Id: Ifed59a9e899abc900ddf27378eec6b641be061d3
* add invalid framebuffer operation to OpenGL error messagesMarkus Mohrhard2014-09-021-0/+1
| | | | Change-Id: I359ec166e9bf0585842fb436a1edd20720b89a9b
* check framebuffer statusMarkus Mohrhard2014-09-021-1/+7
| | | | Change-Id: Ieb36804247b4e2790d625585661a1c85586348f1
* extract some shared codeMarkus Mohrhard2014-09-021-0/+13
| | | | Change-Id: I062ea860f695189ab1d59615f1d2390710a21d44
* add possibility to request a compatibility contextMarkus Mohrhard2014-09-021-1/+10
| | | | Change-Id: I0135e81f925fda19c06144d21d2f2b0efc9e57be
* add capability to load FloatingWindows from .uiCaolán McNamara2014-08-301-0/+5
| | | | | | in theory anyway Change-Id: I8230462bdb05e4a71e366c1a92ba388a8ea12c82
* move layout from dialog to systemwindowCaolán McNamara2014-08-304-134/+178
| | | | | | | | | *distant sounds of hammering in basement* so we can get Floating Windows layout aware as well without duplicate of dialog layout logic Change-Id: I063375f2f7d4e5c3bfbfedf55649078d4dbe4139