Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
ec0aefd7
Commit
ec0aefd7
authored
May 08, 2020
by
rswindell
Browse files
Mousify the dynamic menus (using mouse hot spots).
parent
fc5bc299
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
exec/text_sec.js
exec/text_sec.js
+4
-1
exec/xtrn_sec.js
exec/xtrn_sec.js
+1
-0
No files found.
exec/text_sec.js
View file @
ec0aefd7
...
...
@@ -66,6 +66,7 @@ while(bbs.online) {
console
.
print
(
bbs
.
text
(
TextSectionLstHdr
));
for
(
var
i
=
0
;
i
<
usrsec
.
length
;
i
++
)
{
if
(
i
<
9
)
console
.
print
(
'
'
);
console
.
add_hotspot
(
i
+
1
);
console
.
print
(
format
(
bbs
.
text
(
TextSectionLstFmt
),
i
+
1
,
usrsec
[
i
].
name
));
}
}
...
...
@@ -83,8 +84,10 @@ while(bbs.online) {
bbs
.
menu
(
menu
);
else
{
console
.
print
(
format
(
bbs
.
text
(
TextFilesLstHdr
),
usrsec
[
cursec
].
name
));
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
)
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
)
{
console
.
add_hotspot
(
i
+
1
);
console
.
print
(
format
(
bbs
.
text
(
TextFilesLstFmt
),
i
+
1
,
list
[
i
].
desc
+
"
\r\n
"
));
}
}
bbs
.
nodesync
();
var
keys
=
"
Q?
"
;
...
...
exec/xtrn_sec.js
View file @
ec0aefd7
...
...
@@ -158,6 +158,7 @@ function external_program_menu(xsec)
n
=
prog_list
.
length
;
for
(
i
=
0
;
i
<
n
&&
!
console
.
aborted
;
i
++
)
{
console
.
add_hotspot
(
i
+
1
);
printf
(
multicolumn
?
options
.
multicolumn_fmt
:
options
.
singlecolumn_fmt
,
i
+
1
,
prog_list
[
i
].
name
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment