diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2015-04-26 18:17:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-26 18:35:24 +0300 |
commit | cf366c8b6686bae79aeccbdecdbef2472ff77923 (patch) | |
tree | 4178d6ca1f99a937e8df91bc82f320f9689c51a7 /source/blender/editors/include | |
parent | 5efbd2a4076af7de8d4c9256ff8f6aacbfa6b49f (diff) |
UI: 'View Online Manual' Shortcut
D1031, implement proposal T37478 to give easy access to the online manual.
Use Alt+F1 while hovering over a button/setting.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 66b946811ea..1e0cc972ef8 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -483,6 +483,14 @@ bool UI_but_active_only(const struct bContext *C, struct ARegion *ar, uiBlock void UI_but_execute(const struct bContext *C, uiBut *but); +bool UI_but_online_manual_id( + const uiBut *but, + char *r_str, size_t maxlength) + ATTR_WARN_UNUSED_RESULT; +bool UI_but_online_manual_id_from_active( + const struct bContext *C, + char *r_str, size_t maxlength) + ATTR_WARN_UNUSED_RESULT; /* Buttons * |