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:
authorHans Goudey <h.goudey@me.com>2020-12-19 19:07:13 +0300
committerHans Goudey <h.goudey@me.com>2020-12-19 19:07:20 +0300
commit09be4a0917fbdb391341a6bfcc1e918fb75d0fd2 (patch)
treec2d9ed3accc9f92281752fc98a725c32cb1cbb5d /source/blender/editors/interface/interface.c
parenta5a302bd18061e833c4d629fffd06f57e7447d39 (diff)
Cleanup: Use typedef for UI emboss type enum
Previously both `char` and `int` were used to represent this enum. Differential Revision: https://developer.blender.org/D9903
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r--source/blender/editors/interface/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 26fd75cc74c..7713efd1c78 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -3478,7 +3478,7 @@ void UI_block_region_set(uiBlock *block, ARegion *region)
block->oldblock = oldblock;
}
-uiBlock *UI_block_begin(const bContext *C, ARegion *region, const char *name, char emboss)
+uiBlock *UI_block_begin(const bContext *C, ARegion *region, const char *name, eUIEmbossType emboss)
{
wmWindow *window = CTX_wm_window(C);
Scene *scene = CTX_data_scene(C);
@@ -3529,7 +3529,7 @@ char UI_block_emboss_get(uiBlock *block)
return block->emboss;
}
-void UI_block_emboss_set(uiBlock *block, char emboss)
+void UI_block_emboss_set(uiBlock *block, eUIEmbossType emboss)
{
block->emboss = emboss;
}