-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLoading.cs
39 lines (31 loc) · 884 Bytes
/
Loading.cs
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
using Jyunrcaea.MusicSelector;
using JyunrcaeaFramework;
namespace Jyunrcaea
{
public class Loading : Group
{
Box dark;
Text MusicName;
Text Artist;
Text mapper;
public Loading(BitmapInfo bitmapInfo)
{
dark = new(Window.Width, Window.Height, new(100, 100, 100, 100));
dark.RelativeSize = false;
MusicName = new(bitmapInfo.name, 24,Color.White);
Artist = new(bitmapInfo.artist, 20, Color.White);
mapper = new(bitmapInfo.mapper, 16, Color.White);
this.Objects.AddRange(
dark,
MusicName,
Artist,
mapper
);
}
public override void Resize()
{
base.Resize();
dark.Size = new(Window.Width, Window.Height);
}
}
}