From c944e97699057b79c9dd881a03d82ff27e30cc40 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Tue, 24 Nov 2020 13:15:22 -0700 Subject: [PATCH] Add to menu --- .../luciano_blocktronics/mb_export_dl_queue.ans | Bin 0 -> 249 bytes core/fse.js | 4 ++-- misc/menu_templates/message_base.in.hjson | 13 +++++++++---- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 art/themes/luciano_blocktronics/mb_export_dl_queue.ans diff --git a/art/themes/luciano_blocktronics/mb_export_dl_queue.ans b/art/themes/luciano_blocktronics/mb_export_dl_queue.ans new file mode 100644 index 0000000000000000000000000000000000000000..c02f2ec71099c7677417e96449bb7612319dd7d2 GIT binary patch literal 249 zcmb1+Hn27^ur@Z&<>Hc#HncW2$W;IW>1YrQ6|l0h0tr|fo8{)F78fU`rz&J57AqvB zrsgT6RutqHm87O9B<7_k6yzi(1DTn53YGb#ML^xT3Mu*Jc{%xsDGG(9simpX(IE4I y=5a{{JBB*D8W?~qqY^MOFfuSSG%~4XU|?Wm3}9de(m){W>Ex>r=I#jL!ASrFj56;4 literal 0 HcmV?d00001 diff --git a/core/fse.js b/core/fse.js index 1a08f133..ba278a01 100644 --- a/core/fse.js +++ b/core/fse.js @@ -988,8 +988,8 @@ exports.FullScreenEditorModule = exports.getModule = class FullScreenEditorModul }); }, (callback) => { - const artSpec = this.menuConfig.config.art.dlQueueAdd || - Buffer.from('Exported message added to download queue'); + const artSpec = this.menuConfig.config.art.expToDlQueue || + Buffer.from('Exported message has been added to your download queue!'); this.displayAsset( artSpec, { clearScreen : true }, diff --git a/misc/menu_templates/message_base.in.hjson b/misc/menu_templates/message_base.in.hjson index 51bf4a19..c302a57b 100644 --- a/misc/menu_templates/message_base.in.hjson +++ b/misc/menu_templates/message_base.in.hjson @@ -477,10 +477,11 @@ module: msg_area_view_fse config: { art: { - header: MSGVHDR - body: MSGBODY + header: MSGVHDR + body: MSGBODY footerView: MSGVFTR - help: MSGVHLP + help: MSGVHLP + expToDlQueue: mb_export_dl_queue }, editorMode: view editorType: area @@ -525,7 +526,7 @@ mci: { HM1: { // :TODO: (#)Jump/(L)Index (msg list)/Last - items: [ "prev", "next", "reply", "quit", "help" ] + items: [ "prev", "next", "reply", "quit", "download", "help" ] focusItemIndex: 1 } } @@ -552,6 +553,10 @@ } { value: { 1: 4 } + action: @method:addToDownloadQueue + } + { + value: { 1: 5 } action: @method:viewModeMenuHelp } ]