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
7f14892d
Commit
7f14892d
authored
21 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Added getstrxy() to API, added WIN_IMM, WIN_FAT, and K_SCANNING mode bits.
Some cleanups.
parent
147781f1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/uifc/uifc.h
+7
-0
7 additions, 0 deletions
src/uifc/uifc.h
src/uifc/uifc32.c
+160
-144
160 additions, 144 deletions
src/uifc/uifc32.c
with
167 additions
and
144 deletions
src/uifc/uifc.h
+
7
−
0
View file @
7f14892d
...
...
@@ -174,6 +174,8 @@
#define WIN_DYN (1<<16)
/* Dynamic window - return at least every second */
#define WIN_HLP (1<<17)
/* Parse 'Help codes' */
#define WIN_PACK (1<<18)
/* Pack text in window (No padding) */
#define WIN_IMM (1<<19)
/* Draw window and return immediately */
#define WIN_FAT (1<<20)
/* Do not pad outside borders */
#define WIN_MID WIN_L2R|WIN_T2B
/* Place window in middle of screen */
...
...
@@ -193,6 +195,7 @@
#define K_CHAT (1L<<8)
/* In chat multi-chat */
#define K_NOCRLF (1L<<9)
/* Don't print CRLF after string input */
#define K_ALPHA (1L<<10)
/* Only allow alphabetic characters */
#define K_SCANNING (1L<<11)
/* UPC Scanner is active... abort on '%' */
#define HELPBUF_SIZE 4000
...
...
@@ -365,6 +368,10 @@ typedef struct {
/****************************************************************************/
void
(
*
timedisplay
)(
void
);
/****************************************************************************/
/* String input/exit box at a specified position */
/****************************************************************************/
int
(
*
getstrxy
)(
int
left
,
int
top
,
char
*
outstr
,
int
max
,
long
mode
);
}
uifcapi_t
;
/****************************************************************************/
...
...
This diff is collapsed.
Click to expand it.
src/uifc/uifc32.c
+
160
−
144
View file @
7f14892d
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