summaryrefslogtreecommitdiff
path: root/cui/source/options/optopencl.hxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@edx.srv.br>2014-12-22 14:31:25 -0200
committerTor Lillqvist <tml@collabora.com>2014-12-22 17:43:53 +0000
commit3c40bd24c538cb2e5fddae7176002d8a970bbc41 (patch)
tree0753717193e15057fda3e0e1739edd708fdd9781 /cui/source/options/optopencl.hxx
parented60d4b378b6a813dcf8997c9bd374ca2d1e4a69 (diff)
Enhance OpenCL options UI dialog
1) HIG-ification of blacklist and whitelist, using frames 2) handle Use OpenCL checkbox to enable/disable OpenCL blacklist and whitelist changes Change-Id: Iae132d09d2dd0436fa1aa2a64e902ee5aed7cf47 Reviewed-on: https://gerrit.libreoffice.org/13602 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'cui/source/options/optopencl.hxx')
-rw-r--r--cui/source/options/optopencl.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/cui/source/options/optopencl.hxx b/cui/source/options/optopencl.hxx
index 818eec45f739..662ac28a631a 100644
--- a/cui/source/options/optopencl.hxx
+++ b/cui/source/options/optopencl.hxx
@@ -33,11 +33,13 @@ private:
CheckBox* mpUseOpenCL;
+ VclFrame* mpBlackListFrame;
ListBox* mpBlackList;
PushButton* mpBlackListEdit;
PushButton* mpBlackListAdd;
PushButton* mpBlackListDelete;
+ VclFrame* mpWhiteListFrame;
ListBox* mpWhiteList;
PushButton* mpWhiteListEdit;
PushButton* mpWhiteListAdd;
@@ -51,9 +53,12 @@ private:
DECL_LINK(WhiteListAddHdl, void*);
DECL_LINK(WhiteListDeleteHdl, void*);
+ DECL_LINK(EnableOpenCLHdl, void*);
+
long EditHdl(ListBox* pListBox, OpenCLConfig::ImplMatcherSet& rSet, const OString& rTag);
long AddHdl(ListBox* pListBox, OpenCLConfig::ImplMatcherSet& rSet, const OString& rTag);
long DeleteHdl(ListBox* pListBox, OpenCLConfig::ImplMatcherSet& rSet);
+ void EnableOpenCLHdl(VclFrame* pFrame, bool aEnable);
public:
SvxOpenCLTabPage( vcl::Window* pParent, const SfxItemSet& rSet );