Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ref:uifc [2020/11/28 13:53] – Move the C implementation details under the C Interface section and remove mention of uifc.c. digital man | ref:uifc [2020/11/28 13:57] – [UIFC List Window Flags] remove aliases mlong | ||
---|---|---|---|
Line 70: | Line 70: | ||
==== UIFC List Window Flags ==== | ==== UIFC List Window Flags ==== | ||
- | ^ Flag ^ Description | + | ^ Flag ^ Description ^ |
- | | WIN_ORG | Original menu, destroy valid screen area | + | | WIN_ORG | Original menu, destroy valid screen area | |
- | | WIN_SAV | Save existing text and replace when finished (use with context object) | + | | WIN_SAV | Save existing text and replace when finished (use with context object) | |
- | |||| | + | |
- | | WIN_ACT | Menu remains active after a selection | Y | Y | | + | |
- | | WIN_INSACT | Remains active after insert key | Y | Y | | + | |
- | | WIN_DELACT | Remains active after delete key | Y | Y | | + | |
- | | WIN_CHE | Stay active after escape if changes | Y | Y | | + | |
- | | WIN_EXTKEYS | Return on any keypress. Return value is -2 - keyvalue | Y | Y | | + | |
- | | WIN_POP | Exit the list as though ESC was pressed. For use after WIN_EXTKEYS or WIN_DYN | Y | - | | + | |
- | | WIN_SEL | Exit the list as though ENTER was pressed. For use after WIN_EXTKEYS or WIN_DYN | Y | - | | + | |
- | | WIN_ESC | Screen is active when escape is hit | Y | Y | | + | |
- | | WIN_EDITACT | Remain active after edit key | - | Y | | + | |
|| | || | ||
- | | WIN_L2R | Center the window based on width | Y | Y | | + | | WIN_ACT | Menu remains active after a selection | |
- | | WIN_T2B | Center the window based on height | + | | WIN_INSACT | Remains active after insert key | |
- | | WIN_RHT | Place window against right side of screen | + | | WIN_DELACT | Remains active after delete key | |
- | | WIN_MID | Place window in middle of screen | + | | WIN_CHE | Stay active after escape if changes | |
- | | WIN_BOT | Place window against bottom of screen | + | | WIN_EXTKEYS | Return on any keypress. Return value is -2 - keyvalue | |
- | | WIN_FIXEDHEIGHT | Use light_height from uifc struct | + | | WIN_POP | Exit the list as though ESC was pressed. For use after WIN_EXTKEYS or WIN_DYN | |
- | | WIN_NOBRDR | Do not draw a border around the window | + | | WIN_SEL | Exit the list as though ENTER was pressed. For use after WIN_EXTKEYS or WIN_DYN | |
- | |||| | + | | WIN_ESC | Screen is active when escape is hit | |
- | | WIN_IMM | Draw window and return immediately | + | | WIN_EDITACT | Remain active after edit key | |
- | | WIN_INACT | Draw window inactive, intended for use with WIN_IMM | + | || |
- | |||| | + | | WIN_L2R | Center the window based on width | |
- | | WIN_DYN | Dynamic window, return at least every second | + | | WIN_T2B | Center the window based on height | |
- | | WIN_REDRAW | Force redraw on dynamic window | + | | WIN_RHT | Place window against right side of screen | |
- | | WIN_NODRAW | Force not to redraw on dynamic window | + | | WIN_MID | Place window in middle of screen | |
- | |||| | + | | WIN_BOT | Place window against bottom of screen | |
- | | WIN_INS | Allow user to use insert key | Y | Y | | + | | WIN_FIXEDHEIGHT | Use light_height from uifc struct | |
- | | WIN_DEL | Allows use to use delete key | Y | Y | | + | | WIN_NOBRDR | Do not draw a border around the window | |
- | | WIN_COPY | Allows F5 to Get/Copy a menu item | Y | Y | | + | ||| |
- | | WIN_PASTE | Allows F6 to Put/Paste a menu item | Y | Y | | + | | WIN_IMM | Draw window and return immediately | |
- | | WIN_XTR | Add extra line at end for inserting at end | Y | Y | | + | | WIN_INACT | Draw window inactive, intended for use with WIN_IMM | |
- | | WIN_CUT | Allow Ctrl-X/Cut a Menu Item | Y | Y | | + | ||| |
- | | WIN_EDIT | Allow F2 to edit a menu item | Y | Y | | + | | WIN_DYN | Dynamic window, return at least every second | |
- | | WIN_PASTEXTR | Allow paste into extra (blank) item | Y | - | | + | | WIN_REDRAW | Force redraw on dynamic window | |
- | | WIN_GET | Alias for WIN_COPY | Y | - | | + | | WIN_NODRAW | Force not to redraw on dynamic window | |
- | | WIN_PUT | Alias for WIN_PASTE | Y | - | | + | ||| |
- | |||| | + | | WIN_INS | Allow user to use insert key | |
- | | WIN_HLP | Parse Help Codes | Y | - | | + | | WIN_DEL | Allows use to use delete key | |
- | | WIN_PACK | Pack text in window (no padding) | + | | WIN_COPY | Allows F5 to Get/Copy a menu item | |
- | | WIN_FAT | Do not pad outside borders | + | | WIN_PASTE | Allows F6 to Put/Paste a menu item | |
- | | WIN_UNGETMOUSE | If the mouse is clicked outside window, put mouse even back into even queue | Y | Y | | + | | WIN_XTR | Add extra line at end for inserting at end | |
+ | | WIN_CUT | Allow Ctrl-X/Cut a Menu Item | | ||
+ | | WIN_EDIT | Allow F2 to edit a menu item | | ||
+ | | WIN_PASTEXTR | Allow paste into extra (blank) item | | ||
+ | ||| | ||
+ | | WIN_HLP | Parse Help Codes | | ||
+ | | WIN_PACK | Pack text in window (no padding) | | ||
+ | | WIN_FAT | Do not pad outside borders | | ||
+ | | WIN_UNGETMOUSE | If the mouse is clicked outside window, put mouse even back into even queue | | ||