From 4101110c31ca9546fb7b3bfae174ee29fd368f7a Mon Sep 17 00:00:00 2001 From: Brian Barto Date: Sun, 18 Sep 2016 13:50:17 -0400 Subject: [PATCH] README update modified: README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 2adc9f7..da89cd3 100644 --- a/README.md +++ b/README.md @@ -130,10 +130,15 @@ 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 *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()`. + **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 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: