diff options
author | Hans Goudey <h.goudey@me.com> | 2021-07-05 22:52:21 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-07-05 22:52:21 +0300 |
commit | 61afbf55f1b12bf0b173175eb0fa097d6a8d33cd (patch) | |
tree | 7eaadffee5b4e4422590747e8a13a049c017b98f /source | |
parent | f3ec0d8e58595ef5fae3e2e9c541150db3bd3f1e (diff) |
Cleanup: Use enum for UI block emboss type
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 | ||||
-rw-r--r-- | source/blender/editors/interface/interface.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 7a8c14d0a35..61daaa7d375 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -663,7 +663,7 @@ enum { UI_BLOCK_THEME_STYLE_POPUP = 1, }; void UI_block_theme_style_set(uiBlock *block, char theme_style); -char UI_block_emboss_get(uiBlock *block); +eUIEmbossType UI_block_emboss_get(uiBlock *block); void UI_block_emboss_set(uiBlock *block, eUIEmbossType emboss); bool UI_block_is_search_only(const uiBlock *block); void UI_block_set_search_only(uiBlock *block, bool search_only); diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index e9784a59d70..d3b74c91e86 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -3542,7 +3542,7 @@ uiBlock *UI_block_begin(const bContext *C, ARegion *region, const char *name, eU return block; } -char UI_block_emboss_get(uiBlock *block) +eUIEmbossType UI_block_emboss_get(uiBlock *block) { return block->emboss; } |