|
Blender V4.3
|
#include "DNA_userdef_types.h"#include "BKE_screen.hh"#include "BLI_blenlib.h"#include "BLI_utildefines.h"#include "WM_message.hh"#include "ED_screen.hh"#include "UI_interface.hh"#include "UI_interface_icons.hh"Go to the source code of this file.
Functions | |
Generic Tool System Region Callbacks | |
| void | ED_region_generic_tools_region_message_subscribe (const wmRegionMessageSubscribeParams *params) |
| int | ED_region_generic_tools_region_snap_size (const ARegion *region, int size, int axis) |
Helper functions for area/region API.
Definition in file area_utils.cc.
| void ED_region_generic_tools_region_message_subscribe | ( | const wmRegionMessageSubscribeParams * | params | ) |
Callback for ARegionType.message_subscribe
Definition at line 29 of file area_utils.cc.
References ED_region_do_msg_notify_tag_redraw(), wmMsgSubscribeValue::owner, params, and WM_msg_subscribe_rna_anon_prop.
Referenced by ED_spacetype_image(), ED_spacetype_node(), ED_spacetype_sequencer(), and ED_spacetype_view3d().
Callback for ARegionType.snap_size
Definition at line 41 of file area_utils.cc.
References abs(), ARRAY_SIZE, BLI_rctf_size_y(), BLI_rcti_size_y(), size(), UI_TOOLBAR_COLUMN, and UI_TOOLBAR_MARGIN.
Referenced by ED_spacetype_image(), ED_spacetype_node(), ED_spacetype_sequencer(), and ED_spacetype_view3d().