diff options
| author | Max Pernklau | 2020-12-29 10:50:31 +0100 |
|---|---|---|
| committer | GitHub | 2020-12-29 10:50:31 +0100 |
| commit | 9b5762cf3716503819e2cf06f3c335bbfd3b0a3c (patch) | |
| tree | b5d5bd02e5de6bcdb34d0052d7675b2644ac377f /src/colours.rs | |
| parent | 2d2f45df9d47db25ac5a91c8f926a025c3a5dc7a (diff) | |
| parent | f2430645e7b78dcc0b06a59d20b7c0ff36a5f3c2 (diff) | |
| download | graf_karto-9b5762cf3716503819e2cf06f3c335bbfd3b0a3c.tar.gz graf_karto-9b5762cf3716503819e2cf06f3c335bbfd3b0a3c.zip | |
Merge pull request #26 from LordSentox/position-indicator
Add indicator to show where the mouse is pointing
Diffstat (limited to 'src/colours.rs')
| -rw-r--r-- | src/colours.rs | 16 |
1 files changed, 16 insertions, 0 deletions
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, |
