screen.attachWidget("Spoutcraft", message);
//top += 47;
}
RadioButton button;
button = (RadioButton) new FavorPerformanceButton("Favor Performance", message).setGroup(1).setAlign(WidgetAnchor.TOP_CENTER);
button.setWidth(150).setHeight(20).setX(left).setY(top);
button.setTooltip("Spoutcraft will attempt to provide smooth framerates, potentially at the cost of appearance.");
screen.attachWidget("Spoutcraft", button);
button.setSelected(Configuration.isAutomatePerformance() && Configuration.getAutomateMode() == 0);
button = (RadioButton) new OptimalGameplayButton("Balanced Gameplay", message).setGroup(1).setAlign(WidgetAnchor.TOP_CENTER);
button.setWidth(150).setHeight(20).setX(right).setY(top);
button.setTooltip("Spoutcraft will attempt to provide reasonable framerates and appearance.");
screen.attachWidget("Spoutcraft", button);
button.setSelected(Configuration.isAutomatePerformance() && Configuration.getAutomateMode() == 1);
top += 22;
button = (RadioButton) new FavorAppearanceButton("Favor Appearance", message).setGroup(1).setAlign(WidgetAnchor.TOP_CENTER);
button.setWidth(150).setHeight(20).setX(left).setY(top);
button.setTooltip("Spoutcraft will attempt to provide the best appearance, but potentially at the cost of framerates.");
screen.attachWidget("Spoutcraft", button);
button.setSelected(Configuration.isAutomatePerformance() && Configuration.getAutomateMode() == 2);
button = (RadioButton) new ManualSelectionButton("Manual Selection", message, parent).setGroup(1).setAlign(WidgetAnchor.TOP_CENTER);
button.setWidth(150).setHeight(20).setX(right).setY(top);
button.setTooltip("Disable automatic performance settings and adjust the settings manually.");
screen.attachWidget("Spoutcraft", button);
button.setSelected(!Configuration.isAutomatePerformance());
top += 22;
linebreak = new GenericGradient();
linebreak.setBottomColor(grey);