AquaCare/AquaCare.View/TutorialsWindow.axaml
2025-05-06 22:58:57 +02:00

55 lines
2.1 KiB
XML

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vlc="clr-namespace:LibVLCSharp.Avalonia;assembly=LibVLCSharp.Avalonia"
x:Class="AquaCare.View.TutorialsWindow"
Title="Tutorials"
Width="1280" Height="720"
Icon="Ressourcen/Bilder/ProgrammIcon.ico">
<Grid>
<!-- Hintergrundbild -->
<Grid.Background>
<ImageBrush Source="avares://AquaCare.View/Ressourcen/Bilder/WillkommenHintergrund.png" Stretch="UniformToFill"/>
</Grid.Background>
<!-- VideoView -->
<vlc:VideoView Name="videoView"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
IsVisible="false"/>
<!-- Layout für die UI-Elemente -->
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!-- Überschrift -->
<TextBlock Text="Was kannst du nicht ?"
FontSize="24"
HorizontalAlignment="Center"
Margin="0,20,0,10"
Grid.Row="0" />
<!-- Inhalte mittig -->
<StackPanel Grid.Row="1"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Spacing="20">
<!-- Buttons für Tutorials -->
<Button Content="Fische füttern" Width="200" Height="50" Click="FischeFütternClick"/>
<Button Content="Wasser wechseln" Width="200" Height="50" Click="WasserWechselnClick"/>
<Button Content="Filter reinigen" Width="200" Height="50" Click="FilterReinigenClick"/>
<!-- Textblock für Tutorial-Inhalt -->
<TextBlock Name="tutorialContentTextBlock"
Text="Hier erscheint der Tutorial-Inhalt"
TextWrapping="Wrap"
MaxWidth="500"
Margin="0,20,0,0"
HorizontalAlignment="Center"/>
</StackPanel>
</Grid>
</Window>