cui/source/options/optgdlg.cxx | 1 + cui/source/options/optgdlg.hxx | 2 ++ cui/uiconfig/ui/optviewpage.ui | 12 ++++++++++++ 3 files changed, 15 insertions(+)
New commits: commit df99643f6222600f98015714aaa11d355d1a47e2 Author: Tomaž Vajngerl <[email protected]> AuthorDate: Sat Aug 29 15:42:42 2020 +0200 Commit: Tomaž Vajngerl <[email protected]> CommitDate: Sat Aug 29 15:47:35 2020 +0200 Add button 'Render Features' to Options Change-Id: I1a0aa538cdb6d32aa1d0377fd3d032c80bb742a5 diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 743a64ad4b7f..5940e6ba48b4 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -698,6 +698,7 @@ OfaViewTabPage::OfaViewTabPage(weld::Container* pPage, weld::DialogController* p , m_xSkiaStatusDisabled(m_xBuilder->weld_label("skiadisabled")) , m_xMousePosLB(m_xBuilder->weld_combo_box("mousepos")) , m_xMouseMiddleLB(m_xBuilder->weld_combo_box("mousemiddle")) + , m_xButtonTestRenderFeatures(m_xBuilder->weld_button("button_test_render_features")) { if (Application::GetToolkitName() == "gtk3") { diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx index 8ddec9631087..d9910a0e9077 100644 --- a/cui/source/options/optgdlg.hxx +++ b/cui/source/options/optgdlg.hxx @@ -121,6 +121,8 @@ private: std::unique_ptr<weld::ComboBox> m_xMousePosLB; std::unique_ptr<weld::ComboBox> m_xMouseMiddleLB; + std::unique_ptr<weld::Button> m_xButtonTestRenderFeatures; + DECL_LINK(OnAntialiasingToggled, weld::ToggleButton&, void); DECL_LINK(OnForceSkiaToggled, weld::ToggleButton&, void); DECL_LINK(OnForceSkiaRasterToggled, weld::ToggleButton&, void); diff --git a/cui/uiconfig/ui/optviewpage.ui b/cui/uiconfig/ui/optviewpage.ui index 340ccfa735f1..723be734799a 100644 --- a/cui/uiconfig/ui/optviewpage.ui +++ b/cui/uiconfig/ui/optviewpage.ui @@ -485,6 +485,18 @@ <property name="top_attach">0</property> </packing> </child> + <child> + <object class="GtkButton" id="button_test_render_features"> + <property name="label" translatable="yes" context="optviewpage|button_test_render_features">Test Render Features</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">4</property> + </packing> + </child> </object> <packing> <property name="left_attach">0</property> _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
