+ add_subwindow(mask_shape_sqr = new CWindowMaskShape(mwindow, this,
+ "mask_prst_sqr_images", MASK_SHAPE_SQUARE, t[0], y, _("Square")));
+ add_subwindow(mask_shape_crc = new CWindowMaskShape(mwindow, this,
+ "mask_prst_crc_images", MASK_SHAPE_CIRCLE, t[1], y, _("Circle")));
+ add_subwindow(mask_shape_tri = new CWindowMaskShape(mwindow, this,
+ "mask_prst_tri_images", MASK_SHAPE_TRIANGLE, t[2], y, _("Triangle")));
+ add_subwindow(mask_shape_ovl = new CWindowMaskShape(mwindow, this,
+ "mask_prst_ovl_images", MASK_SHAPE_OVAL, t[3], y, _("Oval")));
+ add_subwindow(mask_load_list = new CWindowMaskLoadList(mwindow, this));
+ add_subwindow(mask_load = new CWindowMaskLoad(mwindow, this, t[5], y, xS(80)));
+ add_subwindow(mask_save = new CWindowMaskSave(mwindow, this, t[6], y, xS(80)));
+ add_subwindow(mask_delete = new CWindowMaskDelete(mwindow, this, t[7], y, xS(80)));
+ y += mask_load->get_h() + 2*margin;
+ add_subwindow(title_bar = new BC_TitleBar(x, y, get_w()-2*x, xS(20), xS(10),
+ _("Position & Scale")));
+ y += title_bar->get_h() + 2*margin;
+ add_subwindow(mask_center = new CWindowMaskCenter(mwindow, this, t[0], y, xS(80)));
+ add_subwindow(mask_normal = new CWindowMaskNormal(mwindow, this, t[1], y, xS(80)));
+
+ add_subwindow(mask_scale_x = new CWindowMaskScaleXY(mwindow, this,
+ t[5], y, theme->get_image_set("mask_scale_x"), 0, MASK_SCALE_X, _("xlate/scale x")));
+ add_subwindow(mask_scale_y = new CWindowMaskScaleXY(mwindow, this,
+ t[6], y, theme->get_image_set("mask_scale_y"), 0, MASK_SCALE_Y, _("xlate/scale y")));
+ add_subwindow(mask_scale_xy = new CWindowMaskScaleXY(mwindow, this,
+ t[7], y, theme->get_image_set("mask_scale_xy"), 1, MASK_SCALE_XY, _("xlate/scale xy")));
+ y += mask_center->get_h() + 2*margin;
+ add_subwindow(title_bar = new BC_TitleBar(x, y, get_w()-2*x, xS(20), xS(10),
+ _("Fade & Feather")));
+ y += title_bar->get_h() + 2*margin;