Dateien nach "PenPaperMain" hochladen
This commit is contained in:
parent
68e56dce98
commit
84357ed360
80
PenPaperMain/KampangenDetails.xaml
Normal file
80
PenPaperMain/KampangenDetails.xaml
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
<Window x:Class="Pen_Paper_Main.KampangenDetails"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:local="clr-namespace:Pen_Paper_Main"
|
||||||
|
mc:Ignorable="d"
|
||||||
|
Title="KampangenDetails" Height="450" Width="800">
|
||||||
|
<Grid Background="LightBlue">
|
||||||
|
<StackPanel Margin="10">
|
||||||
|
<TextBlock Text="📂 Kampagne: Schatten über Aerion"
|
||||||
|
FontSize="20"
|
||||||
|
FontWeight="Bold"
|
||||||
|
Margin="0,0,0,10" />
|
||||||
|
|
||||||
|
<TabControl>
|
||||||
|
<TabItem Header="📝 Allgemein">
|
||||||
|
<StackPanel Margin="10" Height="300">
|
||||||
|
<TextBlock Text="Titel:" />
|
||||||
|
<TextBox Text="PlatzHalter" Foreground="LightGray" Margin="0,5,0,10" Height="50" />
|
||||||
|
|
||||||
|
<TextBlock Text="Beschreibung:" />
|
||||||
|
<TextBox Text="PlatzHalter" Foreground="LightGray"
|
||||||
|
AcceptsReturn="True"
|
||||||
|
Height="100" Margin="0,5,0,10" />
|
||||||
|
|
||||||
|
<Button Content="💾 Speichern" Width="150" HorizontalAlignment="Left" />
|
||||||
|
</StackPanel>
|
||||||
|
</TabItem>
|
||||||
|
|
||||||
|
<TabItem Header="🗺️ Karten">
|
||||||
|
<StackPanel Margin="10" Height="100">
|
||||||
|
<ItemsControl>
|
||||||
|
<ItemsControl.ItemTemplate>
|
||||||
|
<DataTemplate>
|
||||||
|
<DockPanel Margin="0,5">
|
||||||
|
<TextBlock DockPanel.Dock="Left" />
|
||||||
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
|
||||||
|
<Button Content="🔍 Ansehen" Margin="5,0"/>
|
||||||
|
<Button Content="🗑️ Entfernen" Margin="5,0"/>
|
||||||
|
</StackPanel>
|
||||||
|
</DockPanel>
|
||||||
|
</DataTemplate>
|
||||||
|
</ItemsControl.ItemTemplate>
|
||||||
|
</ItemsControl>
|
||||||
|
|
||||||
|
<Button Content="➕ Neue Karte hinzufügen" Margin="0,10,0,0" Width="200"/>
|
||||||
|
</StackPanel>
|
||||||
|
</TabItem>
|
||||||
|
|
||||||
|
<TabItem Header="🧙 Charaktere">
|
||||||
|
<StackPanel Margin="10" Height="100">
|
||||||
|
<ItemsControl>
|
||||||
|
<ItemsControl.ItemTemplate>
|
||||||
|
<DataTemplate>
|
||||||
|
<DockPanel Margin="0,5">
|
||||||
|
<TextBlock DockPanel.Dock="Left" />
|
||||||
|
<Button Content="🗑️ Entfernen" HorizontalAlignment="Right"/>
|
||||||
|
</DockPanel>
|
||||||
|
</DataTemplate>
|
||||||
|
</ItemsControl.ItemTemplate>
|
||||||
|
</ItemsControl>
|
||||||
|
|
||||||
|
<Button Content="➕ Charakter zuweisen" Margin="0,10,0,0" Width="200"/>
|
||||||
|
</StackPanel>
|
||||||
|
</TabItem>
|
||||||
|
|
||||||
|
<TabItem Header="📚 Notizen">
|
||||||
|
<StackPanel Margin="10">
|
||||||
|
<TextBox Text="Notizen" Foreground="LightGray"
|
||||||
|
AcceptsReturn="True"
|
||||||
|
Height="200"
|
||||||
|
TextWrapping="Wrap" />
|
||||||
|
<Button Content="💾 Notizen speichern" Margin="0,10,0,0" Width="200"/>
|
||||||
|
</StackPanel>
|
||||||
|
</TabItem>
|
||||||
|
</TabControl>
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
</Window>
|
27
PenPaperMain/KampangenDetails.xaml.cs
Normal file
27
PenPaperMain/KampangenDetails.xaml.cs
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
|
namespace Pen_Paper_Main
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Interaktionslogik für KampangenDetails.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class KampangenDetails : Window
|
||||||
|
{
|
||||||
|
public KampangenDetails()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
71
PenPaperMain/Lobby.xaml
Normal file
71
PenPaperMain/Lobby.xaml
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
<Window x:Class="Pen_Paper_Main.Lobby"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:local="clr-namespace:Pen_Paper_Main"
|
||||||
|
mc:Ignorable="d"
|
||||||
|
Title="Lobby" Height="450" Width="800">
|
||||||
|
<DockPanel Background="LightBlue" LastChildFill="True">
|
||||||
|
|
||||||
|
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,10">
|
||||||
|
<TextBox Text="SitzungsTitel:"
|
||||||
|
FontSize="20"
|
||||||
|
Width="200"
|
||||||
|
FontWeight="Bold"
|
||||||
|
Foreground="Gray"
|
||||||
|
Background="White"
|
||||||
|
Margin="10"
|
||||||
|
HorizontalContentAlignment="Center" />
|
||||||
|
|
||||||
|
<TextBox Text="BenutzerName:"
|
||||||
|
FontSize="20"
|
||||||
|
Width="200"
|
||||||
|
FontWeight="Bold"
|
||||||
|
Foreground="Gray"
|
||||||
|
Background="White"
|
||||||
|
Margin="10"
|
||||||
|
HorizontalContentAlignment="Center" />
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<Border Width="Auto" Padding="20" Background="White" CornerRadius="10"
|
||||||
|
VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,20">
|
||||||
|
|
||||||
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="Auto"/>
|
||||||
|
<RowDefinition Height="Auto"/>
|
||||||
|
<RowDefinition Height="Auto"/>
|
||||||
|
<RowDefinition Height="Auto"/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
<ColumnDefinition Width="*"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
|
<Button Grid.Row="0" Grid.Column="0" Content="Karte"
|
||||||
|
FontSize="15" FontWeight="Bold" Width="120" Height="40" Margin="10" />
|
||||||
|
|
||||||
|
<Button Grid.Row="0" Grid.Column="1" Content="Kampagne"
|
||||||
|
FontSize="15" FontWeight="Bold" Width="120" Height="40" Margin="10" />
|
||||||
|
|
||||||
|
<Button Grid.Row="1" Grid.Column="0" Content="Chat"
|
||||||
|
FontSize="15" FontWeight="Bold" Width="120" Height="40" Margin="10" />
|
||||||
|
|
||||||
|
<Button Grid.Row="1" Grid.Column="1" Content="Charakter" Click="Charaktere_Click"
|
||||||
|
FontSize="15" FontWeight="Bold" Width="120" Height="40" Margin="10" />
|
||||||
|
|
||||||
|
<Button Grid.Row="2" Grid.Column="0" Content="Einstellungen"
|
||||||
|
FontSize="15" FontWeight="Bold" Width="120" Height="40" Margin="10" />
|
||||||
|
|
||||||
|
<Button Grid.Row="2" Grid.Column="1" Content="Würfeln"
|
||||||
|
FontSize="15" FontWeight="Bold" Width="120" Height="40" Margin="10" />
|
||||||
|
|
||||||
|
<Button Grid.Row="3" Grid.ColumnSpan="2" Content="🚪 Sitzung Verlassen"
|
||||||
|
FontSize="15" FontWeight="Bold" Width="250" Height="35" Margin="10"
|
||||||
|
HorizontalAlignment="Center" />
|
||||||
|
</Grid>
|
||||||
|
</Border>
|
||||||
|
</DockPanel>
|
||||||
|
</Window>
|
34
PenPaperMain/Lobby.xaml.cs
Normal file
34
PenPaperMain/Lobby.xaml.cs
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
|
namespace Pen_Paper_Main
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Interaktionslogik für Lobby.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class Lobby : Window
|
||||||
|
{
|
||||||
|
public Lobby()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void Charaktere_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
var win = new CharakterListe();
|
||||||
|
win.ShowDialog();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
43
PenPaperMain/MainWindow.xaml
Normal file
43
PenPaperMain/MainWindow.xaml
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
<Window x:Class="Pen_Paper_Main.MainWindow"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:local="clr-namespace:Pen_Paper_Main"
|
||||||
|
mc:Ignorable="d"
|
||||||
|
Title="MainWindow" Height="450" Width="800">
|
||||||
|
<Grid Background="LightBlue">
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="Auto"/>
|
||||||
|
<RowDefinition Height="*"/>
|
||||||
|
<RowDefinition Height="Auto"/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
|
<TextBlock Text="Pen and Paper Manager"
|
||||||
|
FontSize="28"
|
||||||
|
FontWeight="Bold"
|
||||||
|
Foreground="#333"
|
||||||
|
Margin="0,30,0,10"
|
||||||
|
HorizontalAlignment="Center" />
|
||||||
|
|
||||||
|
<StackPanel Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center" Width="300" >
|
||||||
|
<TextBlock Text="Willkommen bei Pen and Paper!" FontSize="20" FontWeight="SemiBold" TextAlignment="Center"/>
|
||||||
|
|
||||||
|
<Button Content="Anmelden" Click="Anmelden_Click"
|
||||||
|
Height="40" Margin="10"/>
|
||||||
|
|
||||||
|
<Button Content="Registrieren" Click="Registrieren_Click"
|
||||||
|
Height="40" Margin="10"/>
|
||||||
|
|
||||||
|
<Button Content="Als Gast fortfahren"
|
||||||
|
Height="35" Margin="10"
|
||||||
|
Foreground="Gray"/>
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<TextBlock Grid.Row="2" Text="v1.0.0"
|
||||||
|
FontSize="15"
|
||||||
|
Foreground="Gray"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
Margin="0,10,0,10"/>
|
||||||
|
</Grid>
|
||||||
|
</Window>
|
Loading…
x
Reference in New Issue
Block a user