# HG changeset patch # User zas_ # Date 1213305692 0 # Node ID ed82f5bf8082b16a2af27b668b5016c965fe59f4 # Parent df541dc41707af7da9164689aeaf352ad9041538 Add a comment about relative positions of image overlay in the rc file. diff -r df541dc41707 -r ed82f5bf8082 src/rcfile.c --- a/src/rcfile.c Thu Jun 12 20:33:51 2008 +0000 +++ b/src/rcfile.c Thu Jun 12 21:21:32 2008 +0000 @@ -491,6 +491,13 @@ WRITE_UINT(image_overlay.common.state); WRITE_BOOL(image_overlay.common.show_at_startup); WRITE_CHAR(image_overlay.common.template_string); + WRITE_SEPARATOR(); + + secure_fprintf(ssi, "# these are relative positions:\n"); + secure_fprintf(ssi, "# x >= 0: |x| pixels from left border\n"); + secure_fprintf(ssi, "# x < 0 : |x| pixels from right border\n"); + secure_fprintf(ssi, "# y >= 0: |y| pixels from top border\n"); + secure_fprintf(ssi, "# y < 0 : |y| pixels from bottom border\n"); WRITE_INT(image_overlay.common.x); WRITE_INT(image_overlay.common.y);