forked from AerysBat/XNALara
-
Notifications
You must be signed in to change notification settings - Fork 2
/
LoadSceneDialog.cs
47 lines (37 loc) · 1.05 KB
/
LoadSceneDialog.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
40
41
42
43
44
45
46
47
using System;
using System.Windows.Forms;
namespace XNALara
{
public partial class LoadSceneDialog : Form
{
private Game game;
public LoadSceneDialog(Game game) {
this.game = game;
InitializeComponent();
}
public bool ClearScene {
get { return checkBoxClearScene.Checked; }
}
public bool LoadScene {
get { return checkBoxScene.Checked; }
}
public bool LoadCamera {
get { return checkBoxCamera.Checked; }
}
public bool LoadLights {
get { return checkBoxLights.Checked; }
}
public bool LoadPostProcess {
get { return checkBoxPostProcess.Checked; }
}
public bool LoadWindowSize {
get { return checkBoxWindowSize.Checked; }
}
protected override void OnActivated(EventArgs e) {
game.HasFocus = false;
}
protected override void OnDeactivate(EventArgs e) {
game.HasFocus = true;
}
}
}