- add_subwindow(depth = new PolarDepth(plugin, x1, y));
- x2 = x1 + depth->get_w() + xs10;
- add_subwindow(depthClr = new PolarSliderClr(plugin, this, x2, y, clrBtn_w, RESET_DEPTH));
+ depth_text = new PolarFText(this, plugin,
+ 0, &plugin->config.depth, (x + x2), y, DEPTH_MIN, DEPTH_MAX);
+ depth_text->create_objects();
+ depth_slider = new PolarFSlider(plugin,
+ depth_text, &plugin->config.depth, x3, y, DEPTH_MIN, DEPTH_MAX, xs200);
+ add_subwindow(depth_slider);
+ depth_text->slider = depth_slider;
+ clr_x = x3 + depth_slider->get_w() + x;
+ add_subwindow(depth_Clr = new PolarClr(plugin, this, clr_x, y, RESET_DEPTH));
+ y += ys30;