Cleanup: Use enum for UI block emboss type

This commit is contained in:
Hans Goudey 2021-07-05 14:52:21 -05:00
parent f3ec0d8e58
commit 61afbf55f1
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;
}