README update

modified:   README.md
This commit is contained in:
Brian Barto 2016-09-18 13:51:34 -04:00
parent 4101110c31
commit 9aa3f374b5
1 changed files with 6 additions and 6 deletions

View File

@ -129,17 +129,17 @@ typedef struct {
Assign values to the structure members as needed.
**char *src** Pointer to the string of characters on which to perform the effect.
**char *src** - Pointer to the string of characters on which to perform the effect.
**char *foreground_color** Pointer to a string containing the desired foreground color: white, yellow, black, magenta, blue, green, red.
**char *foreground_color** - Pointer to a string containing the desired foreground color: white, yellow, black, magenta, blue, green, red.
**char *return_opts** String pointer containing only the character options that the user must choose from once the `src` characters are revealed. For example, if you are showing a menu with six options, this string might be "123456". The user will have to choose one of these characters before execution is handed back to the calling function. Note that the character selected is returned by `nms_exec()`.
**char *return_opts** - String pointer containing only the character options that the user must choose from once the `src` characters are revealed. For example, if you are showing a menu with six options, this string might be "123456". The user will have to choose one of these characters before execution is handed back to the calling function. Note that the character selected is returned by `nms_exec()`.
**int input_cursor_x, input_cursor_y** If your menu has a specific location that you'd like to place the cursor for user input, use these to set the x and y screen coordinates for the position.
**int input_cursor_x, input_cursor_y** - If your menu has a specific location that you'd like to place the cursor for user input, use these to set the x and y screen coordinates for the position.
**bool show_cursor** Set to `true` if you want the cursor to be visible during the text decryption effect. It is set to `false` by default.
**bool show_cursor** - Set to `true` if you want the cursor to be visible during the text decryption effect. It is set to `false` by default.
**bool auto_decrypt** Set to `true` to automatically start the decryption effect, eliminating the need for the user to press a key to start it.
**bool auto_decrypt** - Set to `true` to automatically start the decryption effect, eliminating the need for the user to press a key to start it.
Once you set the structure members as desired, simply pass a pointer to the structure to the nms_exec() function: