diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2018-03-29 18:21:02 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2018-03-29 18:21:02 +0300 |
commit | b3ef5a04d153c9b3b6af3a3c12cc62e2b99ad9e4 (patch) | |
tree | 0f933eaa68080f9ea000a195c27bbe3d00b50708 /source/blender/editors | |
parent | 973eeff2eade2cef392ac56a08030d02620861c8 (diff) |
Cleanup: Use uppercase UI_ prefix for external functions
Using uppercase prefixes is our convention for external functions.
"External" as in functions exposed to the outside of interface/ directory.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 4 | ||||
-rw-r--r-- | source/blender/editors/interface/interface_widgets.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 2a0181876c7..eba3be327dd 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -1169,7 +1169,7 @@ void UI_tooltip_free(struct bContext *C, struct bScreen *sc, struct ARegion *ar) int UI_calc_float_precision(int prec, double value); /* UI Batches managment */ -void ui_widget_batch_preset_reset(void); -void ui_widget_batch_preset_exit(void); +void UI_widget_batch_preset_reset(void); +void UI_widget_batch_preset_exit(void); #endif /* __UI_INTERFACE_H__ */ diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index 60feaa74c01..7c0fa271607 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -327,14 +327,14 @@ static Gwn_Batch *ui_batch_roundbox_get(void) #undef EMBOSS #undef NO_AA -void ui_widget_batch_preset_reset(void) +void UI_widget_batch_preset_reset(void) { if (g_ui_batch_cache.roundbox) { gwn_batch_vao_cache_clear(g_ui_batch_cache.roundbox); } } -void ui_widget_batch_preset_exit(void) +void UI_widget_batch_preset_exit(void) { GWN_BATCH_DISCARD_SAFE(g_ui_batch_cache.roundbox); } |