More Refactoring of RGBA_Bytes
This commit is contained in:
parent
c02d2ca60f
commit
cfca964294
20 changed files with 36 additions and 36 deletions
|
|
@ -84,7 +84,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
|
||||
public ILibraryContainer ActiveContainer => this.LibraryContext.ActiveContainer;
|
||||
|
||||
public Color ThumbnailBackground { get; } = ActiveTheme.Instance.TertiaryBackgroundColor.AdjustLightness(1.05).GetAsRGBA_Bytes();
|
||||
public Color ThumbnailBackground { get; } = ActiveTheme.Instance.TertiaryBackgroundColor.AdjustLightness(1.05).ToColor();
|
||||
public Color ThumbnailForeground { get; set; } = ActiveTheme.Instance.PrimaryAccentColor;
|
||||
|
||||
private async void ActiveContainer_Changed(object sender, ContainerChangedEventArgs e)
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
{
|
||||
this.BackgroundColor = ActiveTheme.Instance.SecondaryAccentColor;
|
||||
this.partLabel.TextColor = Color.White;
|
||||
//this.partStatus.TextColor = RGBA_Bytes.White;
|
||||
//this.partStatus.TextColor = Color.White;
|
||||
this.viewButton.BackgroundColor = Color.White;
|
||||
this.viewButtonLabel.TextColor = ActiveTheme.Instance.SecondaryAccentColor;
|
||||
}
|
||||
|
|
@ -242,7 +242,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
{
|
||||
this.BackgroundColor = ActiveTheme.Instance.PrimaryAccentColor;
|
||||
this.partLabel.TextColor = Color.White;
|
||||
//this.partStatus.TextColor = RGBA_Bytes.White;
|
||||
//this.partStatus.TextColor = Color.White;
|
||||
this.selectionCheckBox.TextColor = Color.White;
|
||||
this.viewButton.BackgroundColor = Color.White;
|
||||
this.viewButtonLabel.TextColor = ActiveTheme.Instance.SecondaryAccentColor;
|
||||
|
|
@ -252,7 +252,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
this.BackgroundColor = Color.White;
|
||||
this.partLabel.TextColor = Color.Black;
|
||||
this.selectionCheckBox.TextColor = Color.Black;
|
||||
//this.partStatus.TextColor = RGBA_Bytes.Black;
|
||||
//this.partStatus.TextColor = Color.Black;
|
||||
this.viewButton.BackgroundColor = ActiveTheme.Instance.SecondaryAccentColor;
|
||||
this.viewButtonLabel.TextColor = Color.White;
|
||||
}
|
||||
|
|
@ -261,7 +261,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
this.BackgroundColor = new Color(255, 255, 255, 255);
|
||||
this.partLabel.TextColor = Color.Black;
|
||||
this.selectionCheckBox.TextColor = Color.Black;
|
||||
//this.partStatus.TextColor = RGBA_Bytes.Black;
|
||||
//this.partStatus.TextColor = Color.Black;
|
||||
this.viewButton.BackgroundColor = ActiveTheme.Instance.SecondaryAccentColor;
|
||||
this.viewButtonLabel.TextColor = Color.White;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue