From 65b5d9c1abaea7e8bfbc5d70d78a56af4be75c1a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 30 Apr 2011 19:12:54 +0200 Subject: Initial support for in-image warning display (closes #43) --- src/winwidget.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/winwidget.c') diff --git a/src/winwidget.c b/src/winwidget.c index 047deb7..4481c94 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -55,6 +55,7 @@ static winwidget winwidget_allocate(void) ret->im = NULL; ret->name = NULL; ret->file = NULL; + ret->errstr = NULL; ret->type = WIN_TYPE_UNSET; ret->visible = 0; ret->caption_entry = 0; @@ -552,6 +553,8 @@ void winwidget_render_image(winwidget winwid, int resize, int force_alias) feh_draw_actions(winwid); if (opt.info_cmd) feh_draw_info(winwid); + if (winwid->errstr) + feh_draw_errstr(winwid); } else if ((opt.mode == MODE_ZOOM) && !antialias) feh_draw_zoom(winwid); -- cgit v1.2.3