diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-06-08 15:30:36 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-06-08 15:30:36 (GMT) |
| commit | 3ea25c83b7dc039b23af2eeb4279a046fa0bf259 (patch) | |
| tree | 2e665e8b179bc44c266c0aa090384bd2ba93fd37 /includes | |
| parent | e94ed7bc113c42a3f8541aa6031f38ab6ddf8063 (diff) | |
| download | powder-3ea25c83b7dc039b23af2eeb4279a046fa0bf259.zip powder-3ea25c83b7dc039b23af2eeb4279a046fa0bf259.tar.gz | |
message_box and input for Lua API, also autorun.lua
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/interface.h | 2 | ||||
| -rw-r--r-- | includes/luaconsole.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/includes/interface.h b/includes/interface.h index df1f9e5..ad007b1 100644 --- a/includes/interface.h +++ b/includes/interface.h @@ -207,6 +207,8 @@ void copytext_ui(pixel *vid_buf, char *top, char *txt, char *copytxt); void info_box(pixel *vid_buf, char *msg); +char *input_ui(pixel *vid_buf, char *title, char *prompt, char *text, char *shadow); + int confirm_ui(pixel *vid_buf, char *top, char *msg, char *btn); void login_ui(pixel *vid_buf); diff --git a/includes/luaconsole.h b/includes/luaconsole.h index 1d956ea..723737d 100644 --- a/includes/luaconsole.h +++ b/includes/luaconsole.h @@ -37,4 +37,6 @@ int luatpt_set_shortcuts(lua_State* l); int luatpt_delete(lua_State* l); int luatpt_register_step(lua_State* l); int luatpt_unregister_step(lua_State* l); +int luatpt_input(lua_State* l); +int luatpt_message_box(lua_State* l); #endif |
