|
Blender V5.0
|
Public Attributes | |
| uiBut * | but |
| ButAlign * | neighbors [4] |
| std::array< float *, 4 > | borders |
| blender::float4 | dists |
| blender::char4 | flags |
This struct stores a (simplified) 2D representation of all buttons of a same align group, with their immediate neighbors (if found), and needed value to compute 'stitching' of aligned buttons.
+--------+-------+
| BUT 1 | BUT 2 | BUT 3 has two 'top' neighbors...
|----------------| => In practice, we only store one of BUT 1 or 2 (which ones is not
| BUT 3 | really deterministic), and assume the other stores a ref to BUT 3.
+----------------+
This will probably not work in all possible cases, but not sure we want to support such exotic cases anyway.
Definition at line 43 of file interface_align.cc.
| std::array<float *, 4> ButAlign::borders |
Definition at line 50 of file interface_align.cc.
Referenced by block_align_proximity_compute(), block_align_stitch_neighbors(), ui_block_align_butal_cmp(), and ui_block_align_calc().
| uiBut* ButAlign::but |
Definition at line 44 of file interface_align.cc.
Referenced by block_align_proximity_compute(), block_align_stitch_neighbors(), ui_block_align_butal_cmp(), and ui_block_align_calc().
| blender::float4 ButAlign::dists |
Definition at line 53 of file interface_align.cc.
Referenced by block_align_proximity_compute(), block_align_stitch_neighbors(), and ui_block_align_calc().
| blender::char4 ButAlign::flags |
Definition at line 57 of file interface_align.cc.
Referenced by block_align_proximity_compute(), and block_align_stitch_neighbors().
| ButAlign* ButAlign::neighbors[4] |
Definition at line 47 of file interface_align.cc.
Referenced by block_align_proximity_compute(), block_align_stitch_neighbors(), and ui_block_align_calc().