mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-01 13:55:05 +00:00
Buttons for self view layout
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user