Blender  V3.3
Classes | Typedefs | Functions
spacetypes.c File Reference
#include <stdlib.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "DNA_scene_types.h"
#include "DNA_windowmanager_types.h"
#include "BKE_context.h"
#include "BKE_screen.h"
#include "GPU_state.h"
#include "UI_interface.h"
#include "UI_view2d.h"
#include "ED_anim_api.h"
#include "ED_armature.h"
#include "ED_asset.h"
#include "ED_clip.h"
#include "ED_curve.h"
#include "ED_curves.h"
#include "ED_curves_sculpt.h"
#include "ED_fileselect.h"
#include "ED_geometry.h"
#include "ED_gizmo_library.h"
#include "ED_gpencil.h"
#include "ED_lattice.h"
#include "ED_markers.h"
#include "ED_mask.h"
#include "ED_mball.h"
#include "ED_mesh.h"
#include "ED_node.h"
#include "ED_object.h"
#include "ED_paint.h"
#include "ED_physics.h"
#include "ED_render.h"
#include "ED_scene.h"
#include "ED_screen.h"
#include "ED_sculpt.h"
#include "ED_sequencer.h"
#include "ED_sound.h"
#include "ED_space_api.h"
#include "ED_transform.h"
#include "ED_userpref.h"
#include "ED_util.h"
#include "ED_uvedit.h"
#include "io_ops.h"

Go to the source code of this file.

Classes

struct  RegionDrawCB
 

Typedefs

typedef struct RegionDrawCB RegionDrawCB
 

Functions

void ED_spacetypes_init (void)
 
void ED_spacemacros_init (void)
 
void ED_spacetypes_keymap (wmKeyConfig *keyconf)
 
voidED_region_draw_cb_activate (ARegionType *art, void(*draw)(const struct bContext *, struct ARegion *, void *), void *customdata, int type)
 
bool ED_region_draw_cb_exit (ARegionType *art, void *handle)
 
static void ed_region_draw_cb_draw (const bContext *C, ARegion *region, ARegionType *art, int type)
 
void ED_region_draw_cb_draw (const bContext *C, ARegion *region, int type)
 
void ED_region_surface_draw_cb_draw (ARegionType *art, int type)
 
void ED_region_draw_cb_remove_by_type (ARegionType *art, void *draw_fn, void(*free)(void *))
 
void ED_spacetype_xxx (void)
 
static SpaceLinkxxx_create (const ScrArea *UNUSED(area), const Scene *UNUSED(scene))
 
static void xxx_free (SpaceLink *UNUSED(sl))
 
static void xxx_init (wmWindowManager *UNUSED(wm), ScrArea *UNUSED(area))
 
static SpaceLinkxxx_duplicate (SpaceLink *UNUSED(sl))
 
static void xxx_operatortypes (void)
 
static void xxx_keymap (wmKeyConfig *UNUSED(keyconf))
 

Typedef Documentation

◆ RegionDrawCB

typedef struct RegionDrawCB RegionDrawCB

Function Documentation

◆ ED_region_draw_cb_activate()

void* ED_region_draw_cb_activate ( ARegionType art,
void(*)(const struct bContext *, struct ARegion *, void *)  draw,
void customdata,
int  type 
)

◆ ed_region_draw_cb_draw()

static void ed_region_draw_cb_draw ( const bContext C,
ARegion region,
ARegionType art,
int  type 
)
static

◆ ED_region_draw_cb_draw()

void ED_region_draw_cb_draw ( const bContext C,
ARegion region,
int  type 
)

Definition at line 265 of file spacetypes.c.

References C, ed_region_draw_cb_draw(), type, and ARegion::type.

◆ ED_region_draw_cb_exit()

bool ED_region_draw_cb_exit ( ARegionType art,
void handle 
)

◆ ED_region_draw_cb_remove_by_type()

void ED_region_draw_cb_remove_by_type ( ARegionType art,
void draw_fn,
void(*)(void *)  free 
)

◆ ED_region_surface_draw_cb_draw()

void ED_region_surface_draw_cb_draw ( ARegionType art,
int  type 
)

