Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(66)

Unified Diff: lily/axis-group-interface.cc

Issue 329140043: Standardize format of `in_color` (Closed)
Patch Set: Make Real typing more apparent Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lily/paper-column.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/axis-group-interface.cc
diff --git a/lily/axis-group-interface.cc b/lily/axis-group-interface.cc
index ac6f85feb8e25bb810875d47567708194d762cd3..564f638841a52014162705d99b41de00c036bf7f 100644
--- a/lily/axis-group-interface.cc
+++ b/lily/axis-group-interface.cc
@@ -988,9 +988,9 @@ Axis_group_interface::print (SCM smob)
if (Skyline_pair *s = unsmob<Skyline_pair> (me->get_property ("vertical-skylines")))
{
ret.add_stencil (Lookup::points_to_line_stencil (0.1, (*s)[UP].to_points (X_AXIS))
- .in_color (255, 0, 255));
+ .in_color (1.0, 0.0, 1.0));
ret.add_stencil (Lookup::points_to_line_stencil (0.1, (*s)[DOWN].to_points (X_AXIS))
- .in_color (0, 255, 255));
+ .in_color (0.0, 1.0, 1.0));
}
return ret.smobbed_copy ();
}
« no previous file with comments | « no previous file | lily/paper-column.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b