Skip to content
Snippets Groups Projects
Select Git revision
  • c6282441a6cc8af6ffe7e1198f0aa73093beff22
  • master default protected
  • release/202005
  • release/202001
  • release/201912
  • release/201911
  • release/releaseWindowsTestOne
  • release/windowsReleaseTest
  • release/releaseTest
  • release/releaseWindowsTest
  • release/201910
  • release/qt/201910
  • release/windows-test/201910
  • release/201908
  • release/201906
  • release/201905
  • release/201904
  • release/201903
  • release/201902
  • release/201901
  • release/201812
  • 4.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 1.4.1
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
31 results

sipvoiplink.cpp

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    MainPage.xaml 6.44 KiB
    <!-- **********************************************************************
    * Copyright (C) 2016 by Savoir-faire Linux                                *
    * Author: Jäger Nicolas<nicolas.jager@savoirfairelinux.com>               *
    * Author: Traczyk Andreas<andreas.traczyk@savoirfairelinux.com>           *
    *                                                                         *
    * This program is free software; you can redistribute it and/or modify    *
    * it under the terms of the GNU General Public License as published by    *
    * the Free Software Foundation; either version 3 of the License, or       *
    * (at your option) any later version.                                     *
    *                                                                         *
    * This program is distributed in the hope that it will be useful,         *
    * but WITHOUT ANY WARRANTY; without even the implied warranty of          *
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           *
    * GNU General Public License for more details.                            *
    *                                                                         *
    * You should have received a copy of the GNU General Public License       *
    * along with this program.  If not, see <http://www.gnu.org/licenses/> .  *
    *********************************************************************** -->
    <Page x:Class="RingClientUWP.MainPage"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          xmlns:local="using:RingClientUWP"
          xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
          xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
          NavigationCacheMode="Enabled"
          mc:Ignorable="d">
    
        <Page.Resources>
            <Storyboard x:Name="_fadeOutStoryboard_">
                <DoubleAnimation
                Storyboard.TargetName="_loadingOverlay_"
                Storyboard.TargetProperty="Opacity"
                From="1.0" To="0.0" Duration="0:0:1" Completed="hideLoadingOverlay"/>
            </Storyboard>
            <Storyboard x:Name="_fadeInModalStoryboard_">
                <DoubleAnimation
                Storyboard.TargetName="_loadingOverlay_"
                Storyboard.TargetProperty="Opacity"
                From="0.0" To="0.85" Duration="0:0:0.25"/>
            </Storyboard>
        </Page.Resources>
    
        <Grid>
            <Grid   x:Name="_loadingOverlay_"
                    Canvas.ZIndex="4"
                    Visibility="Collapsed">
                <Rectangle  x:Name="_loadingOverlayRect_"
                            Canvas.ZIndex="5"
                            Fill="Black"
                            Opacity="0.85"
                            Width="auto"
                            Height="auto">
                </Rectangle>
                <Canvas  Canvas.ZIndex="6">
                    <Image  x:Name="_loadingImage_"
                            Source="Assets/Tests/logo-ring.scale-100.png"
                            Width="620"
                            Height="300"/>
                    <ProgressRing   Foreground="#19a0b7"
                                    Name="_splashProgressRing_"
                                    IsActive="True"
                                    MaxWidth="200"
                                    MaxHeight="200"
                                    Width="118"
                                    Height="118"/>
                </Canvas>
            </Grid>
            <SplitView x:Name="_outerSplitView_"
                       IsPaneOpen="False">
                <SplitView.Pane>
                    <Frame x:Name="_consolePanel_"/>
                </SplitView.Pane>
                <SplitView.Content>
                    <SplitView x:Name="_innerSplitView_"
                           IsPaneOpen="True"
                           CompactPaneLength="60"
                           DisplayMode="CompactInline">
                        <SplitView.Pane>
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="32"/>
                                    <RowDefinition Height="*"/>
                                </Grid.RowDefinitions>
                                <Grid   x:Name="_hamburgerButtonBar_"
                                        Canvas.ZIndex="0"
                                        Grid.Row="0"
                                        Background="LightBlue"
                                        Width="320"
                                        HorizontalAlignment="Left">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="60"/>
                                    </Grid.ColumnDefinitions>
                                    <!-- hamburger button. -->
                                    <Button x:Name="_toggleSmartBoxButton_"
                                            Grid.Row="0"
                                            Content="&#xE700;"
                                            Click="_toggleSmartBoxButton__Click"
                                            HorizontalAlignment="Center"
                                            Style="{StaticResource HamburgerButtonStyle}"/>
                                </Grid>
                                <Frame x:Name="_smartPanel_"
                                       Grid.Row="1">
                                </Frame>
                            </Grid>
                        </SplitView.Pane>
                        <SplitView.Content>
                            <Grid x:Name="_navGrid_">
                                <Grid.RowDefinitions>
                                    <!-- stores the hidden frames. -->
                                    <RowDefinition Height="0"/>
                                    <!-- nesting the showed frame. -->
                                    <RowDefinition Height="*"/>
                                </Grid.RowDefinitions>
                                <Frame x:Name="_welcomeFrame_"
                                       Grid.Row="1"
                                       Visibility="Visible"/>
                                <Frame x:Name="_messageTextFrame_"
                                       Grid.Row="0"
                                       Visibility="Visible"/>
                                <Frame x:Name="_videoFrame_"
                                       Grid.Row="0"
                                       Visibility="Visible"/>
                            </Grid>
                        </SplitView.Content>
                    </SplitView>
                </SplitView.Content>
            </SplitView>
        </Grid>
    </Page>