Buttons for self view layout

This commit is contained in:
Heath Volmer
2017-10-05 16:16:11 -06:00
parent 4efc4d4e6e
commit f682793bbb
2 changed files with 36 additions and 11 deletions

View File

@@ -111,6 +111,10 @@ namespace PepperDash.Essentials
/// 1207
/// </summary>
public const uint VCCameraVisible = 1207;
/// <summary>
/// 1208
/// </summary>
public const uint VCSelfViewLayoutVisible = 1208;
/// <summary>
/// 1211
/// </summary>
@@ -187,6 +191,10 @@ namespace PepperDash.Essentials
/// 1241 For touching the text area to bring up keyboard
/// </summary>
public const uint VcDirectoryTextEntryPress = 1241;
/// <summary>
/// 1242
/// </summary>
public const uint VCStagingSelfViewLayoutPress = 1242;
/// <summary>
/// 1251

View File

@@ -445,7 +445,7 @@ namespace PepperDash.Essentials.UIDrivers.VC
/// </summary>
void SetupSelfViewControls()
{
if(Codec.
TriList.SetSigFalseAction(UIBoolJoin.VCStagingSelfViewLayoutPress, this.ShowSelfViewLayout);
TriList.SetSigFalseAction(UIBoolJoin.VCSelfViewTogglePress, () => { });
TriList.SetSigFalseAction(UIBoolJoin.VCRemoteViewTogglePress, () => { });
TriList.SetSigFalseAction(UIBoolJoin.VCSelfViewPipTogglePress, () => { });
@@ -497,7 +497,7 @@ namespace PepperDash.Essentials.UIDrivers.VC
}
/// <summary>
///
/// Shows the camera controls subpage
/// </summary>
void ShowCameraControls()
{
@@ -505,6 +505,20 @@ namespace PepperDash.Essentials.UIDrivers.VC
StagingButtonsFeedbackInterlock.ShowInterlocked(UIBoolJoin.VCStagingCameraPress);
}
/// <summary>
/// shows the directory subpage
/// </summary>
void ShowDirectory()
{
// populate directory
VCControlsInterlock.ShowInterlocked(UIBoolJoin.VCDirectoryVisible);
StagingButtonsFeedbackInterlock.ShowInterlocked(UIBoolJoin.VCStagingDirectoryPress);
}
/// <summary>
/// shows the appropriate keypad depending on mode
/// </summary>
void ShowKeypad()
{
if(CodecHasFavorites)
@@ -514,14 +528,18 @@ namespace PepperDash.Essentials.UIDrivers.VC
StagingButtonsFeedbackInterlock.ShowInterlocked(UIBoolJoin.VCStagingKeypadPress);
}
void ShowDirectory()
{
// populate directory
VCControlsInterlock.ShowInterlocked(UIBoolJoin.VCDirectoryVisible);
StagingButtonsFeedbackInterlock.ShowInterlocked(UIBoolJoin.VCStagingDirectoryPress);
}
/// <summary>
/// Shows the self-view layout controls subpage
/// </summary>
void ShowSelfViewLayout()
{
VCControlsInterlock.ShowInterlocked(UIBoolJoin.VCSelfViewLayoutVisible);
StagingButtonsFeedbackInterlock.ShowInterlocked(UIBoolJoin.VCStagingSelfViewLayoutPress);
}
/// <summary>
/// Shows the recents subpage
/// </summary>
void ShowRecents()
{
//populate recents
@@ -530,14 +548,13 @@ namespace PepperDash.Essentials.UIDrivers.VC
}
/// <summary>
///
/// Connect call button
/// </summary>
void ConnectPress()
{
Codec.Dial(DialStringBuilder.ToString());
}
/// <summary>
///
/// </summary>