36 SpaceProject *project_space = MEM_new<SpaceProject>(
"project space");
196 std::unique_ptr<SpaceType> st = std::make_unique<SpaceType>();
200 STRNCPY(st->name,
"Project Settings");
Read Blender memory allocation and freeing.
#define UI_NAVIGATION_REGION_WIDTH
void WM_operatortype_append(void(*opfunc)(wmOperatorType *))
char * STRNCPY(char(&dst)[N], const char *src)
void BLI_addhead(ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void PROJECT_OT_open(wmOperatorType *ot)
static void project_init(wmWindowManager *, ScrArea *)
void PROJECT_OT_splash_image_create(wmOperatorType *ot)
void PROJECT_OT_variable_remove(wmOperatorType *ot)
static void project_header_region_draw(const bContext *C, ARegion *region)
void PROJECT_OT_close(wmOperatorType *ot)
void ED_spacetype_project()
static void project_main_region_layout(const bContext *C, ARegion *region)
void PROJECT_OT_config_save(wmOperatorType *ot)
static void project_main_region_listener(const wmRegionListenerParams *)
static bool project_execute_region_poll(const RegionPollParams *params)
static void project_execute_region_listener(const wmRegionListenerParams *)
static void project_main_region_init(wmWindowManager *wm, ARegion *region)
static void project_execute_region_init(wmWindowManager *wm, ARegion *region)
void * MEM_new_zeroed(size_t len, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1) ATTR_NONNULL(2)
void PROJECT_OT_asset_library_add(wmOperatorType *ot)
static void project_keymap(wmKeyConfig *)
void ED_region_panels(const bContext *C, ARegion *region)
static SpaceLink * project_duplicate(SpaceLink *sl)
static void project_main_region_draw(const bContext *C, ARegion *region)
void PROJECT_OT_new(wmOperatorType *ot)
ARegion * BKE_area_region_new()
static SpaceLink * project_create(const ScrArea *, const Scene *)
static void project_navigation_region_init(wmWindowManager *wm, ARegion *region)
static void project_header_region_init(wmWindowManager *, ARegion *region)
ARegion * BKE_area_find_region_type(const ScrArea *area, int region_type)
@ V2D_SCROLL_VERTICAL_HIDE
void PROJECT_OT_splash_image_clear(wmOperatorType *ot)
void PROJECT_OT_variable_move(wmOperatorType *ot)
void BLI_addtail(ListBase *listbase, void *vlink) ATTR_NONNULL(1)
static void project_navigation_region_draw(const bContext *C, ARegion *region)
void BKE_spacetype_register(std::unique_ptr< SpaceType > st)
void PROJECT_OT_asset_library_remove(wmOperatorType *ot)
void ED_region_header_init(ARegion *region)
@ HideSinglePanelCategories
static void project_navigation_region_listener(const wmRegionListenerParams *)
static void project_space_blend_write(BlendWriter *writer, SpaceLink *sl)
static void project_header_region_listener(const wmRegionListenerParams *)
void ED_region_panels_layout(const bContext *C, ARegion *region)
@ RGN_FLAG_NO_USER_RESIZE
void PROJECT_OT_variable_add(wmOperatorType *ot)
void ED_region_header(const bContext *C, ARegion *region)
static void project_free(SpaceLink *)
void ED_region_panels_draw(const bContext *C, ARegion *region)
void ED_region_panels_init(wmWindowManager *wm, ARegion *region)
static void project_operatortypes()
void(*) draw(const bContext *C, ARegion *region)
void(*) listener(const wmRegionListenerParams *params)
void(*) layout(const bContext *C, ARegion *region)
bool(*) poll(const RegionPollParams *params)
void(*) init(wmWindowManager *wm, ARegion *region)
bke::ARegionRuntime * runtime
eRegion_Alignment alignment
void write_struct_cast(const void *data, BlendStructWriterTypedFn< T > fn=nullptr)
ListBaseT< ARegion > regionbase
eView2D_KeepZoom keepzoom