mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-11 10:45:00 +00:00
Removes essentials-framework as a submodule and brings the files back into the main repo
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using System.Collections.Generic;
|
||||
using Crestron.SimplSharpPro.DeviceSupport;
|
||||
using PepperDash.Essentials.Core;
|
||||
|
||||
namespace PepperDash.Essentials.Core.PageManagers
|
||||
{
|
||||
/// <summary>
|
||||
/// A simple class that hides and shows the default subpage for a given source type
|
||||
/// </summary>
|
||||
public class SinglePageManager : PageManager
|
||||
{
|
||||
BasicTriList TriList;
|
||||
uint BackingPageJoin;
|
||||
|
||||
public SinglePageManager(uint pageJoin, BasicTriList trilist)
|
||||
{
|
||||
TriList = trilist;
|
||||
BackingPageJoin = pageJoin;
|
||||
}
|
||||
|
||||
public override void Show()
|
||||
{
|
||||
TriList.BooleanInput[BackingPageJoin].BoolValue = true;
|
||||
}
|
||||
|
||||
public override void Hide()
|
||||
{
|
||||
TriList.BooleanInput[BackingPageJoin].BoolValue = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user