Kaydet (Commit) d17d8da6 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

sidebar conversion tutorial: Get rid of ToolBox backgound(s).

In the header files, they are Windows, with Background in the name; in the
.cxx, they are created using CreateToolBoxBackground() function.

Change-Id: If24db0c4a59b702f31481a4018c8c19383d01216
üst 9e8869d8
......@@ -52,11 +52,9 @@ AlignmentPropertyPanel::AlignmentPropertyPanel(
: Control(
pParent,
ScResId(RID_PROPERTYPANEL_SC_ALIGNMENT)),
mpTBHorizontalBackground(ControlFactory::CreateToolBoxBackground(this)),
mpTBHorizontal(ControlFactory::CreateToolBox(
mpTBHorizontalBackground.get(),
ScResId(TBX_HORIZONTAL_ALIGNMENT))),
mpTBVerticalBackground(ControlFactory::CreateToolBoxBackground(this)),
mpTBVertical(ControlFactory::CreateToolBox(
mpTBVerticalBackground.get(),
ScResId(TBX_VERTICAL_ALIGN))),
......
......@@ -59,9 +59,7 @@ public:
private:
//ui controls
::boost::scoped_ptr<Window> mpTBHorizontalBackground;
::boost::scoped_ptr< ToolBox > mpTBHorizontal;
::boost::scoped_ptr<Window> mpTBVerticalBackground;
::boost::scoped_ptr< ToolBox > mpTBVertical;
::boost::scoped_ptr< FixedText > mpFTLeftIndent;
::boost::scoped_ptr< MetricField > mpMFLeftIndent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment