mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[msgbox] enum msgbox_flags -> unsigned int
This commit is contained in:
parent
4837d4eb92
commit
3d1ea9ea24
@ -22,7 +22,7 @@
|
||||
|
||||
|
||||
struct dialog_data *
|
||||
msg_box(struct terminal *term, struct memory_list *ml, enum msgbox_flags flags,
|
||||
msg_box(struct terminal *term, struct memory_list *ml, /*enum msgbox_flags*/ unsigned int flags,
|
||||
char *title, enum format_align align,
|
||||
char *text, void *udata, int buttons, ...)
|
||||
{
|
||||
@ -155,7 +155,7 @@ refresh_msg_box(struct dialog_data *dlg_data, void *data)
|
||||
}
|
||||
|
||||
void
|
||||
refreshed_msg_box(struct terminal *term, enum msgbox_flags flags,
|
||||
refreshed_msg_box(struct terminal *term, /*enum msgbox_flags*/ unsigned int flags,
|
||||
char *title, enum format_align align,
|
||||
char *(get_info)(struct terminal *, void *),
|
||||
void *data)
|
||||
@ -182,7 +182,7 @@ refreshed_msg_box(struct terminal *term, enum msgbox_flags flags,
|
||||
}
|
||||
|
||||
struct dialog_data *
|
||||
info_box(struct terminal *term, enum msgbox_flags flags,
|
||||
info_box(struct terminal *term, /*enum msgbox_flags*/ unsigned int flags,
|
||||
char *title, enum format_align align,
|
||||
char *text)
|
||||
{
|
||||
|
@ -94,7 +94,7 @@ enum msgbox_flags {
|
||||
* ...no matter that it could fit on one line in case of a tiny message box. */
|
||||
struct dialog_data *
|
||||
msg_box(struct terminal *term, struct memory_list *mem_list,
|
||||
enum msgbox_flags flags, char *title, enum format_align align,
|
||||
/*enum msgbox_flags*/ unsigned int flags, char *title, enum format_align align,
|
||||
char *text, void *udata, int buttons, ...);
|
||||
|
||||
/* Cast @value to @type and warn if the conversion is suspicious.
|
||||
@ -127,13 +127,13 @@ char *msg_text(struct terminal *term, const char *format, ...);
|
||||
* message box is updated using the get_info() function. If get_info() returns
|
||||
* NULL the message box is closed. */
|
||||
void
|
||||
refreshed_msg_box(struct terminal *term, enum msgbox_flags flags,
|
||||
refreshed_msg_box(struct terminal *term, /*enum msgbox_flags*/ unsigned int flags,
|
||||
char *title, enum format_align align,
|
||||
char *(get_info)(struct terminal *, void *),
|
||||
void *data);
|
||||
|
||||
struct dialog_data *
|
||||
info_box(struct terminal *term, enum msgbox_flags flags,
|
||||
info_box(struct terminal *term, /*enum msgbox_flags*/ unsigned int flags,
|
||||
char *title, enum format_align align,
|
||||
char *text);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user