More formatting changes
modified: README.md
This commit is contained in:
parent
95b86556d4
commit
53715bf7f6
@ -106,16 +106,16 @@ typedef struct {
|
|||||||
} NmsArgs;
|
} NmsArgs;
|
||||||
```
|
```
|
||||||
* `char *src`
|
* `char *src`
|
||||||
Pointer to the string of characters on which to perform the effect.
|
* Pointer to the string of characters on which to perform the effect.
|
||||||
|
|
||||||
Useful for displaying menus:
|
Useful for displaying menus:
|
||||||
|
|
||||||
* `char *return_opts`
|
* `char *return_opts`
|
||||||
String pointer containg 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()`;
|
* String pointer containg 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` and `int input_cursor_y`
|
* `int input_cursor_x` and `int 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 corrdinates for the position.
|
* 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 corrdinates for the position.
|
||||||
* `bool show_cursor`
|
* `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.
|
* Set to `true` if you want the cursor to be visible during the text decryption effect. It is set to `false` by default.
|
||||||
|
|
||||||
Assign values to the structure members as needed. Then simply pass a pointer to the structure to the
|
Assign values to the structure members as needed. Then simply pass a pointer to the structure to the
|
||||||
nms_exec() function:
|
nms_exec() function:
|
||||||
|
Loading…
Reference in New Issue
Block a user