mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
- Toolchain file to configure a Visual Studio generator for a Windows 10 Universal Application was added (CMake). - There is no support for environment variables in UWP. - SID is not supported (were excluded). - Windows registry is not supported (were excluded). - Mess with usage of Unicode/ANSI was corrected. - Added sample to check UWP functionality. - Excluded usage of methods with Unicode characters where it is possible. - Minor corrections to allow building OCAF (except TKVCAF) and DE (except VRML and XDE) - Building of unsupported modules for UWP platform is off by default . - Checking of DataExchange functionality was added to XAML (UWP) sample. - Added information about UWP to the documentation. - Update of results of merge with issue 27801
48 lines
2.6 KiB
XML
48 lines
2.6 KiB
XML
<Page
|
|
x:Class="uwp.MainPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="using:uwp"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d">
|
|
|
|
<!-- Common grid-->
|
|
<Grid x:Name="contentPanel" HorizontalAlignment="Center" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" MinWidth="800" MinHeight="800">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition MinHeight="40" MaxHeight="40"/>
|
|
<RowDefinition MinHeight="30" MaxHeight="30"/>
|
|
<RowDefinition MinHeight="30"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Grid for buttons (locates at first row of Common grid)-->
|
|
<Grid x:Name="buttonPanel" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Grid.Row="0">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition MinHeight="40"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition MinWidth="190"/>
|
|
<ColumnDefinition MinWidth="190"/>
|
|
<ColumnDefinition MinWidth="190"/>
|
|
<ColumnDefinition MinWidth="190"/>
|
|
<ColumnDefinition MinWidth="190"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Button x:Name="offset" MaxHeight="30" MinHeight="30" MaxWidth="180" MinWidth="180" Content="Test offset" Grid.Row="0" Grid.Column="0" Click="OnClickOffset"/>
|
|
<Button x:Name="mesh" MaxHeight="30" MinHeight="30" MaxWidth="180" MinWidth="180" Content="Test mesh" Grid.Row="0" Grid.Column="1" Click="OnClickMesh"/>
|
|
<Button x:Name="boolean" MaxHeight="30" MinHeight="30" MaxWidth="180" MinWidth="180" Content="Test boolean operation" Grid.Row="0" Grid.Column="2" Click="OnClickBoolean"/>
|
|
<Button x:Name="tmpdir" MaxHeight="30" MinHeight="30" MaxWidth="180" MinWidth="180" Content="Create temp file" Grid.Row="0" Grid.Column="3" Click="OnClickBuildTemporary"/>
|
|
<Button x:Name="de" MaxHeight="30" MinHeight="30" MaxWidth="180" MinWidth="180" Content="Test DataExchange" Grid.Row="0" Grid.Column="4" Click="OnClickDataExchange"/>
|
|
</Grid>
|
|
|
|
<!-- TextBlock for label -->
|
|
<StackPanel Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
|
|
<TextBlock Text="Output:" HorizontalAlignment="Left" Grid.Row="1"/>
|
|
</StackPanel>
|
|
|
|
<!-- TextBlock for output information -->
|
|
<StackPanel Grid.Row="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
|
|
<TextBlock x:Name="Output_TextBlock" Text="" HorizontalAlignment="Left" Grid.Row="2"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Page>
|