Cleanup: Correct comments about uiBut a1 and a2
This commit is contained in:
@@ -197,13 +197,11 @@ struct uiBut {
|
||||
* For #uiBut.type:
|
||||
* - UI_BTYPE_LABEL: Use `(a1 == 1.0f)` to use a2 as a blending factor (imaginative!).
|
||||
* - UI_BTYPE_SCROLL: Use as scroll size.
|
||||
* - UI_BTYPE_SEPR_LINE: 1.0 = vertical
|
||||
*/
|
||||
float a1 = 0;
|
||||
|
||||
/**
|
||||
* For #uiBut.type:
|
||||
* - UI_BTYPE_HSVCIRCLE: Use to store the luminosity.
|
||||
* - UI_BTYPE_LABEL: If `(a1 == 1.0f)` use a2 as a blending factor.
|
||||
*/
|
||||
float a2 = 0;
|
||||
|
||||
Reference in New Issue
Block a user