Changed RGBA_Bytes -> Color

This commit is contained in:
Lars Brubaker 2017-10-31 11:43:25 -07:00
parent c6a3c14118
commit 8d1fecab8c
107 changed files with 495 additions and 495 deletions

View file

@ -47,7 +47,7 @@ namespace MatterHackers.MatterControl
private Stack<GuiWidget> elementsUnderConstruction = new Stack<GuiWidget>();
HtmlParser htmlParser = new HtmlParser();
public HtmlWidget(string htmlContent, RGBA_Bytes aboutTextColor)
public HtmlWidget(string htmlContent, Color aboutTextColor)
: base(FlowDirection.TopToBottom)
{
this.Name = "HtmlWidget";
@ -68,7 +68,7 @@ namespace MatterHackers.MatterControl
private String unwrappedMessage;
private TextWidget messageContainer;
public WrappingTextWidget(string text, double pointSize = 12, Justification justification = Justification.Left, RGBA_Bytes textColor = new RGBA_Bytes(), bool ellipsisIfClipped = true, bool underline = false, RGBA_Bytes backgroundColor = new RGBA_Bytes())
public WrappingTextWidget(string text, double pointSize = 12, Justification justification = Justification.Left, Color textColor = new Color(), bool ellipsisIfClipped = true, bool underline = false, Color backgroundColor = new Color())
{
unwrappedMessage = text;
messageContainer = new TextWidget(text, 0, 0, pointSize, justification, textColor, ellipsisIfClipped, underline);