summaryrefslogtreecommitdiff
path: root/cui/source/options/optopencl.hxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@edx.srv.br>2014-12-26 16:01:21 -0200
committerCaolán McNamara <caolanm@redhat.com>2015-01-05 09:44:08 +0000
commit97a99db679e547b8adaaedb6d02f2b191a8da688 (patch)
tree32042bc0294c738a75749b6a2a549bd8e919fa82 /cui/source/options/optopencl.hxx
parent2cedb0777304f824a1c0eb37e442f640c245dace (diff)
Enhance OpenCL Option dialog with tables
Changed ListBox to SvSimpleTable Table header displayed Restore CheckBox setting Change-Id: Idca5ac7c921bf3674a36032e342708ccaae03d0d Reviewed-on: https://gerrit.libreoffice.org/13665 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/options/optopencl.hxx')
-rw-r--r--cui/source/options/optopencl.hxx18
1 files changed, 13 insertions, 5 deletions
diff --git a/cui/source/options/optopencl.hxx b/cui/source/options/optopencl.hxx
index 662ac28a631a..dc28ba32a2c1 100644
--- a/cui/source/options/optopencl.hxx
+++ b/cui/source/options/optopencl.hxx
@@ -34,13 +34,20 @@ private:
CheckBox* mpUseOpenCL;
VclFrame* mpBlackListFrame;
- ListBox* mpBlackList;
+ SvSimpleTable* mpBlackList;
+ SvSimpleTableContainer* mpBlackListTable;
PushButton* mpBlackListEdit;
PushButton* mpBlackListAdd;
PushButton* mpBlackListDelete;
+ FixedText* mpOS;
+ FixedText* mpOSVersion;
+ FixedText* mpDevice;
+ FixedText* mpVendor;
+ FixedText* mpDrvVersion;
VclFrame* mpWhiteListFrame;
- ListBox* mpWhiteList;
+ SvSimpleTable* mpWhiteList;
+ SvSimpleTableContainer* mpWhiteListTable;
PushButton* mpWhiteListEdit;
PushButton* mpWhiteListAdd;
PushButton* mpWhiteListDelete;
@@ -55,9 +62,10 @@ private:
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);
+ long EditHdl(SvSimpleTable* pListBox, OpenCLConfig::ImplMatcherSet& rSet, const OString& rTag);
+ long AddHdl(SvSimpleTable* pListBox, OpenCLConfig::ImplMatcherSet& rSet, const OString& rTag);
+ long DeleteHdl(SvSimpleTable* pListBox, OpenCLConfig::ImplMatcherSet& rSet);
+
void EnableOpenCLHdl(VclFrame* pFrame, bool aEnable);
public: