Remove misleading comment in ~/.glivrc.
[gliv.git] / src / help_text.c
blob2749d2a87a9bee3a686c6a07534a9c7a90fc114f
1 /* Generated by help2c.awk */
2 #include "gliv.h"
3 #include "help_text.h"
4 #include "messages.h"
6 /* Forward declaration. */
7 static gchar **get_sized_array(void);
9 gchar **get_help_lines(void)
11 gchar **array, **ptr;
13 ptr = array = get_sized_array();
15 *ptr++ = _("ESC, q : Quit");
16 *ptr++ = "\n";
18 *ptr++ = _("f : Full-screen/window");
19 *ptr++ = "\n";
21 *ptr++ = _("+/=/- : Zoom in/in/out");
22 *ptr++ = "\n";
24 *ptr++ = _("n/p : Next/previous image");
25 *ptr++ = "\n";
27 *ptr++ = _("l : Reduce the image to the window");
28 *ptr++ = "\n";
30 *ptr++ = _("M : Maximize the image to the window");
31 *ptr++ = "\n";
33 *ptr++ = _("m : Make the image fit the window");
34 *ptr++ = "\n";
36 *ptr++ = _("r : Reset position and size");
37 *ptr++ = "\n";
39 *ptr++ = _("b : Toggle display of the menu bar");
40 *ptr++ = "\n";
42 *ptr++ = _("i : Toggle display of the info bar");
43 *ptr++ = "\n";
45 *ptr++ = _("s : Toggle display of the scrollbars");
46 *ptr++ = "\n";
48 *ptr++ = _("a : Toggle display of the alpha checks");
49 *ptr++ = "\n";
51 *ptr++ = _("h : Toggle display of the help box");
52 *ptr++ = "\n";
54 *ptr++ = _("o : Display the open dialog");
55 *ptr++ = "\n";
57 *ptr++ = _("t : Display the options dialog");
58 *ptr++ = "\n";
60 *ptr++ = _("d : Hide the cursor");
61 *ptr++ = "\n";
63 *ptr++ = _("u : Undo");
64 *ptr++ = "\n";
66 *ptr++ = _("y : Redo");
67 *ptr++ = "\n";
69 *ptr++ = _("c : Clear the history");
70 *ptr++ = "\n";
72 *ptr++ = _("x : Delete the current file");
73 *ptr++ = "\n";
75 *ptr++ = _("C-up : Rotate by +45 degrees");
76 *ptr++ = "\n";
78 *ptr++ = _("C-down : Rotate by -45 degrees");
79 *ptr++ = "\n";
81 *ptr++ = _("C-left : Rotate by +0.1 degree");
82 *ptr++ = "\n";
84 *ptr++ = _("C-right: Rotate by -0.1 degree");
85 *ptr++ = "\n";
87 *ptr++ = _("z : Horizontal flip");
88 *ptr++ = "\n";
90 *ptr++ = _("e : Vertical flip");
91 *ptr++ = "\n";
93 *ptr++ = "\n";
95 *ptr++ = _("The first mouse button and the arrow keys will move the image unless the Control key is pressed. In which case the image will be rotated around the window center.");
96 *ptr++ = "\n\n";
98 *ptr++ = _("Your mouse wheel (if supported) will zoom the image and switch it when you press the button.");
99 *ptr++ = "\n\n";
101 *ptr++ = _("You can also zoom by dragging the mouse vertically while holding Shift and the first button.");
102 *ptr++ = "\n\n";
104 *ptr++ = _("Space and Backspace act like n and p.");
105 *ptr++ = "\n\n";
107 *ptr++ = _("Draw a rectangle with the third button and gliv will zoom in it.");
108 *ptr++ = "\n\n";
110 *--ptr = NULL;
112 return array;
115 static gchar **get_sized_array(void)
117 return g_new(gchar *, 63);