diff options
author | JBurant <jiri.burant92@gmail.com> | 2016-04-05 20:47:12 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2016-06-29 17:06:02 +0000 |
commit | c58ef7f10839d78859c470c160fe20ae2d49e6ab (patch) | |
tree | 7d76053a8cf0bee1ec1d5dd3dc491f436ab01f6f /cui/source/options/optopencl.hxx | |
parent | 8614502d737de5b00889c06cd88499b00867bb5d (diff) |
tdf#90336, make it visible in options, if openCL will be used
I tried to hide the black and white list settings and
to add the info, whether OpenCL will be used.
Change-Id: Ida7d34078bdb6fc2597376a61138cf9ec0c8eeaa
Reviewed-on: https://gerrit.libreoffice.org/23847
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'cui/source/options/optopencl.hxx')
-rw-r--r-- | cui/source/options/optopencl.hxx | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/cui/source/options/optopencl.hxx b/cui/source/options/optopencl.hxx index 10dc30b5ce2b..f66f3f486ee7 100644 --- a/cui/source/options/optopencl.hxx +++ b/cui/source/options/optopencl.hxx @@ -34,39 +34,10 @@ private: VclPtr<CheckBox> mpUseSwInterpreter; VclPtr<CheckBox> mpUseOpenCL; - VclPtr<VclFrame> mpBlackListFrame; - VclPtr<SvSimpleTable> mpBlackList; - VclPtr<SvSimpleTableContainer> mpBlackListTable; - VclPtr<PushButton> mpBlackListEdit; - VclPtr<PushButton> mpBlackListAdd; - VclPtr<PushButton> mpBlackListDelete; - VclPtr<FixedText> mpOS; - VclPtr<FixedText> mpOSVersion; - VclPtr<FixedText> mpDevice; - VclPtr<FixedText> mpVendor; - VclPtr<FixedText> mpDrvVersion; - - VclPtr<VclFrame> mpWhiteListFrame; - VclPtr<SvSimpleTable> mpWhiteList; - VclPtr<SvSimpleTableContainer> mpWhiteListTable; - VclPtr<PushButton> mpWhiteListEdit; - VclPtr<PushButton> mpWhiteListAdd; - VclPtr<PushButton> mpWhiteListDelete; - - DECL_LINK_TYPED(BlackListEditHdl, Button*, void); - DECL_LINK_TYPED(BlackListAddHdl, Button*, void); - DECL_LINK_TYPED(BlackListDeleteHdl, Button*, void); - - DECL_LINK_TYPED(WhiteListEditHdl, Button*, void); - DECL_LINK_TYPED(WhiteListAddHdl, Button*, void); - DECL_LINK_TYPED(WhiteListDeleteHdl, Button*, void); + VclPtr<FixedText> clUsed; DECL_LINK_TYPED(EnableOpenCLHdl, Button*, void); - long EditHdl(SvSimpleTable* pListBox, OpenCLConfig::ImplMatcherSet& rSet, const OString& rTag); - long AddHdl(SvSimpleTable* pListBox, OpenCLConfig::ImplMatcherSet& rSet, const OString& rTag); - static long DeleteHdl(SvSimpleTable* pListBox, OpenCLConfig::ImplMatcherSet& rSet); - static void EnableOpenCLHdl(VclFrame* pFrame, bool aEnable); public: @@ -78,7 +49,6 @@ public: virtual bool FillItemSet( SfxItemSet* rSet ) override; virtual void Reset( const SfxItemSet* rSet ) override; - virtual void FillUserData() override; }; #endif |