|
Blender V5.3
|
#include "DNA_screen_types.h"#include "DNA_userdef_types.h"#include "BLI_listbase.hh"#include "BLI_math_vector_c.hh"#include "BLI_math_vector_types.hh"#include "BLI_rect.hh"#include "BLI_vector.hh"#include "interface_intern.hh"#include "MEM_guardedalloc.h"Go to the source code of this file.
Classes | |
| struct | blender::ui::ButAlign |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::ui |
Macros | |
| #define | SIDE_TO_BUT_ALIGN {BUT_ALIGN_LEFT, BUT_ALIGN_TOP, BUT_ALIGN_RIGHT, BUT_ALIGN_DOWN} |
| #define | SIDE1(_s) |
| #define | OPPOSITE(_s) |
| #define | SIDE2(_s) |
| #define | IS_COLUMN(_s) |
| #define | STITCH(_s) |
| #define | MAX_DELTA 0.45f * max_ii(UI_UNIT_Y, UI_UNIT_X) |
Enumerations | |
| enum | { blender::ui::LEFT = 0 , blender::ui::TOP = 1 , blender::ui::RIGHT = 2 , blender::ui::DOWN = 3 , blender::ui::TOTSIDES = 4 , blender::ui::STITCH_LEFT = 1 << LEFT , blender::ui::STITCH_TOP = 1 << TOP , blender::ui::STITCH_RIGHT = 1 << RIGHT , blender::ui::STITCH_DOWN = 1 << DOWN } |
Functions | |
| bool | blender::ui::button_can_align (const Button *but) |
| static void | blender::ui::block_align_proximity_compute (ButAlign *butal, ButAlign *butal_other) |
| static void | blender::ui::block_align_stitch_neighbors (ButAlign *butal, const int side, const int side_opp, const int side_s1, const int side_s2, const int align, const int align_opp, const float co) |
| static bool | blender::ui::block_align_butal_cmp (const ButAlign &butal, const ButAlign &butal_other) |
| static void | blender::ui::block_align_but_to_region (Button *but, const ARegion *region) |
| void | blender::ui::block_align_calc (Block *block, const ARegion *region) |
| int | blender::ui::button_align_opposite_to_area_align_get (const ARegion *region) |
| #define IS_COLUMN | ( | _s | ) |
Definition at line 88 of file interface_align.cc.
Referenced by blender::ui::block_align_proximity_compute().
Definition at line 94 of file interface_align.cc.
Referenced by blender::ui::block_align_calc(), and blender::ui::block_align_proximity_compute().
| #define OPPOSITE | ( | _s | ) |
Definition at line 84 of file interface_align.cc.
Referenced by blender::ui::block_align_calc(), and blender::ui::block_align_proximity_compute().
| #define SIDE1 | ( | _s | ) |
Definition at line 83 of file interface_align.cc.
Referenced by blender::ui::block_align_calc(), and blender::ui::block_align_proximity_compute().
| #define SIDE2 | ( | _s | ) |
Definition at line 85 of file interface_align.cc.
Referenced by blender::ui::block_align_calc(), and blender::ui::block_align_proximity_compute().
| #define SIDE_TO_BUT_ALIGN {BUT_ALIGN_LEFT, BUT_ALIGN_TOP, BUT_ALIGN_RIGHT, BUT_ALIGN_DOWN} |
Definition at line 80 of file interface_align.cc.
Referenced by blender::ui::block_align_calc().
| #define STITCH | ( | _s | ) |
Definition at line 91 of file interface_align.cc.
Referenced by blender::ui::block_align_proximity_compute(), and blender::ui::block_align_stitch_neighbors().