summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-04-20 00:45:51 +0100
committerRobin Watts <robin.watts@artifex.com>2012-04-20 00:45:51 +0100
commit02ab09361553c5dbdd1dad5cb61980bc47fb8faf (patch)
tree102d3495f1f438046a7a1bb03040e19be5d60207
parent4b6a1a260468728f545f67771da0d624bf3a8aad (diff)
downloadmupdf-02ab09361553c5dbdd1dad5cb61980bc47fb8faf.tar.xz
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.
-rw-r--r--apps/pdfapp.c8
-rw-r--r--apps/win_res.rc6
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 "<copyright>", 2, 10, 10, 180, 20, 0
- LTEXT "<usage>", 3, 10, 35, 180, 160, 0
+ LTEXT "<usage>", 3, 10, 35, 180, 240, 0
END