mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
显示设置功能
This commit is contained in:
parent
d67c591e00
commit
7639a4b55a
@ -12,7 +12,7 @@
|
|||||||
VerticalAlignment="Bottom" Padding="10" Margin="5" CornerRadius="5">
|
VerticalAlignment="Bottom" Padding="10" Margin="5" CornerRadius="5">
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<Label Content="虚拟桌宠名字:" Foreground="{DynamicResource PrimaryText}" HorizontalAlignment="Left" Padding="0"
|
<Label Content="虚拟桌宠名字:" Foreground="{DynamicResource PrimaryText}" HorizontalAlignment="Left" Padding="0"
|
||||||
FontWeight="Bold" Margin="0,0,0,6" FontSize="22" />
|
FontWeight="Bold" Margin="0,0,0,6" FontSize="22" Background="{x:Null}" />
|
||||||
<TextBlock Text="我说话长这样,这是我说的话巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉" TextWrapping="WrapWithOverflow" FontSize="16" />
|
<TextBlock Text="我说话长这样,这是我说的话巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉" TextWrapping="WrapWithOverflow" FontSize="16" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Border>
|
</Border>
|
||||||
|
@ -70,7 +70,7 @@ namespace VPet_Simulator.Core
|
|||||||
|
|
||||||
private void MenuSetting_Click(object sender, RoutedEventArgs e)
|
private void MenuSetting_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
|
m.Core.Controller.ShowSetting();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -47,6 +47,9 @@ namespace VPet_Simulator.Core
|
|||||||
/// 缩放比例
|
/// 缩放比例
|
||||||
/// </summary>
|
/// </summary>
|
||||||
double ZoomRatio { get; }
|
double ZoomRatio { get; }
|
||||||
|
/// <summary>
|
||||||
|
/// 显示设置窗体
|
||||||
|
/// </summary>
|
||||||
|
void ShowSetting();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -49,6 +49,12 @@ namespace VPet_Simulator.Windows
|
|||||||
mw.Top += Y * ZoomRatio;
|
mw.Top += Y * ZoomRatio;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void ShowSetting()
|
||||||
|
{//TODO
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
public double ZoomRatio => 0.5;
|
public double ZoomRatio => 0.5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user