var self = this;
var infoView = "ProjectInfo";
+ self.init = function() {
+ window.MenuInterface.setNightMode(View.getNightMode());
+ };
+
self.start = function() {
History.visit('');
};
History.addBookmark(name);
};
+ self.toggleNightMode = function() {
+ View.toggleNightMode();
+ window.MenuInterface.setNightMode(View.getNightMode());
+ };
+
self.setInfoButton = function(view, label, enabled) {
self.infoView = view;
window.MenuInterface.setInfoButton(label, enabled);