changeset 823:ed82f5bf8082

Add a comment about relative positions of image overlay in the rc file.
author zas_
date Thu, 12 Jun 2008 21:21:32 +0000
parents df541dc41707
children 4a913f093f56
files src/rcfile.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);