diff --git a/mods/art/demo_fse.ans b/mods/art/demo_fse.ans new file mode 100644 index 00000000..ae013b3d Binary files /dev/null and b/mods/art/demo_fse.ans differ diff --git a/mods/message_editor.js b/mods/fse.js similarity index 68% rename from mods/message_editor.js rename to mods/fse.js index edbd6adb..fe9ac239 100644 --- a/mods/message_editor.js +++ b/mods/fse.js @@ -7,22 +7,21 @@ var async = require('async'); var assert = require('assert'); var _ = require('lodash'); -// :TODO: rename to fse.js & FullScreenEditor - -exports.getModule = MessageEditorModule; +exports.getModule = FullScreenEditorModule; exports.moduleInfo = { - name : 'Message Editor', - desc : 'A module for editing messages', + name : 'Full Screen Editor (FSE)', + desc : 'A full screen editor/viewer', author : 'NuSkooler', }; -function MessageEditorModule(options) { +function FullScreenEditorModule(options) { MenuModule.call(this, options); var self = this; var args = options.menuConfig.args; + /* this.initSequence = function() { async.waterfall( [ @@ -48,11 +47,12 @@ function MessageEditorModule(options) { ] ); }; + */ } -require('util').inherits(MessageEditorModule, MenuModule); +require('util').inherits(FullScreenEditorModule, MenuModule); -MessageEditorModule.prototype.enter = function(client) { - MessageEditorModule.super_.prototype.enter.call(this, client); +FullScreenEditorModule.prototype.enter = function(client) { + FullScreenEditorModule.super_.prototype.enter.call(this, client); }; diff --git a/mods/menu.json b/mods/menu.json index 7ac658f3..638c532e 100644 --- a/mods/menu.json +++ b/mods/menu.json @@ -215,7 +215,7 @@ "Vertical Menu Views", "Horizontal Menu Views", "Art Display", - "Message Editor", + "Full Screen Editor", "Some More Stuff", "Other" ], @@ -249,7 +249,7 @@ }, { "value" : { "1" : 7 }, - "action" : "@menu:demoMessageEditor" + "action" : "@menu:demoFullScreenEditor" } ] } @@ -430,8 +430,9 @@ "art" : "WE-CIZB.ANS", "options" : { "cls" : true } }, - "demoMessageEditor" : { - "module" : "message_editor", + "demoFullScreenEditor" : { + "module" : "fse", + "art" : "demo_fse.ans", "options" : { "cls" : true }, "args" : { "art" : {