2005-09-15 09:58:31 -04:00
|
|
|
/* Common widget functions. */
|
|
|
|
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
#include "elinks.h"
|
|
|
|
|
|
|
|
#include "bfu/dialog.h"
|
|
|
|
#include "bfu/inphist.h"
|
|
|
|
#include "bfu/widget.h"
|
2021-08-08 15:25:08 -04:00
|
|
|
#include "intl/libintl.h"
|
2005-09-15 09:58:31 -04:00
|
|
|
#include "terminal/terminal.h"
|
|
|
|
#include "util/error.h"
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
display_widget(struct dialog_data *dlg_data, struct widget_data *widget_data)
|
|
|
|
{
|
|
|
|
if (widget_data->widget->ops->display)
|
|
|
|
widget_data->widget->ops->display(dlg_data, widget_data);
|
|
|
|
}
|