Skip to content

Commit 0f8f5dc

Browse files
committed
GUI adjustments
1 parent 932d3b8 commit 0f8f5dc

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

Source/ModuleManagerWatchDog/GUI/FatalError.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This is a Show Stopper problem. Your best line of action is to click the OK butt
3030
3131
If you choose to ignore this message and click Cancel to proceed, be advised that your savegames can get corrupted at any time, even when things appear to work by now - and the salvage can be harder.
3232
33-
Backup everything *NOW* if you choose to ignore this message and proceed - it's recommended to use S.A.V.E. to automate this task for you.";
33+
Backup everything *NOW* if you choose to ignore this message and proceed.";
3434

3535
public static void Show(string errorMessage)
3636
{

Source/WatchDogInstallChecker/GUI/Abstract.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You should have received a copy of the SKL Standard License 1.0
1818

1919
namespace KSPe.Common.Dialogs
2020
{
21-
public class AbstractDialog
21+
internal class AbstractDialog
2222
{
2323

2424
private static Texture2D windowTex = null;

Source/WatchDogInstallChecker/GUI/FatalError.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You should have received a copy of the SKL Standard License 1.0
2020

2121
namespace KSPe.Common.Dialogs
2222
{
23-
public class ShowStopperAlertBox : AbstractDialog
23+
internal class ShowStopperAlertBox : AbstractDialog
2424
{
2525
private static readonly string aMSG = "close KSP and then fix the problem described above";
2626

@@ -30,14 +30,14 @@ This is a Show Stopper problem. Your best line of action is to click the OK butt
3030
3131
If you choose to ignore this message and click Cancel to proceed, be advised that your savegames can get corrupted at any time, even when things appear to work by now - and the salvage can be harder.
3232
33-
Backup everything *NOW* if you choose to ignore this message and proceed - it's recommended to use S.A.V.E. to automate this task for you.";
33+
Backup everything *NOW* if you choose to ignore this message and proceed.";
3434

35-
public static void Show(string errorMessage)
35+
internal static void Show(string errorMessage)
3636
{
3737
Show(errorMessage, aMSG, Application.Quit);
3838
}
3939

40-
public static void Show(string errorMessage, string actionMessage, Action lambda)
40+
internal static void Show(string errorMessage, string actionMessage, Action lambda)
4141
{
4242
GameObject go = new GameObject("KSPe.Common.Diallgs.ShowStopperAlertBox");
4343
MessageBox dlg = go.AddComponent<MessageBox>();

Source/WatchDogInstallChecker/GUI/MessageBox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You should have received a copy of the SKL Standard License 1.0
2020

2121
namespace KSPe.UI
2222
{
23-
public class MessageBox : MonoBehaviour
23+
internal class MessageBox : MonoBehaviour
2424
{
2525
private string title;
2626
private string msg;

Source/WatchDogInstallChecker/GUI/ShowRebootTheGame.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ internal static void Show(string msg)
3030
() => { Application.Quit(); },
3131
true
3232
);
33-
Log.detail("\"Your Attention Please!\" was displayed about : {0}", msg.Replace("\n"," "));
33+
Log.force("\"Your Attention Please!\" was displayed about : {0}", msg.Replace("\n"," "));
3434
}
3535
}
3636
}

Source/WatchDogInstallChecker/GUI/ShowStopperAlertBox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ internal static void Show(string msg)
2929
AMSG,
3030
() => { Application.OpenURL("https://ksp.lisias.net/add-ons/ModuleManager/WatchDog/KNOWN_ISSUES"); Application.Quit(); }
3131
);
32-
Log.detail("\"Houston, we have a Problem!\" was displayed about : {0}", msg);
32+
Log.force("\"Houston, we have a Problem!\" was displayed about : {0}", msg);
3333
}
3434
}
3535
}

Source/WatchDogInstallChecker/GUI/WarningAlertbox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You should have received a copy of the SKL Standard License 1.0
2020

2121
namespace KSPe.Common.Dialogs
2222
{
23-
public class WarningAlertBox : AbstractDialog
23+
internal class WarningAlertBox : AbstractDialog
2424
{
2525
private static readonly string aMSG = "close KSP and then fix the problem described above";
2626

0 commit comments

Comments
 (0)