Blender  V3.3
Functions | Variables
buttons_context.c File Reference
#include <stdlib.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_listbase.h"
#include "BLI_utildefines.h"
#include "BLT_translation.h"
#include "DNA_armature_types.h"
#include "DNA_brush_types.h"
#include "DNA_collection_types.h"
#include "DNA_linestyle_types.h"
#include "DNA_material_types.h"
#include "DNA_node_types.h"
#include "DNA_scene_types.h"
#include "DNA_windowmanager_types.h"
#include "DNA_world_types.h"
#include "BKE_action.h"
#include "BKE_armature.h"
#include "BKE_context.h"
#include "BKE_layer.h"
#include "BKE_linestyle.h"
#include "BKE_material.h"
#include "BKE_modifier.h"
#include "BKE_object.h"
#include "BKE_paint.h"
#include "BKE_particle.h"
#include "BKE_screen.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "ED_buttons.h"
#include "ED_physics.h"
#include "ED_screen.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "WM_api.h"
#include "buttons_intern.h"

Go to the source code of this file.

Functions

static int set_pointer_type (ButsContextPath *path, bContextDataResult *result, StructRNA *type)
 
static PointerRNAget_pointer_type (ButsContextPath *path, StructRNA *type)
 
static bool buttons_context_path_scene (ButsContextPath *path)
 
static bool buttons_context_path_view_layer (ButsContextPath *path, wmWindow *win)
 
static bool buttons_context_path_world (ButsContextPath *path)
 
static bool buttons_context_path_collection (const bContext *C, ButsContextPath *path, wmWindow *window)
 
static bool buttons_context_path_linestyle (ButsContextPath *path, wmWindow *window)
 
static bool buttons_context_path_object (ButsContextPath *path)
 
static bool buttons_context_path_data (ButsContextPath *path, int type)
 
static bool buttons_context_path_modifier (ButsContextPath *path)
 
static bool buttons_context_path_shaderfx (ButsContextPath *path)
 
static bool buttons_context_path_material (ButsContextPath *path)
 
static bool buttons_context_path_bone (ButsContextPath *path)
 
static bool buttons_context_path_pose_bone (ButsContextPath *path)
 
static bool buttons_context_path_particle (ButsContextPath *path)
 
static bool buttons_context_path_brush (const bContext *C, ButsContextPath *path)
 
static bool buttons_context_path_texture (const bContext *C, ButsContextPath *path, ButsContextTexture *ct)
 
static bool buttons_context_path (const bContext *C, SpaceProperties *sbuts, ButsContextPath *path, int mainb, int flag)
 
static bool buttons_shading_context (const bContext *C, int mainb)
 
static int buttons_shading_new_context (const bContext *C, int flag)
 
void buttons_context_compute (const bContext *C, SpaceProperties *sbuts)
 
static bool is_pointer_in_path (ButsContextPath *path, PointerRNA *ptr)
 
bool ED_buttons_should_sync_with_outliner (const bContext *C, const SpaceProperties *sbuts, ScrArea *area)
 
void ED_buttons_set_context (const bContext *C, SpaceProperties *sbuts, PointerRNA *ptr, const int context)
 
int buttons_context (const bContext *C, const char *member, bContextDataResult *result)
 
static bool buttons_panel_context_poll (const bContext *C, PanelType *UNUSED(pt))
 
static void buttons_panel_context_draw (const bContext *C, Panel *panel)
 
void buttons_context_register (ARegionType *art)
 
IDbuttons_context_id_path (const bContext *C)
 

Variables

const char * buttons_context_dir []
 

Function Documentation

◆ buttons_context()

int buttons_context ( const bContext C,
const char *  member,
bContextDataResult result 
)

◆ buttons_context_compute()

void buttons_context_compute ( const bContext C,
SpaceProperties sbuts 
)

◆ buttons_context_id_path()

ID* buttons_context_id_path ( const bContext C)

◆ buttons_context_path()

static bool buttons_context_path ( const bContext C,
SpaceProperties sbuts,
ButsContextPath path,
int  mainb,
int  flag 
)
static

◆ buttons_context_path_bone()

static bool buttons_context_path_bone ( ButsContextPath path)
static

◆ buttons_context_path_brush()

static bool buttons_context_path_brush ( const bContext C,
ButsContextPath path 
)
static

◆ buttons_context_path_collection()

static bool buttons_context_path_collection ( const bContext C,
ButsContextPath path,
wmWindow window 
)
static

◆ buttons_context_path_data()

static bool buttons_context_path_data ( ButsContextPath path,
int  type 
)
static

◆ buttons_context_path_linestyle()

static bool buttons_context_path_linestyle ( ButsContextPath path,
wmWindow window 
)
static

◆ buttons_context_path_material()

static bool buttons_context_path_material ( ButsContextPath path)
static

◆ buttons_context_path_modifier()

static bool buttons_context_path_modifier ( ButsContextPath path)
static

◆ buttons_context_path_object()

static bool buttons_context_path_object ( ButsContextPath path)
static

◆ buttons_context_path_particle()

static bool buttons_context_path_particle ( ButsContextPath path)
static

◆ buttons_context_path_pose_bone()

static bool buttons_context_path_pose_bone ( ButsContextPath path)
static

◆ buttons_context_path_scene()

static bool buttons_context_path_scene ( ButsContextPath path)
static

◆ buttons_context_path_shaderfx()

static bool buttons_context_path_shaderfx ( ButsContextPath path)
static

◆ buttons_context_path_texture()

static bool buttons_context_path_texture ( const bContext C,
ButsContextPath path,
ButsContextTexture ct 
)
static

◆ buttons_context_path_view_layer()

static bool buttons_context_path_view_layer ( ButsContextPath path,
wmWindow win 
)
static

◆ buttons_context_path_world()

static bool buttons_context_path_world ( ButsContextPath path)
static

◆ buttons_context_register()

void buttons_context_register ( ARegionType art)

◆ buttons_panel_context_draw()

static void buttons_panel_context_draw ( const bContext C,
Panel panel 
)
static

◆ buttons_panel_context_poll()

static bool buttons_panel_context_poll ( const bContext C,
PanelType UNUSEDpt 
)
static

◆ buttons_shading_context()

static bool buttons_shading_context ( const bContext C,
int  mainb 
)
static

◆ buttons_shading_new_context()

static int buttons_shading_new_context ( const bContext C,
int  flag 
)
static

◆ ED_buttons_set_context()

void ED_buttons_set_context ( const bContext C,
SpaceProperties sbuts,
PointerRNA ptr,
const int  context 
)

◆ ED_buttons_should_sync_with_outliner()

bool ED_buttons_should_sync_with_outliner ( const bContext C,
const SpaceProperties sbuts,
ScrArea area 
)

◆ get_pointer_type()

static PointerRNA* get_pointer_type ( ButsContextPath path,
StructRNA type 
)
static

◆ is_pointer_in_path()

static bool is_pointer_in_path ( ButsContextPath path,
PointerRNA ptr 
)
static

◆ set_pointer_type()

static int set_pointer_type ( ButsContextPath path,
bContextDataResult result,
StructRNA type 
)
static

Variable Documentation

◆ buttons_context_dir

const char* buttons_context_dir[]

Definition at line 797 of file buttons_context.c.

Referenced by bpy_context_members(), and buttons_context().