diff options
author | Julian Eisel <julian@blender.org> | 2021-12-09 14:07:34 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-12-09 14:35:15 +0300 |
commit | 69f55b1b6216969ecd42fab657dd777c3179f916 (patch) | |
tree | 6efed9d8d23f082f61ca3366d106aa4ffdb2aa07 /source/blender/editors/include/UI_interface.h | |
parent | 9183f9f8602aac82aae5319d5a9e75bc830b3fa7 (diff) |
Cleanup: Various cleanups to the tree-view API
* Correct URL for documentation (was changed recently).
* Add comments.
* Reevaluate and update which functions are public, protected or
private.
* Reorder functions and classes to be more logical and readable.
* Add helper class for the public item API so individual functions it
uses can be made protected/private (the helper class is a friend).
Also allows splitting API implementation from the C-API.
* Move internal layout builder helper class to the source file, out of
the header.
* More consistent naming.
* Add alias for item-container, so it's more clear how it can be used.
* Use const.
* Remove unnecessary forward declaration.
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index e29e0d3b150..10548e9b48d 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -3286,7 +3286,7 @@ char *UI_tree_view_item_drop_tooltip(const uiTreeViewItemHandle *item, const str * \return True if the drop was handled by the tree-view item. */ bool UI_tree_view_item_drop_handle(struct bContext *C, - uiTreeViewItemHandle *item_, + const uiTreeViewItemHandle *item_, const struct ListBase *drags); /** * Can \a item_handle be renamed right now? Not that this isn't just a mere wrapper around |