|
Blender V4.3
|
Public Attributes | |
| uiBut * | but |
| ButAlign * | neighbors [4] |
| float * | borders [4] |
| float | dists [4] |
| char | flags [4] |
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 45 of file interface_align.cc.
| float* ButAlign::borders[4] |
Definition at line 52 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 46 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().
| float ButAlign::dists[4] |
Definition at line 55 of file interface_align.cc.
Referenced by block_align_proximity_compute(), block_align_stitch_neighbors(), and ui_block_align_calc().
| char ButAlign::flags[4] |
Definition at line 59 of file interface_align.cc.
Referenced by block_align_proximity_compute(), and block_align_stitch_neighbors().
| ButAlign* ButAlign::neighbors[4] |
Definition at line 49 of file interface_align.cc.
Referenced by block_align_proximity_compute(), block_align_stitch_neighbors(), and ui_block_align_calc().