- y += canvas->get_h() + 10;
- add_subwindow(new BC_Title(x, y, _("Current X:")));
- x += 80;
+ y += canvas->get_h() + ys10;
+ int x1 = x;
+ BC_Title *title;
+ add_subwindow(title = new BC_Title(x1, y, _("Current: ")));
+ x1 += title->get_w() + xs10;
+ char string[BCSTRLEN];
+ sprintf(string, "%d", plugin->config.current_point+1);
+ add_subwindow(curr_point = new BC_Title(x1, y, string));
+ x1 += xs20;
+ add_subwindow(title = new BC_Title(x1, y, _("X:")));
+ x1 += title->get_w() + xs10;