Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
b4c97d46
Commit
b4c97d46
authored
1 year ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Document all the parameters to and return value of uifc.input()
parent
13b61182
No related branches found
No related tags found
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Pipeline
#4849
passed
1 year ago
Stage: build
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sbbs3/js_uifc.c
+9
-1
9 additions, 1 deletion
src/sbbs3/js_uifc.c
with
9 additions
and
1 deletion
src/sbbs3/js_uifc.c
+
9
−
1
View file @
b4c97d46
...
...
@@ -1140,7 +1140,15 @@ static jsSyncMethodSpec js_functions[] = {
,
314
},
{
"input"
,
js_uifc_input
,
0
,
JSTYPE_STRING
,
JSDOCSTR
(
"[number mode] [,number left] [,number top] [,string prompt] [,string default] [,number maxlen [,number kmode]]"
)
,
JSDOCSTR
(
"Prompt for a string input"
)
,
JSDOCSTR
(
"Prompt for a string input.<br>"
"<tt>mode</tt> is an optional combination of <tt>WIN_</tt> mode flags from <tt>uifcdefs.js</tt>.<br>"
"<tt>left</tt> and <tt>top</tt> are optional window offsets to display the input dialog box.<br>"
"<tt>prompt</tt> is an optional text string to display as part of the string input dialog box.<br>"
"<tt>default</tt> is an optional original text string that the user can edit (requires the <tt>K_EDIT kmode</tt> flag).<br>"
"<tt>maxlen</tt> is an optional maximium input string length (default is 40 characters).<br>"
"<tt>kmode</tt> is an optional combination of <tt>K_</tt> mode flags from either <tt>sbbsdefs.js</tt> or <tt>uifcdefs.js</tt>.<br>"
"Return value is the new/edited string or <tt>undefined</tt> if editing was aborted (e.g. via ESC key)."
)
,
314
},
{
"list"
,
js_uifc_list
,
0
,
JSTYPE_NUMBER
,
JSDOCSTR
(
"[number mode,] string title, array options [,uifc.list.CTX object]"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment