This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via ea54d1823b32741eebb6465568654e8d1bcd4354 (commit) from 1db276a11bc1bca52f361c7e9f7e4cf2933353d6 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/ea54d1823b32741eebb6465568654e8d1bcd4...
commit ea54d1823b32741eebb6465568654e8d1bcd4354 Author: Cyril Hrubis metan@ucw.cz Date: Tue May 14 23:31:21 2013 +0200
spiv: Update help and keys help.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/demos/spiv/spiv.c b/demos/spiv/spiv.c index f16be8c..93dd301 100644 --- a/demos/spiv/spiv.c +++ b/demos/spiv/spiv.c @@ -709,9 +709,24 @@ static void init_caches(struct loader_params *params) static const char *keys_help[] = { "Keyboard control:", "", + "Esc, Enter, Q - quit spiv", + "", + "< KP Minus - zoom out by 1.5", + ">, KP Plus - zoom in by 1.5", + "R - rotate by 90 degrees clockwise", + "Up, Down, Left, Right - move image by 1px", + " (by 10 with Shift)", + "", + "Space - move to the next image", + "BackSpace - move to the prev image", + "PgDown - move to the start of directory", + "PgUp - move to the end of directory", + "Home - move to the first image", + "End - move to the last image", + "", "I - toggle show info box", "P - toggle show progress", - "R - rotate by 90 degrees", + "", "] - change to next resampling method", "[ - change to prev resampling method", " (current method is shown in info box)", @@ -719,17 +734,6 @@ static const char *keys_help[] = { "D - drop image cache", "H - toggle help", "", - "Esc", - "Enter", - "Q - quit spiv", - "", - "PgDown - move 10 images forward", - "PgUp - move 10 images backward", - "", - "Space - move to the next image", - "", - "BckSpc - move to the prev image", - "", "1 - resize spiv window to the image size", "2 - resize spiv window to the half of the image size", "3 - resize spiv window to the third of the image size", @@ -757,6 +761,8 @@ static void print_help(void) printf("-e pixel_typentturns on backend type emulationn"); printf("tfor example -e G1 sets 1-bit grayscalenn"); printf("-r anglentrotate display 90,180 or 270 degreesnn"); + printf("-z sets zoom modent-zf zoom is set and modified by usern"); + printf("t-zw zoom is fixed to window size (currently default)nn"); printf("-bntpass backend init string to backend initn"); printf("tpass -b help for more infonn");
@@ -783,7 +789,7 @@ static void show_help(void) GP_Fill(c, black_pixel);
for (i = 0; i < keys_help_len; i++) { - GP_Print(c, NULL, 20, i * 15, GP_ALIGN_RIGHT|GP_VALIGN_BOTTOM, + GP_Print(c, NULL, 20, 2 + i * 15, GP_ALIGN_RIGHT|GP_VALIGN_BOTTOM, white_pixel, black_pixel, "%s", keys_help[i]); }
-----------------------------------------------------------------------
Summary of changes: demos/spiv/spiv.c | 32 +++++++++++++++++++------------- 1 files changed, 19 insertions(+), 13 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.