Added a new sensor type "Level" for wear or charge level (or any other percentage based sensors that don't fit into Load or Control).

This commit is contained in:
Michael Möller
2010-10-07 19:34:36 +00:00
parent 3e10baea63
commit d9ae399ad2
8 changed files with 31 additions and 8 deletions
+4
View File
@@ -76,6 +76,10 @@ namespace OpenHardwareMonitor.GUI {
this.Image = Utilities.EmbeddedResources.GetImage("control.png");
this.Text = "Controls";
break;
case SensorType.Level:
this.Image = Utilities.EmbeddedResources.GetImage("level.png");
this.Text = "Levels";
break;
}
NodeAdded += new NodeEventHandler(TypeNode_NodeAdded);