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

View File

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