Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-04-14 11:46:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-04-14 11:50:28 +0300
commite6d9d5dcc18f3ab55c31abc6bfb2010081538422 (patch)
tree99c6315d9612d81f4b9c34a72674bb702f64ceda /source/blender/editors/include
parent571646ebc175877225c26a3dcf8869691cf70ba7 (diff)
UI: improve menu search with dimmed menu prefix
- Show dimmed text for the menu entries leading up to the menu item. - Show icons between the menu text and menu item. - Use unicode right pointing triangle instead of arrow.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/UI_interface.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h
index 1133f9e72c4..774cf8c509f 100644
--- a/source/blender/editors/include/UI_interface.h
+++ b/source/blender/editors/include/UI_interface.h
@@ -49,6 +49,7 @@ struct PanelType;
struct PointerRNA;
struct PropertyRNA;
struct ReportList;
+struct ResultBLF;
struct ScrArea;
struct bContext;
struct bContextStore;
@@ -1576,6 +1577,7 @@ void UI_but_func_search_set(uiBut *but,
void *arg,
uiButSearchArgFreeFunc search_arg_free_func,
uiButHandleFunc bfunc,
+ const char *search_sep_string,
void *active);
/* height in pixels, it's using hardcoded values still */
int UI_searchbox_size_y(void);
@@ -2416,7 +2418,8 @@ void UI_fontstyle_draw_ex(const struct uiFontStyle *fs,
const struct uiFontStyleDraw_Params *fs_params,
size_t len,
int *r_xofs,
- int *r_yofs);
+ int *r_yofs,
+ struct ResultBLF *r_info);
void UI_fontstyle_draw(const struct uiFontStyle *fs,
const struct rcti *rect,
const char *str,