+ _color = c;
+ mark->property_fill_color_rgba() = _color;
+ mark->property_outline_color_rgba() = _color;
+
+ if (_line && !_selected) {
+ _line->property_color_rgba() = _color;
+ }
+
+ _name_background->property_fill() = true;
+ _name_background->property_fill_color_rgba() = UINT_RGBA_CHANGE_A (_color, 0x70);
+ _name_background->property_outline_color_rgba() = _color;
+}
+
+/** Set the number of pixels that are available for a label to the left of the centre of this marker */
+void
+Marker::set_left_label_limit (double p)
+{
+ /* Account for the size of the marker */
+ _left_label_limit = p - 13;
+ if (_left_label_limit < 0) {
+ _left_label_limit = 0;
+ }
+
+ if (label_on_left ()) {
+ setup_name_display ();
+ }
+}
+
+/** Set the number of pixels that are available for a label to the right of the centre of this marker */
+void
+Marker::set_right_label_limit (double p)
+{
+ /* Account for the size of the marker */
+ _right_label_limit = p - 13;
+ if (_right_label_limit < 0) {
+ _right_label_limit = 0;
+ }
+
+ if (!label_on_left ()) {
+ setup_name_display ();
+ }