Blender V4.3
buttons_context.cc File Reference
#include <cstdlib>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "BLI_listbase.h"
#include "BLI_string.h"
#include "BLI_utildefines.h"
#include "BLT_translation.hh"
#include "DNA_armature_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.hh"
#include "BKE_context.hh"
#include "BKE_layer.hh"
#include "BKE_linestyle.h"
#include "BKE_material.h"
#include "BKE_modifier.hh"
#include "BKE_object.hh"
#include "BKE_paint.hh"
#include "BKE_particle.h"
#include "BKE_screen.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "ED_buttons.hh"
#include "ED_physics.hh"
#include "ED_screen.hh"
#include "UI_interface.hh"
#include "UI_resources.hh"
#include "WM_api.hh"
#include "buttons_intern.hh"

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 *)
 
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()

◆ buttons_context_compute()

◆ buttons_context_id_path()

◆ buttons_context_path()

◆ buttons_context_path_bone()

◆ buttons_context_path_brush()

◆ buttons_context_path_collection()

◆ buttons_context_path_data()

◆ buttons_context_path_linestyle()

◆ buttons_context_path_material()

◆ buttons_context_path_modifier()

◆ buttons_context_path_object()

◆ buttons_context_path_particle()

◆ buttons_context_path_pose_bone()

◆ buttons_context_path_scene()

◆ buttons_context_path_shaderfx()

static bool buttons_context_path_shaderfx ( ButsContextPath * path)
static

◆ buttons_context_path_texture()

◆ buttons_context_path_view_layer()

◆ buttons_context_path_world()

static bool buttons_context_path_world ( ButsContextPath * path)
static

◆ buttons_context_register()

◆ buttons_panel_context_draw()

◆ buttons_panel_context_poll()

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

◆ buttons_shading_context()

◆ buttons_shading_new_context()

◆ 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()

Variable Documentation

◆ buttons_context_dir

const char* buttons_context_dir[]

Definition at line 811 of file buttons_context.cc.

Referenced by buttons_context().