summaryrefslogtreecommitdiff
path: root/vcl/source/window
AgeCommit message (Collapse)Author
2012-08-23Fix typo in a comment (copied here and there).Jan Holesovsky
Change-Id: Ic3c3e71a79ea8bf73a51fc7f001833d6ccedcb76
2012-08-23Draw separating line at the top of the status bar.Jan Holesovsky
This makes the status bar optically one pixel smaller; which is correct, because the new icons used there are one pixel smaller too ;-) This also kills IsTopBorder() and IsBottomBorder(), as they always returned 'false' anyway. Change-Id: I94c87e8d4ac1ff3c4df57b17e530f3b087efa1e1
2012-08-23Revert the TOPBOTTOM border window type, this needs another approach.Jan Holesovsky
This reverts commit 51fdf273e9893d3d05c99a09e1c2e5835a78e891. In order to be able to draw the toolbars docked on the left or on the right nicely and reliably, we have to avoid any border in the shell; instead, the docking areas will draw the separating lines (when finished). Change-Id: I74c18a7e471a66ac0a436c2bf01f5be016280d22
2012-08-16Set ide sizer color to dark grey; was dark blackJean-Tiare LE BIGOT
The color setting was picked from SplitWindow::Paint() for visual consistency with the sizers used in Impress for example. This commit also resurects presumably dead code. In fact GDB let me see that only the short path was taken. This has an impact on Calc's window splitters and on more visibly on the basic IDE which now looks much nicer :) EDITS: restricted this commit impact to IDE as a poc Change-Id: I9a051fd894feccff4bbc7db7efe1160cb2c3a2c6
2012-08-14-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann
Change-Id: I5d37ddd95068d807d0f28dd2f00d43b227e910c5
2012-08-11message boxes always showed one line of textIvan Timofeev
restore the old code, use aTextInfo to determine the width, as before. (regression from 2854d8b17cb873a5d61e06f9570ac344f054d666) Change-Id: I91def4db307cb4d1af74d79831afa3b9fd68bcbc
2012-08-10callcatcher: reduce Container, update unused code listCaolán McNamara
Change-Id: I11733daf2668c4142052ceb4498f5500e7e291ef
2012-08-07fdo#46193 MessBox was made copyableZolnai Tamás
Part of MultiLineEdit was moved down from stvools to vcl with name VCLMultiLineEdit. MessBox uses it to display the message in read-only mode. Some of svtools' classes - which are necessary to implement VCLMultiLineEdit - were moved to vcl as a whole, and their includes are rewrite. Note: ExtTextView and ExtTextEngine classes would be leaved in svtools if VCLMultiLineEdit is a template class, but two macros: IMPL_LINK end IMPL_LINK_NOARG make it impossible to use template syntax. Change-Id: I26543868d8081c225c7125404d23369de3c3afcd
2012-07-31Revert "Enable native background rendering for ToolBox"Ruslan Kabatsayev
This reverts commit 0714d191e7273c3b32837834f9a37867b81cb78a.
2012-07-30Bug 48549 - System::Beep() removalMathieu Vonlanthen
Change-Id: I011048912af051a762a78af8646513a1fc624073
2012-07-26remove unused border stylesIvan Timofeev
Change-Id: I4b01bdaf4fc20a55f2b4e9ebd039220031c03f11
2012-07-25Enable native background rendering for ToolBoxRuslan Kabatsayev
Change-Id: I575dc3a4e15c88d4c61da8195ed9df6c55e5cb66
2012-07-23fdo#48549 System::Beep() removalMathieu Vonlanthen
Change-Id: I8fe133dd8d1f759fbe21d47ae358c0b5451812b5
2012-07-17Improve check for the FRAME_DRAW_NWF.Jan Holesovsky
Change-Id: I03d9130ffcce7ec92fc768e8c4ee63e425e76c21
2012-07-16Replaced all calls to deprecated function ImplDelData::IsDelete()Jesso Clarence Murugan
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-07-09fdo#47071: Undocked toolbars do not show all icons in special ratioIvan Timofeev
restore the old behaviour (pre-1703501a100cd6d52578baeb4e8097218b285ffb) for floating toolbars. Change-Id: I8435bd94a44744c5af7a3abdbeb99e8f7cf0af24
2012-07-09some UniString->rtl::OUStringCaolán McNamara
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-07Fix check for FRAME_DRAW_NWF, and thus reenable CTRL_FRAME supportRuslan Kabatsayev
Change-Id: I065c8f21c72a1992282dbd90dc7ff7850a301261
2012-07-04fix drawing of calc input line when vcl backend supports CTRL_FRAMEIvan Timofeev
it is counterintuitive, but FRAME_DRAW_NWF was introduced to shrink a draw rectangle on its way, regardless of native CTRL_FRAME support (see d02e19e3d8697132f63eca353047a572b1e459ea). And that is what we want for the calc input line. Change-Id: Ie2f8bc6e2e21a56b081b8c71cc2b642b8f05848f
2012-07-01Remove unused definesThomas Arnhold
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-06-29some pesky XubStringsCaolán McNamara
Change-Id: Ib4095dee416cab6d954e1612d2e3f6e2d4464f48
2012-06-28FloatingSizeMode is always FSMODE_AUTO, remove itIvan Timofeev
Change-Id: I0468ff6deaf701ed3d155db1ff3f0f0c204e1199
2012-06-28remove unused toolbox stylesIvan Timofeev
Change-Id: If19d8a79e34dfa20c41084c91992d860aad6c968
2012-06-27Remove commented out codeThomas Arnhold
Change-Id: Ifd82dbc35d2f03ee9a9a40f498c8fde3f5a1d5c6
2012-06-26Prevent print settings dialog to show help buttonMaxime de Roucy
Prevent the printer settings dialog to show help button when it's called from the help. Add a PrinterController property : HideHelpButton Change-Id: I45585a30a2f429659f554747f93c650cb048711f
2012-06-26Fix more bugs in ImplgetTopDockingAreaHeight().Jan Holesovsky
- fixed infinite loop (calling next in an 'else' is a bad idea) - there may be more top docking areas, pick the one with != 0 height Change-Id: I4892a655e25efff4d7282c5106ba238f94586374
2012-06-25aero toolbar: Extend the drawing of the toolbar to the menubar area.Jan Holesovsky
Fix the maTopDockingAreaHeight computation too, it did not work. Change-Id: I788c96960a5607482b750d536e522644e236f052
2012-06-25Revert "Reduce copy'n'paste by different nesting of if's."Jan Holesovsky
This reverts commit 83208da599e46dbba39c9e9a5b503bc4e93d4eea.
2012-06-25Revert "aero: Implement a glass menubar on Windows."Jan Holesovsky
This reverts commit 64c696fc92a860fdbbe490ca503391b964dd646f.
2012-06-25Revert "aero menubar: Make the text in menu black."Jan Holesovsky
This reverts commit 9164d135db46be9de56ef60f4b95bbd933fdb57e.
2012-06-25callcatcher: update unused codeCaolán McNamara
Change-Id: I65c19a21ae9b6deb1601adf2f3fe8fe8faa7e9ed
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21convert array to std::vectorIvan Timofeev
Change-Id: I5e5bcebeb804256d0ad8cf6afafc392b2853b88f
2012-06-21no need to be a class memberIvan Timofeev
Change-Id: I230e8972340b409c6da70a4c988ac1d531a9f3b5
2012-06-21remove misterious NextToolbox functionalityIvan Timofeev
Change-Id: Ic64d2cae56787884ff107b78c3b6567ab5d38785
2012-06-21so many code to just add a minimal border in the galleryIvan Timofeev
Change-Id: Id7349d1ff6547afe0f46404340b20132b97ce854
2012-06-20aero menubar: Make the text in menu black.Jan Holesovsky
Change-Id: I4d9486ccda091506ad103fa4182cadf810fcd6f2
2012-06-19merge together hand-crafted traditional/simplified chinese testsCaolán McNamara
merge together a gadzillion hand-crafted isSimpleChinese/isTraditionalChinese/isKoreanVariants/isCJK implementations which should fix a goodly amount of them add a MsLangId::isFamilyNameFirst for locales where family name appears first while I'm at it. Change-Id: I65377793be037d16fe7250cd7450b28aec689e83
2012-06-13calc input line: Fix crash with accessibility enabled.Jan Holesovsky
Change-Id: I4508ec866b7e8436e1a8117ac6496ed0f1537abf
2012-06-12toolbars: Improve the toolbars look in Windows Vista or later.Jan Holesovsky
Change-Id: I389ef70c76a3a9c837ad5406c417804ad77be948
2012-06-12Get rid of GRADIENT_* defines, they conflict with Windows GDI types.Jan Holesovsky
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
2012-06-11FixedBorder is no longer usedCaolán McNamara
Change-Id: Ic4b1ab81d414963e7cb40c348737504c8021a7fb
2012-06-10separator will be invisible if there is no visible buttonsIvan Timofeev
Change-Id: Ife88aa5059630b7d71f567a2c8368cec55050eef
2012-06-09Do what the TODO said: Remove unused member and inclusion of vcl/virdev.hxxTor Lillqvist
Add header back in a few C++ files elsewhere. Change-Id: I041ed39ff9bb26d1f42f3614ca50dbc085f13861
2012-06-09oops, hide the first separator as wellIvan Timofeev
Change-Id: I90354696b96870b6d828e8f53e8b72a3716133bc
2012-06-09fdo#42379: hide separators before calculating line breaksIvan Timofeev
it is nesessary since commit 1703501a100cd6d52578baeb4e8097218b285ffb, ImplCalcBreaks looks for the last visible item. Change-Id: Ifb103d264116930339d8f5cfb267601f0e760fd2
2012-06-07Implement native FixedLine render, add GTK support for itRuslan Kabatsayev
Change-Id: I142cc8c48331aaed0d157b4b0f81e7c021005624
2012-06-06calc input line: Fix crash on MacOSX.Jan Holesovsky
Change-Id: Iff50dfc1b4730ff584e3015486da4acf8fd5cb47
2012-06-05Intercept the window close event and end the preview when clicking 'x'.Kohei Yoshida
This is to prevent the preview window from closing the whole document when pressing the window frame's 'x' button. Instead, pressing the 'x' will end the preview mode and bring it back to the normal Calc window. Change-Id: If4d42928784e3e05bc6357d811a1954efb221f01
2012-06-05assume for all menus we reserve space for checkboxesCaolán McNamara
so menus have consistent whitespace at left regardless of containing checkboxes/radiobutton entries. Its nasty to have menus "suddenly" appear without whitespace as submenus of ones with whitespace. This is a logical consequence of MENU_FLAG_SHOWCHECKIMAGES always set (in the absence of SetMenuFlags where usage has generally dropped MENU_FLAG_SHOWCHECKIMAGES accidentally) Change-Id: I9501381b91415131eff5143a0c88142221530fb6