diff options
author | Julian Eisel <julian@blender.org> | 2022-07-19 19:00:56 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-07-19 19:04:03 +0300 |
commit | 16b145bc628d277228f5211a9dc076e516c443fb (patch) | |
tree | 9914de2f7519589b751a6107e9ccf05bab03dd8d /source/blender/editors/include | |
parent | fb9dc810f17c463496381bbc9fba3b96c6437ce0 (diff) |
Cleanup: Improve API and documentation of interface_view.cc
File documentation was outdated and could use general improvement.
Function names didn't really reflect the level they are operating on.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 99a1d038cca..a8d25b75036 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -3230,9 +3230,9 @@ bool UI_view_item_drop_handle(struct bContext *C, /** * \param xy: Coordinate to find a view item at, in window space. */ -uiViewItemHandle *UI_block_view_find_item_at(const struct ARegion *region, const int xy[2]) +uiViewItemHandle *UI_region_views_find_item_at(const struct ARegion *region, const int xy[2]) ATTR_NONNULL(); -uiViewItemHandle *UI_block_view_find_active_item(const struct ARegion *region); +uiViewItemHandle *UI_region_views_find_active_item(const struct ARegion *region); #ifdef __cplusplus } |