Refactor: UI: Add uiLayout use_property_decorate methods
This replaces uiLayout use_property_decorate API with uiLayout methods, following uiLayout refactors and the Python API naming. Pull Request: https://projects.blender.org/blender/blender/pulls/140887
This commit is contained in:
committed by
Hans Goudey
parent
b2f8f1c1c5
commit
e300d44e69
@@ -198,6 +198,13 @@ struct uiLayout : uiItem {
|
||||
*/
|
||||
void use_property_split_set(bool value);
|
||||
|
||||
bool use_property_decorate() const;
|
||||
/**
|
||||
* Sets when to add an extra button to insert keyframes next to new property buttons added in the
|
||||
* layout.
|
||||
*/
|
||||
void use_property_decorate_set(bool is_sep);
|
||||
|
||||
int width() const;
|
||||
|
||||
/** Sub-layout items. */
|
||||
@@ -665,9 +672,7 @@ void UI_menutype_draw(bContext *C, MenuType *mt, uiLayout *layout);
|
||||
*/
|
||||
void UI_paneltype_draw(bContext *C, PanelType *pt, uiLayout *layout);
|
||||
|
||||
void uiLayoutSetPropDecorate(uiLayout *layout, bool is_sep);
|
||||
int uiLayoutGetLocalDir(const uiLayout *layout);
|
||||
bool uiLayoutGetPropDecorate(uiLayout *layout);
|
||||
|
||||
int uiLayoutListItemPaddingWidth();
|
||||
void uiLayoutListItemAddPadding(uiLayout *layout);
|
||||
|
||||
Reference in New Issue
Block a user