Skip to content

Commit

Permalink
Merge pull request #253 from WildernessLabs/color_invertable_display
Browse files Browse the repository at this point in the history
Add IColorInvertableDisplay
  • Loading branch information
ctacke authored Jul 28, 2024
2 parents e9854c7 + 979168e commit 2aac55d
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
namespace Meadow.Peripherals.Displays;

/// <summary>
/// Represents a display that supports rotation in 90 degree increments
/// </summary>
public interface IColorInvertableDisplay
{
/// <summary>
/// Invert the display colors
/// True to invert, false for normal colors
/// </summary>
public void InvertDisplayColor(bool invert);

/// <summary>
/// Gets whether the display color is inverted
/// </summary>
public bool IsColorInverted { get; }
}

0 comments on commit 2aac55d

Please sign in to comment.