Skip to content

Commit

Permalink
Add a comment about relative positions of image overlay in the rc file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Monin committed Jun 12, 2008
1 parent 943be3f commit 11a07eb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/rcfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,13 @@ static gboolean save_options_to(const gchar *utf8_path, ConfOptions *options)
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);

Expand Down

0 comments on commit 11a07eb

Please sign in to comment.