Mercurial > geeqie
diff src/main.c @ 218:f4a0555794a9
Customizable info overlay in fullscreen, based on the patch posted to gqview-devel list by Timo on 2007-09-10.
author | zas_ |
---|---|
date | Mon, 31 Mar 2008 22:10:25 +0000 |
parents | c0e9aac4c7bf |
children | 41fc4bfc8b25 |
line wrap: on
line diff
--- a/src/main.c Mon Mar 31 21:09:36 2008 +0000 +++ b/src/main.c Mon Mar 31 22:10:25 2008 +0000 @@ -18,6 +18,7 @@ #include "dnd.h" #include "editors.h" #include "filelist.h" +#include "image-overlay.h" #include "img-view.h" #include "layout.h" #include "layout_image.h" @@ -1134,6 +1135,11 @@ color_profile_input_name[i] = NULL; } + fullscreen_info = g_strdup("%collection%(%number%/%total%) <b>%name%</b>\n" + "%res%|%date%|%size%\n" + "%fAperture%|%fShutterSpeed%|%fISOSpeedRating%|%fFocalLength%|%fExposureBias%\n" + "%fCamera%|%fFlash%"); + sidecar_ext_add_defaults(); } @@ -1155,6 +1161,7 @@ layout_geometry_get(NULL, &main_window_x, &main_window_y, &main_window_w, &main_window_h); } + show_fullscreen_info = image_osd_get(lw->image, NULL, NULL); } layout_geometry_get_dividers(NULL, &window_hdivider_pos, &window_vdivider_pos); @@ -1418,6 +1425,7 @@ collection_get_first(first_collection)); } } + image_osd_set(lw->image, FALSE, show_fullscreen_info); g_free(geometry); g_free(cmd_path);