diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-01-01 10:04:06 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-01-01 10:04:06 +0200 |
commit | 5d247c7fafddcb46d83572af788a04f835d48d42 (patch) | |
tree | 54205ac18a8c47cb50ef2d3ed7a42077512abfca /src/defs.h | |
parent | 6b3d31a3043d99890355c42dd3248411fd571347 (diff) |
Mobile: User-configurable phone toolbar buttons
Actions for the first two mobile portrait phone toolbar buttons can be chosen in Settings.
Diffstat (limited to 'src/defs.h')
-rw-r--r-- | src/defs.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -66,6 +66,23 @@ enum iReturnKeyFlag { | |||
66 | accept_ReturnKeyFlag = 4, /* shift */ | 66 | accept_ReturnKeyFlag = 4, /* shift */ |
67 | }; | 67 | }; |
68 | 68 | ||
69 | enum iToolbarAction { | ||
70 | back_ToolbarAction = 0, | ||
71 | forward_ToolbarAction = 1, | ||
72 | home_ToolbarAction = 2, | ||
73 | parent_ToolbarAction = 3, | ||
74 | reload_ToolbarAction = 4, | ||
75 | newTab_ToolbarAction = 5, | ||
76 | closeTab_ToolbarAction = 6, | ||
77 | addBookmark_ToolbarAction = 7, | ||
78 | translate_ToolbarAction = 8, | ||
79 | upload_ToolbarAction = 9, | ||
80 | editPage_ToolbarAction = 10, | ||
81 | findText_ToolbarAction = 11, | ||
82 | settings_ToolbarAction = 12, | ||
83 | max_ToolbarAction | ||
84 | }; | ||
85 | |||
69 | /* Return key behavior is not handled via normal bindings because only certain combinations | 86 | /* Return key behavior is not handled via normal bindings because only certain combinations |
70 | are valid. */ | 87 | are valid. */ |
71 | enum iReturnKeyBehavior { | 88 | enum iReturnKeyBehavior { |