support screenshotting .ui files with GtkBuilder

Desktop / LibreOffice - Caolán McNamara [redhat.com] - 10 October 2019 18:25 EDT

so...

SAL_USE_VCLPLUGIN=gtk3 make screenshot

for the "unknown dialog" cases of make screenshot, which loads .ui files and tries to render them, will render them with the native gtk infrastructure

Change-Id: Ifc8fe264155887c4d01b7ce0e2aa53e12acbfcb0 Reviewed-on: https://gerrit.libreoffice.org/80545

bb6bcabda53d support screenshotting .ui files with GtkBuilder
include/test/screenshot_test.hxx | 15 +-
include/vcl/dialog.hxx | 18 +-
include/vcl/syswin.hxx | 18 ++
include/vcl/weld.hxx | 57 +++---
test/source/screenshot_test.cxx | 106 +++++-----
vcl/UIConfig_vcl.mk | 1 +
vcl/source/app/salvtables.cxx | 124 +++++++-----
vcl/source/window/dialog.cxx | 53 -----
vcl/source/window/syswin.cxx | 54 ++++++
vcl/uiconfig/ui/screenshotparent.ui | 54 ++++++
vcl/unx/gtk3/gtk3gtkinst.cxx | 377 ++++++++++++++++++++----------------
11 files changed, 511 insertions(+), 366 deletions(-)

Upstream: cgit.freedesktop.org


  • Share