WKLib 0.2.3
A modding library for White Knuckle
Loading...
Searching...
No Matches
ChangeLogWindow.cs
Go to the documentation of this file.
1using Imui.Controls;
2using Imui.Core;
4
6
7internal class ChangeLogWindow
8{
9 public static bool isOpen = false;
10
11 public static void Draw(ImGui gui, bool isRootPanelOpen)
12 {
13 if (!isRootPanelOpen)
14 return;
15
16 if (!gui.BeginWindow("WKLib changelog", ref isOpen, new ImSize(500, 400), ImWindowFlag.None))
17 return;
18
19 gui.Separator("Versions");
20
21 if (gui.BeginTreeNode("Version 0.3.0"))
22 {
23 gui.Text("+ Rework Input system to work with more keys");
24 gui.Text("- Remove old config system and adapted BepInEx config system");
25 gui.Text("- Remove config window, now found in Mod List");
26 gui.EndTreeNode();
27 }
28
29 if (gui.BeginTreeNode("Version 0.2.3"))
30 {
31 gui.Text("+ Change config system default saving folder location, dont use WKLib as the default");
32 gui.Text("+ Fix configs not saving as jsons");
33 gui.EndTreeNode();
34 }
35
36 if (gui.BeginTreeNode("Version 0.2.2"))
37 {
38 gui.Text("+ Fix plugin object being deleted");
39 gui.Text("+ Fix error on scene loaded");
40 gui.EndTreeNode();
41 }
42
43 if (gui.BeginTreeNode("Version 0.2.1"))
44 {
45 gui.Text("+ Change config system saving and loading");
46 gui.EndTreeNode();
47 }
48
49 if (gui.BeginTreeNode("Version 0.2.0"))
50 {
51 gui.Text("+ Added ChangeLog window");
52 gui.Text("+ Updated AssetService");
53 gui.Text("+ Added Overlay button on main menu and pause menu");
54 gui.EndTreeNode();
55 }
56
57 if (gui.BeginTreeNode("Version 0.1.0"))
58 {
59 gui.Text("+ Reworked UI and Config API");
60 gui.EndTreeNode();
61 }
62
63 gui.EndWindow();
64 }
65}