- add_subwindow(new BC_Title(x + 200, y, _("New projector size:")));
- y += 30;
- add_subwindow(new BC_Title(x, y, _("Width:")));
- x += 70;
- add_subwindow(dimension[0] = new ScaleSizeText(x, y, thread, &(thread->dimension[0])));
- x += 110;
- add_subwindow(new BC_Title(x, y, _("Width:")));
- x += 70;
- add_subwindow(dimension[2] = new ScaleSizeText(x, y, thread, &(thread->dimension[2])));
-
- y += 30;
- x = 10;
- add_subwindow(new BC_Title(x, y, _("Height:")));
- x += 70;
- add_subwindow(dimension[1] = new ScaleSizeText(x, y, thread, &(thread->dimension[1])));
- x += 110;
- add_subwindow(new BC_Title(x, y, _("Height:")));
- x += 70;
- add_subwindow(dimension[3] = new ScaleSizeText(x, y, thread, &(thread->dimension[3])));
-
- y += 30;
- x = 10;
- add_subwindow(new BC_Title(x, y, _("W Ratio:")));
- x += 70;
- add_subwindow(ratio[0] = new ScaleRatioText(x, y, thread, &(thread->ratio[0])));
- x += 110;
- add_subwindow(new BC_Title(x, y, _("W Ratio:")));
- x += 70;
- add_subwindow(ratio[2] = new ScaleRatioText(x, y, thread, &(thread->ratio[2])));
-
- y += 30;
- x = 10;
- add_subwindow(new BC_Title(x, y, _("H Ratio:")));
- x += 70;
- add_subwindow(ratio[1] = new ScaleRatioText(x, y, thread, &(thread->ratio[1])));
- x += 110;
- add_subwindow(new BC_Title(x, y, _("H Ratio:")));
- x += 70;
- add_subwindow(ratio[3] = new ScaleRatioText(x, y, thread, &(thread->ratio[3])));
-
-// y += 30;
-// x = 10;
-// add_subwindow(new BC_Title(x, y, "X Offset:"));
-// x += 70;
-// add_subwindow(offsets[0] = new ScaleOffsetText(x, y, thread, &(thread->offsets[0])));
-// x += 110;
-// add_subwindow(new BC_Title(x, y, "X Offset:"));
-// x += 70;
-// add_subwindow(offsets[2] = new ScaleOffsetText(x, y, thread, &(thread->offsets[2])));
+ add_subwindow(new BC_Title(x + xs200, y, _("New projector size:")));
+ y += ys30;
+ add_subwindow(new BC_Title(x0, y, _("Width:")));
+ add_subwindow(dimension[0] = new ScaleSizeText(x1, y, thread, &(thread->dimension[0])));
+ add_subwindow(new BC_Title(x2, y, _("Width:")));
+ add_subwindow(dimension[2] = new ScaleSizeText(x3, y, thread, &(thread->dimension[2])));
+
+ y += ys30;
+ add_subwindow(new BC_Title(x0, y, _("Height:")));
+ add_subwindow(dimension[1] = new ScaleSizeText(x1, y, thread, &(thread->dimension[1])));
+ add_subwindow(new BC_Title(x2, y, _("Height:")));
+ add_subwindow(dimension[3] = new ScaleSizeText(x3, y, thread, &(thread->dimension[3])));
+
+ y += ys30;
+ add_subwindow(new BC_Title(x0, y, _("W Ratio:")));
+ add_subwindow(ratio[0] = new ScaleRatioText(x1, y, thread, &(thread->ratio[0])));
+ add_subwindow(new BC_Title(x2, y, _("W Ratio:")));
+ add_subwindow(ratio[2] = new ScaleRatioText(x3, y, thread, &(thread->ratio[2])));
+
+ y += ys30;
+ add_subwindow(new BC_Title(x0, y, _("H Ratio:")));
+ add_subwindow(ratio[1] = new ScaleRatioText(x1, y, thread, &(thread->ratio[1])));
+ add_subwindow(new BC_Title(x2, y, _("H Ratio:")));
+ add_subwindow(ratio[3] = new ScaleRatioText(x3, y, thread, &(thread->ratio[3])));
+
+// y += ys30;
+// add_subwindow(new BC_Title(x0, y, "X Offset:"));
+// add_subwindow(offsets[0] = new ScaleOffsetText(x1, y, thread, &(thread->offsets[0])));
+// add_subwindow(new BC_Title(x2, y, "X Offset:"));
+// add_subwindow(offsets[2] = new ScaleOffsetText(x3, y, thread, &(thread->offsets[2])));