From 02ab09361553c5dbdd1dad5cb61980bc47fb8faf Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 20 Apr 2012 00:45:51 +0100 Subject: Update usage string, and About box. Add missing options to MuPDF usage string. Ensure windows 'About MuPDF' box is large enough to fit the whole of the usage string in. --- apps/pdfapp.c | 8 ++++++-- apps/win_res.rc | 6 +++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/apps/pdfapp.c b/apps/pdfapp.c index 8fca5713..e00f04b2 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -53,8 +53,9 @@ char *pdfapp_usage(pdfapp_t *app) "W\t\t-- zoom to fit window width\n" "H\t\t-- zoom to fit window height\n" "w\t\t-- shrinkwrap\n" + "f\t\t-- fullscreen\n" "r\t\t-- reload file\n" - ". pgdn right space\t-- next page\n" + ". pgdn right spc\t-- next page\n" ", pgup left b\t-- previous page\n" ">\t\t-- next 10 pages\n" "<\t\t-- back 10 pages\n" @@ -62,12 +63,15 @@ char *pdfapp_usage(pdfapp_t *app) "t\t\t-- pop back to latest mark\n" "1m\t\t-- mark page in register 1\n" "1t\t\t-- go to page in register 1\n" + "G\t\t-- go to last page\n" "123g\t\t-- go to page 123\n" - "/\t\t-- search for text\n" + "/\t\t-- search forwards for text\n" + "?\t\t-- search backwards for text\n" "n\t\t-- find next search result\n" "N\t\t-- find previous search result\n" "c\t\t-- toggle between color and grayscale\n" "i\t\t-- toggle inverted color mode\n" + "q\t\t-- quit\n" ; } diff --git a/apps/win_res.rc b/apps/win_res.rc index f87de7d0..0efd1411 100644 --- a/apps/win_res.rc +++ b/apps/win_res.rc @@ -49,13 +49,13 @@ BEGIN LTEXT "", 0x27, 60, 125, 100, 10, 0 END -IDD_DLOGABOUT DIALOG 50, 50, 200, 220 +IDD_DLOGABOUT DIALOG 50, 50, 200, 300 STYLE 128 | 0x80000000 CAPTION " About MuPDF " FONT 8, "MS Shell Dlg" BEGIN - DEFPUSHBUTTON "Okay", 1, 200-10-50, 220-7-14, 50, 14, 0x50010001 + DEFPUSHBUTTON "Okay", 1, 200-10-50, 300-7-14, 50, 14, 0x50010001 LTEXT "", 2, 10, 10, 180, 20, 0 - LTEXT "", 3, 10, 35, 180, 160, 0 + LTEXT "", 3, 10, 35, 180, 240, 0 END -- cgit v1.2.3