summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-09-19 11:33:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:49 +0100
commite4c8ec5fec16aaf786db4b9cc604bf693562f004 (patch)
tree421772892d60e0df76758e05dec27a2d10a6406c /svtools
parentfdc8245182dd3fc44289a39976ee41e59451127f (diff)
convert hard-coded layout of effects tabpage to .ui
Change-Id: I6aa02f112b0b13402db1f0cf721d0db8862432bc
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ctrlbox.cxx7
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()