Cleanup: rename uiBut.dt, uiBlock.dt to 'emboss'

Use 'emboss' instead of 'draw_type' as enum, layout & functions use
the term emboss.

This issue was noted by @Poulpator in D8414, as `dt` is also an
abbreviation for delta-time.
This commit is contained in:
2020-07-29 12:05:27 +10:00
parent a3c6304a27
commit 7a07683060
7 changed files with 30 additions and 30 deletions

View File

@@ -233,8 +233,8 @@ struct uiBut {
const char *disabled_info;
BIFIconID icon;
/** drawtype: UI_EMBOSS, UI_EMBOSS_NONE ... etc, copied from the block */
char dt;
/** emboss: UI_EMBOSS, UI_EMBOSS_NONE ... etc, copied from the #uiBlock.emboss */
char emboss;
/** direction in a pie menu, used for collision detection (RadialDirection) */
signed char pie_dir;
/** could be made into a single flag */
@@ -405,8 +405,8 @@ struct uiBlock {
char direction;
/** UI_BLOCK_THEME_STYLE_* */
char theme_style;
/** drawtype: UI_EMBOSS, UI_EMBOSS_NONE ... etc, copied to buttons */
char dt;
/** UI_EMBOSS, UI_EMBOSS_NONE ... etc, copied to #uiBut.emboss */
char emboss;
bool auto_open;
char _pad[5];
double auto_open_last;