summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
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
2012-06-05at one stage we had checkmarks *and* icons in menus side by sideCaolán McNamara
later on we ended up with toggleable icons instead, change comment to reflect the current situation Change-Id: Ia39f6bffe8e5942442482b1f845d2964138ec032
2012-06-05nCheckPos and nImagePos are always the same value, merge togetherCaolán McNamara
Change-Id: I41bf6eada1fbeaa9548f81b3bf4fd9d4f4f6871a
2012-06-05fix mangled indentCaolán McNamara
Change-Id: I57d0a16ed698b406cb7362a3382698fcd5bf21b2
2012-06-05make ImplGetNativeCheckAndRadioSize return max sizeCaolán McNamara
rather than just max height with max width smuggled out as a confusing extra third argument Change-Id: Id37ec4f679e5668715d5db0bc8875a27c8b2fb3c
2012-06-05nMax here is a height valueCaolán McNamara
Change-Id: Ia1c12f29840dcb2f3f5a5d654a368ddc11554ab2
2012-06-04Change return PrintFontManager::countFontconfigFontsJulien Nabet
PrintFontManager::countFontconfigFonts returns an int but it's never used so let's drop the int returned Change-Id: Iab00916aec36b899a04555743d698a3fc1d45085
2012-06-04fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update calls to factories to use new ::create methods Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-04fdo#50631: Fix the bounding box of rotated glyphs on MacOSX.Norbert Thiebaud
Similarly to Ifb04d4a8e485182c5ef2771025b06832bfd75ae0 (commit ac25f124858b79e302adcc533d6a658d5c529394), we need to rotate the bounding box of glyphs on MacOSX too. Additionally, round the position up, and convert the size more straight-forward way. Change-Id: Idf7a077836e65072795c6d98d61925ce62ee35b7
2012-06-04fdo#50169: skip the rest of the loop in case of wrong indexMichael Stahl
Presumably that is what Martin wanted to do in the previous patch. Change-Id: I64f1da88c1802a27cf974aa6abc15b014b56126d
2012-06-04fdo#50169: add another index checkMartin Hosken
Change-Id: I974ac27ee17219ce3f8a7e5641dbb0098da18f8e
2012-06-04nuke unused definesTakeshi Abe
Change-Id: I7924da4bff73ca8f82c76eb8cb211401530acdeb
2012-06-04fdo#46378: Lanczos3 resampling of images added to Bitmap.Tomaz Vajngerl
Current resampling methods for images are FAST and INTERPOLATE. FAST is used where speed of resampling is required, on the other hand INTERPOLATE resampling is used when we need quality. For example INTERPOLATE resampling method is used at PDF export. INTERPOLATE resampling uses bilinear interpolation which is known to be lower quality as other modern (and slower) resampling algorithms such as Lanczos, Mitchell or BiCubic resampling. This change adds Lanczos resampling to the Bitmap class and enables Lanczos resampling in PDF export. Lanczos3 resampling is implmented using separable convolution with which it is also possible to easily add other resampling methods like BiCubic just by changing the kernel function. Change-Id: I8dff5b65753b09dffd5bc34f2343d9818efb3e58
2012-06-04sal_uInt32 -> cmsUInt32NumberFridrich Štrba
Change-Id: I2d16ab0c75221cd7ce3e602d9f830b597433411b
2012-06-04Find the internal lcms2 headerFridrich Štrba
Change-Id: I9ee6b40f28ffb5cc557cdcfff49287bd2e4b0fe2
2012-06-04Replace the module icc functionality by a use of lcms2Fridrich Štrba
Change-Id: I989af1147711f0175bf889bc55043b2d84a49b38
2012-06-02vcl: add dependency on basebmp's headers not implied by linkingMatúš Kukan
Change-Id: Ic35a980f7ddc45ce319fe6d78c93be33126380a6
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: Ic1fb9f4ec0f37d4efcf43c58b903388478d52173
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I0ca912c8b7e485f5ec78422150aedc72ca6df32f
2012-06-02Fix operator precedence errorRuslan Kabatsayev
Change-Id: I8806f17aaf9fe2c209b917259dfd1d17e530e170
2012-06-01Return correct bounding box of glyphs on Linux, we forgot to rotate it.Jan Holesovsky
This makes the behavior consistent with what happens on Windows. Change-Id: Ifb04d4a8e485182c5ef2771025b06832bfd75ae0
2012-06-01Gtk theming: pass tab prelight state to themeRuslan Kabatsayev
Change-Id: I9b924d83d4da638d17af14a66a618ce7128968e7
2012-06-01GTK theming plugin: convert big if statement to switch structureRuslan Kabatsayev
Change-Id: I1220d80bdba4835db3674271f8a060af50af998f
2012-06-01vcl uses X11/extension headers tooDavid Tardon
Change-Id: Ie2ee19ca685d082f50415c2d916f5bfdf842bd84
2012-06-01nuke unused namespaceTakeshi Abe
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-05-31targetted cppcheck warning fix reversionMichael Meeks
Change-Id: I44bafcc62a127f2d7c6da2952573e4128783c342
2012-05-31make CheckCharacterBounds tests happy without forcing empty glyphs 1 unit wideCaolán McNamara
related, i#87757 and 8bafe38c569afa2e1055eb647cb7ff161ddd1230 which itself is related to ce14342c4292628a641a72d4f63d9c048e030c6a, These character bounds are backed by what's the glyph bounding box for the ink used for the glyph. Whitespace has no ink so its an empty Rectangle. Which brings the awesome RECT_EMPTY into play. It might be a bit dubious in the first place to back getCharacterBounds with the glyph bounding box in the first place, rather than maybe the advance width or some such. But lets assume that decision was intentional. So, the qa test should accept that a glyph might be of 0 width anyway. Then, tweak rectangle merging so that we can preserve the correct top-left position of an empty glyph So, we can determine the correct character index given the top-left position of an empty glyph Change-Id: I5e18460ff7cd90cd27d5eede2aa0a5494c36a5d3
2012-05-31vcl: cleanup code flow, and minor indent tweakMichael Meeks
Change-Id: Id99b10f84ef977f5c808fb2c9168deaa4455a2a9
2012-05-31GTK-theming: fix rendering of toolbuttonsRuslan Kabatsayev
Change-Id: I6b7ec963e50c75e65c602681586a1458426ae61f
2012-05-31GTK theming: implement rendering window backgroundRuslan Kabatsayev
Change-Id: I34c6c38f383fce54aa0b2a61a5e88ee9a8cff4e7
2012-05-30vcl: rename unhelpful 'Default' screen to a BuiltIn screenMichael Meeks
Add 'BuiltInDisplay' and 'ExternalDisplay' UNO properties to clarify Change-Id: Idf5d26bf687871b3949d077fb89bfe1942839125
2012-05-30One line docu to save me code reading the next time ;-)Jan Holesovsky
Change-Id: I3998679c859c2a25933a879ae6412d7555350a62
2012-05-30calc input line: Fix the size on Windows.Jan Holesovsky
Change-Id: Iac102ad3794b8959fb219094a9db6345990c4883
2012-05-30i#87757: do not create empty Rectangle bounding box for glyphs:Michael Stahl
Enforce a minimum width and height of 1 in GlyphMetric::SetSize(), preventing X11SalGraphics::GetGlyphBoundRect() from returning a Rectangle that has one side set as RECT_EMPTY. This problem has surfaced due to the change of the status bar in ce14342c4292628a641a72d4f63d9c048e030c6a, causing the AccessibleStatusBarItem to fail in getCharacterBounds() because the text of the control, "Words: 0", now contains a space, for which an empty Rectangle bounding box is created, which results in a wrong return value from getCharacterBounds(): LOG> Character bounds outside component LOG> Character rect: 43, -566, 0, 0 LOG> Component rect: 91, 2, 71, 18 It turns out that the following test was disabled due to this problem, so re-enable it now: toolkit.AccessibleFixedText::com::sun::star::accessibility::XAccessibleText
2012-05-30Add temporary test JNI method createWindowFoo()...Tor Lillqvist
Change-Id: I8f99399faa3b0762bdea2aac09f1b849639cd191
2012-05-29nuke unused typedefTakeshi Abe
Change-Id: I12a55e08a83b88221d992790c97c830761755582
2012-05-29rename functions for consistency with the rest of gbuildDavid Tardon
Change-Id: I572a8a6dc9da4f63b7c937748b3013bab60bb6bb
2012-05-29set all kde4 libs in configureDavid Tardon
Change-Id: I44b089613710bbdc776a27720c1851f68de1671e
2012-05-29simplify by using externalsDavid Tardon
Change-Id: Ife3ddccf65e9d2163589c3ab0f234d6e98d3105d
2012-05-29gbuildize shellDavid Tardon
Change-Id: I91a89f9d0bd1eb88a94179f1c1a41bc832599fed
2012-05-29connectivity: convert kab to gbuildPeter Foley
2012-05-29removed dead codeTakeshi Abe
Change-Id: Ic70d66befc90450aeb276d53f6da7e81aef85478
2012-05-28android: fix mouse click positioning, add more keymappings, fix focus.Michael Meeks
2012-05-28valgrind: Related rhbz#820376 mnDestWidth used without initializationCaolán McNamara
Change-Id: Id52458441fc2ef3b466f5e4f716b0341dca11091
2012-05-28calc input line: Native rendering of the input line.Jan Holesovsky
[Including few adjustments in the way the scrollbar is being calculated.] Change-Id: I247ee139864a119bdec9dead64e51d9aace385ff
2012-05-28fdo#46378: Prefer interpolation-based image rescaling in PDF export.Gökçen Eraslan
Change-Id: I9ead1221b4562dea0e1ef289944ac11ea850ed1a
2012-05-27break dep. cycle between vcl and fpickerDavid Tardon
Change-Id: I04c68440d7c5e5b6c620b406ff52b1cca9e2fbfb
2012-05-27WaE unused argumentNorbert Thiebaud
Change-Id: I04c06fd83142c7ced83a27370f50aee88a6a2101
2012-05-27Use normal font in tab headersStefan Knorr (astron)
2012-05-25fdo#50169: band-aid another crash in GraphiteLayout::expandOrCondense:Michael Stahl
error: attempt to subscript container with out-of-bounds index 6, but container only holds 6 elements.