-
Notifications
You must be signed in to change notification settings - Fork 2
/
MainWindow.xaml
77 lines (68 loc) · 2.73 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<Window x:Class="WorldImageMerger.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:WorldImageMerger"
mc:Ignorable="d"
Title="World Image" Width="720" Height="256">
<Grid Margin="10">
<StackPanel>
<!-- CHOOSE -->
<StackPanel Orientation="Horizontal">
<Button
x:Name = "ButtonPickPath"
Width="100"
Cursor="Hand">
Choose
</Button>
<Label>Project Path</Label>
</StackPanel>
<!-- PATH -->
<Label x:Name = "LabelChosenPath"> </Label>
<!-- World NAME -->
<StackPanel Orientation="Horizontal">
<ComboBox
x:Name="ComboBoxWorldIdentifier"
Width="256"
ItemsSource="{Binding WorldIdentifierOptions}"
SelectedItem="{Binding WorldIdentifier, Mode=TwoWay}"
>
</ComboBox>
<Label>World</Label>
</StackPanel>
<!-- World's Depth options -->
<StackPanel Orientation="Horizontal">
<ComboBox
x:Name="ComboBoxWorldDepth"
Width="256"
ItemsSource="{Binding WorldDepthOptions}"
SelectedItem="{Binding WorldDepth, Mode=TwoWay}"
>
</ComboBox>
<Label>Depth</Label>
</StackPanel>
<Label x:Name = "LabelWritePath"> </Label>
<!-- Build -->
<StackPanel Orientation="Horizontal">
<Button
x:Name = "ButtonGenerate"
Width="100"
Cursor="Hand">
Generate
</Button>
</StackPanel>
<!--Loading BAR-->
<ProgressBar Name="LoadingBar" Height="10" Width = "256" HorizontalAlignment="Left" Margin="0, 3, 0, 3"></ProgressBar>
<!-- SAVE -->
<StackPanel Orientation="Horizontal">
<Button
x:Name = "ButtonOpenFolderPath"
Width="100"
Cursor="Hand">
Open Folder
</Button>
</StackPanel>
</StackPanel>
</Grid>
</Window>