21
edits
Changes
→int io_displayflag(..........)
<big>int io_displayflag(const char *format, int row, int col, int status);</big>
Allows the user to display a checkbox at row and col on the screen. Depending on the value of status; being zero or non-zero, the checkbox will be checked or unchecked respectively.
The checkbox will be always shown using 3 characters; two surrounding characters and one character in the middle as the checkmark. If the status argument is zero, then the checkmark will be replaced with space. The 3 characters and held in “format” array; format[0] and format[2] are surrounding characters and format[1] is the check-mark.
After the checkbox is displayed, the cursor is always place under the checkmark (in centre).
====int io_flag(..........)====
<big>int io_flag(const char *format, int row, int col, int* status, int radio);</big>