Cleanup: Use enum for UI block emboss type
This commit is contained in:
parent
f3ec0d8e58
commit
61afbf55f1
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue