From f2430645e7b78dcc0b06a59d20b7c0ff36a5f3c2 Mon Sep 17 00:00:00 2001 From: Arne Dußin Date: Mon, 28 Dec 2020 00:05:01 +0100 Subject: Add indicator to show where the mouse is pointing --- src/colours.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/colours.rs') diff --git a/src/colours.rs b/src/colours.rs index 4a3b799..d381266 100644 --- a/src/colours.rs +++ b/src/colours.rs @@ -32,6 +32,10 @@ pub struct Colours { pub dimension_indicators: Color, /// Colour of the text used to display the size of the dimension indicators dimensions. pub dimension_text: Color, + /// Colour the point to show where something is will be drawn in. + pub position_indicator: Color, + /// Colour that is used for the text stating the position of the position indicator in meters. + pub position_text: Color, /// The colour used for drawing the lines of the grid which divides the map into chunks of evenly /// spaced cells. pub grid_lines: Color, @@ -115,6 +119,18 @@ impl Colours { b: 200, a: 255, }, + position_indicator: Color { + r: 200, + g: 200, + b: 200, + a: 255, + }, + position_text: Color { + r: 200, + g: 200, + b: 200, + a: 255, + }, grid_lines: Color { r: 255, g: 255, -- cgit v1.2.3-70-g09d2