t panel_w = i_do_side_panel ? 158 : 0;
	var mousedown_sx;
	var mousedown_sy;
	var mousemove_sx;
	var mousemove_sy;

	const button_bg_color = "#e0e8b5";
	const button_color = "#161712";
	const button_high_color = "#838769";

	const buttons_x = w + 16;
	const buttons_h = 16;

	const x_y = 14;	var x_value = i_x;
	const y_y = 34;	var y_value = i_y;
	const reset_xy_y = 54;	var reset_xy_over = false;	var reset_xy_down = false;

	const scale_y = 94;	var scale_value = i_scale;
	const linear_scale_y = 114;	var linea