Definition at line 270 of file spacetypes.c.

References ed_region_draw_cb_draw(), NULL, and type.

Referenced by DRW_draw_callbacks_post_scene().

◆ ED_spacemacros_init()

void ED_spacemacros_init ( void  )

◆ ED_spacetype_xxx()

void ED_spacetype_xxx ( void  )

◆ ED_spacetypes_init()

void ED_spacetypes_init ( void  )

Definition at line 60 of file spacetypes.c.

References BKE_spacetypes_list(), ED_gizmotypes_arrow_3d(), ED_gizmotypes_blank_3d(), ED_gizmotypes_button_2d(), ED_gizmotypes_cage_2d(), ED_gizmotypes_cage_3d(), ED_gizmotypes_dial_3d(), ED_gizmotypes_move_3d(), ED_gizmotypes_preselect_3d(), ED_gizmotypes_primitive_3d(), ED_gizmotypes_snap_3d(), ED_operatortypes_anim(), ED_operatortypes_animchannels(), ED_operatortypes_armature(), ED_operatortypes_asset(), ED_operatortypes_curve(), ED_operatortypes_curves(), ED_operatortypes_edutils(), ED_operatortypes_geometry(), ED_operatortypes_gpencil(), ED_operatortypes_io(), ED_operatortypes_lattice(), ED_operatortypes_marker(), ED_operatortypes_mask(), ED_operatortypes_mesh(), ED_operatortypes_metaball(), ED_operatortypes_object(), ED_operatortypes_paint(), ED_operatortypes_physics(), ED_operatortypes_render(), ED_operatortypes_scene(), ED_operatortypes_screen(), ED_operatortypes_sculpt(), ED_operatortypes_sculpt_curves(), ED_operatortypes_sound(), ED_operatortypes_ui(), ED_operatortypes_userpref(), ED_operatortypes_uvedit(), ED_operatortypes_view2d(), ED_operatortypes_workspace(), ED_screen_user_menu_register(), ED_spacetype_action(), ED_spacetype_buttons(), ED_spacetype_clip(), ED_spacetype_console(), ED_spacetype_file(), ED_spacetype_image(), ED_spacetype_info(), ED_spacetype_ipo(), ED_spacetype_nla(), ED_spacetype_node(), ED_spacetype_outliner(), ED_spacetype_script(), ED_spacetype_sequencer(), ED_spacetype_spreadsheet(), ED_spacetype_statusbar(), ED_spacetype_text(), ED_spacetype_topbar(), ED_spacetype_userpref(), ED_spacetype_view3d(), ED_uilisttypes_ui(), LISTBASE_FOREACH, spacetypes, and type.

Referenced by WM_init().

◆ ED_spacetypes_keymap()

void ED_spacetypes_keymap ( struct wmKeyConfig keyconf)

◆ xxx_create()

static SpaceLink* xxx_create ( const ScrArea UNUSEDarea,
const Scene UNUSEDscene 
)
static

Definition at line 293 of file spacetypes.c.

References NULL.

Referenced by ED_spacetype_xxx().

◆ xxx_duplicate()

static SpaceLink* xxx_duplicate ( SpaceLink UNUSEDsl)
static

Definition at line 314 of file spacetypes.c.

References NULL.

Referenced by ED_spacetype_xxx().

◆ xxx_free()

static void xxx_free ( SpaceLink UNUSEDsl)
static

Definition at line 299 of file spacetypes.c.

Referenced by ED_spacetype_xxx().

◆ xxx_init()

static void xxx_init ( wmWindowManager UNUSEDwm,
ScrArea UNUSEDarea 
)
static

Definition at line 304 of file spacetypes.c.

Referenced by ED_spacetype_xxx().

◆ xxx_keymap()

static void xxx_keymap ( wmKeyConfig UNUSEDkeyconf)
static

Definition at line 325 of file spacetypes.c.

Referenced by ED_spacetype_xxx().

◆ xxx_operatortypes()

static void xxx_operatortypes ( void  )
static

Definition at line 320 of file spacetypes.c.

Referenced by ED_spacetype_xxx().