diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-31 21:02:15 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-31 21:02:15 +0200 |
commit | 3d29a079da3f5b0f87295a49407318dc59dcef74 (patch) | |
tree | 4016de7b2b343fc562ad96dffac9b15a6a24e144 | |
parent | bfeb00ac6c606b083da18a113e0ddf4e18448e76 (diff) |
Updated Help
-rw-r--r-- | res/about/help.gmi | 27 | ||||
-rw-r--r-- | src/ui/bindingswidget.c | 1 |
2 files changed, 23 insertions, 5 deletions
diff --git a/res/about/help.gmi b/res/about/help.gmi index f27f8830..4abaabbc 100644 --- a/res/about/help.gmi +++ b/res/about/help.gmi | |||
@@ -35,6 +35,7 @@ Like Gemini, Lagrange has been designed with minimalism in mind. It depends on a | |||
35 | * Scaling page content (50%...200%) | 35 | * Scaling page content (50%...200%) |
36 | * Scaling factor for the UI (for arbitrary monitor DPI) | 36 | * Scaling factor for the UI (for arbitrary monitor DPI) |
37 | * Persistent app state — tabs and history are restored on next run | 37 | * Persistent app state — tabs and history are restored on next run |
38 | * Configurable keybindings | ||
38 | 39 | ||
39 | ## What is Gemini | 40 | ## What is Gemini |
40 | 41 | ||
@@ -171,7 +172,7 @@ The 🔃 button on the right side of the URL input field is the Reload/Stop butt | |||
171 | 172 | ||
172 | ## Customization | 173 | ## Customization |
173 | 174 | ||
174 | You can find a number of settings in Preferences to customize what the user interface and page contents look like. | 175 | You can find a number of settings in Preferences to customize the user interface and page contents. |
175 | 176 | ||
176 | ### Color themes | 177 | ### Color themes |
177 | 178 | ||
@@ -196,19 +197,33 @@ Page content color themes are selected on the "Colors" tab of Preferences. The " | |||
196 | 197 | ||
197 | ### Page style | 198 | ### Page style |
198 | 199 | ||
199 | Heading/body font. | 200 | The fonts for headings and other text are selected separately. This way one can achieve a greater number of style variations. Also, headings that are in a different font are more visually distinct and thus easier for one's eyes to scan. |
200 | 201 | ||
201 | There are two serif and two sans serif fonts. "Nunito" is a friendly rounded font. "Fira Sans" is bolder, narrower, and more angular. | 202 | There are two sans-serif and two serif fonts: |
202 | 203 | ||
203 | Line width: This setting determines the maximum width for text lines. "Window" disables the maximum limit and fits text lines to the full width of the window. Shorter lines are generally easier to read. | 204 | * "Nunito" is a friendly rounded sans-serif font. |
205 | * "Fira Sans" is a bolder, narrower, and more angular sans-serif font. | ||
206 | * "Literata" is a heavy and serious serif font. | ||
207 | * "EB Garamond" is a lighter and more decorative serif font. You may find it more readable on light backgrounds. | ||
204 | 208 | ||
209 | Other style options: | ||
210 | |||
211 | * Line width: This setting determines the maximum width for text lines. "Window" disables the maximum limit and fits text lines to the full width of the window. Shorter lines are generally easier to read. | ||
212 | * Quote indicator: Quoted text is shown in an italic font. Additionally, you can select between a quotation mark icon and the traditional vertical line along the left edge of the quote. | ||
205 | * Big 1st paragraph: When enabled, the leading paragraph on the page is shown in a slightly larger font. | 213 | * Big 1st paragraph: When enabled, the leading paragraph on the page is shown in a slightly larger font. |
206 | * Quote indicator | ||
207 | 214 | ||
208 | Options for wide window sizes: | 215 | Options for wide window sizes: |
209 | 216 | ||
210 | * Site icon: If there is room on the left side of the page text, the site icon appears there along with the top level heading. This allows one to keep better track of the current reading position in long documents. | 217 | * Site icon: If there is room on the left side of the page text, the site icon appears there along with the top level heading. This allows one to keep better track of the current reading position in long documents. |
211 | 218 | ||
219 | ### Bindings | ||
220 | |||
221 | The Bindings tab lets you change which keys are bound to UI commands. Currently only basic page scrolling keybindings are available. | ||
222 | |||
223 | Click on an item with the mouse and then press the new key combination that you want bound to it. | ||
224 | |||
225 | To reset all bindings to their defaults, quit Lagrange and delete the "bindings.txt" file in Lagrange's runtime directory. This is a platform-dependent location; see below for more information (under "Runtime files"). | ||
226 | |||
212 | # OS integration | 227 | # OS integration |
213 | 228 | ||
214 | ## Command line options | 229 | ## Command line options |
@@ -245,6 +260,7 @@ Lagrange stores user-specific persistent files in one of the following locations | |||
245 | Other Unix : ~/.config/lagrange/ | 260 | Other Unix : ~/.config/lagrange/ |
246 | ``` | 261 | ``` |
247 | 262 | ||
263 | * bindings.txt | ||
248 | * bookmarks.txt | 264 | * bookmarks.txt |
249 | * idents.binary and idents/ | 265 | * idents.binary and idents/ |
250 | * prefs.cfg | 266 | * prefs.cfg |
@@ -253,4 +269,5 @@ Other Unix : ~/.config/lagrange/ | |||
253 | * visited.txt | 269 | * visited.txt |
254 | 270 | ||
255 | # Open source licenses | 271 | # Open source licenses |
272 | |||
256 | => about:license | 273 | => about:license |
diff --git a/src/ui/bindingswidget.c b/src/ui/bindingswidget.c index 4ce6ea4d..82763416 100644 --- a/src/ui/bindingswidget.c +++ b/src/ui/bindingswidget.c | |||
@@ -107,6 +107,7 @@ void init_BindingsWidget(iBindingsWidget *d) { | |||
107 | d->activePos = iInvalidPos; | 107 | d->activePos = iInvalidPos; |
108 | d->list = new_ListWidget(); | 108 | d->list = new_ListWidget(); |
109 | setItemHeight_ListWidget(d->list, lineHeight_Text(uiLabel_FontId) * 1.5f); | 109 | setItemHeight_ListWidget(d->list, lineHeight_Text(uiLabel_FontId) * 1.5f); |
110 | setPadding_Widget(as_Widget(d->list), 0, gap_UI, 0, gap_UI); | ||
110 | addChild_Widget(w, iClob(d->list)); | 111 | addChild_Widget(w, iClob(d->list)); |
111 | updateItems_BindingsWidget_(d); | 112 | updateItems_BindingsWidget_(d); |
112 | } | 113 | } |