MarkusGerhart / spray

Automatically exported from code.google.com/p/spray
0 stars 0 forks source link

Allow user defined RGB color values #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Colors should not only be restricted to IColorConstant instances, it should 
also be allowed to define a color with RGB values.

   line (width=2  color=RGB(128,128,128));

Sebastian Zarnekow has written an article to include a Color Picker dialog to 
choose the RGB color.

http://zarnekow.blogspot.com/2011/06/customizing-content-assist-with-xtext.html

Original issue reported on code.google.com by karsten....@googlemail.com on 27 Sep 2011 at 1:00

GoogleCodeExporter commented 8 years ago
Introduced metaclass "Color" and "RGBColor"
Changed grammar, added RGBColor
   RGB(r,g,b)
Added unit test
Implemented content assist

Original comment by karsten....@googlemail.com on 30 Sep 2011 at 8:59