From 183879f1c435490eafb0b3eda4fe7f34dafe0aad Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Wed, 18 Jun 2025 11:11:12 -0600 Subject: [PATCH] feat: Add ApplyLayout method to IHasScreensWithLayouts Introduced a new method `ApplyLayout` in the `IHasScreensWithLayouts` interface. This method enables the application of a specific layout to a screen using the provided screen ID and layout index. XML documentation has been added to clarify its purpose and parameters. --- .../DeviceTypeInterfaces/IHasScreensWithLayouts.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasScreensWithLayouts.cs b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasScreensWithLayouts.cs index dec9c0b3..439462c6 100644 --- a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasScreensWithLayouts.cs +++ b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasScreensWithLayouts.cs @@ -17,6 +17,13 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces /// A dictionary of screens, keyed by screen ID, that contains information about each screen and its layouts. /// Dictionary Screens { get; } + + /// + /// Applies a specific layout to a screen based on the provided screen ID and layout index. + /// + /// + /// + void ApplyLayout(uint screenId, uint layoutIndex); } ///