diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-09-19 11:33:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:49 +0100 |
commit | e4c8ec5fec16aaf786db4b9cc604bf693562f004 (patch) | |
tree | 421772892d60e0df76758e05dec27a2d10a6406c /svtools | |
parent | import inconsistent-state GtkCheckButtons as TriStateBoxs (diff) | |
download | core-e4c8ec5fec16aaf786db4b9cc604bf693562f004.tar.gz core-e4c8ec5fec16aaf786db4b9cc604bf693562f004.zip |
convert hard-coded layout of effects tabpage to .ui
Change-Id: I6aa02f112b0b13402db1f0cf721d0db8862432bc
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 96780a1c5da6..e420d4e9fc5e 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -124,6 +124,13 @@ ColorListBox::ColorListBox( Window* pParent, const ResId& rResId ) : ImplInit(); } +extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeColorListBox(Window *pParent) +{ + ColorListBox *pListBox = new ColorListBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK); + pListBox->SetDropDownLineCount(16); //arbitrary + return pListBox; +} + // ----------------------------------------------------------------------- ColorListBox::~ColorListBox() |