Added documenation update

This commit is contained in:
Anthony Sterling 2016-05-02 20:13:15 +01:00
parent 469a24b85d
commit 62db60a1d9
1 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,7 @@ typedef struct {
int input_cursor_y;
bool show_cursor;
bool auto_decrypt;
int foreground_color;
} NmsArgs;
```
* `char *src`
@ -149,6 +150,8 @@ Useful for displaying menus:
* 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.
* `int foreground_color`
* Use this to assign a default (ncurses) color to the foreground
Assign values to the structure members as needed. Then simply pass a pointer to the structure to the
nms_exec() function: