Blender  V3.3
Functions
buttons_texture.c File Reference
#include <stdlib.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_listbase.h"
#include "BLI_string.h"
#include "BLI_utildefines.h"
#include "BLT_translation.h"
#include "DNA_ID.h"
#include "DNA_brush_types.h"
#include "DNA_linestyle_types.h"
#include "DNA_node_types.h"
#include "DNA_object_force_types.h"
#include "DNA_object_types.h"
#include "DNA_particle_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "DNA_windowmanager_types.h"
#include "BKE_context.h"
#include "BKE_gpencil_modifier.h"
#include "BKE_layer.h"
#include "BKE_linestyle.h"
#include "BKE_modifier.h"
#include "BKE_node.h"
#include "BKE_paint.h"
#include "BKE_particle.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "ED_node.h"
#include "ED_screen.h"
#include "WM_api.h"
#include "WM_types.h"
#include "../interface/interface_intern.h"
#include "buttons_intern.h"

Go to the source code of this file.

Functions

static ScrAreafind_area_properties (const bContext *C)
 
static SpacePropertiesfind_space_properties (const bContext *C)
 
static void buttons_texture_user_socket_property_add (ListBase *users, ID *id, PointerRNA ptr, PropertyRNA *prop, bNodeTree *ntree, bNode *node, bNodeSocket *socket, const char *category, int icon, const char *name)
 
static void buttons_texture_user_property_add (ListBase *users, ID *id, PointerRNA ptr, PropertyRNA *prop, const char *category, int icon, const char *name)
 
static void buttons_texture_user_node_add (ListBase *users, ID *id, bNodeTree *ntree, bNode *node, const char *category, int icon, const char *name)
 
static void buttons_texture_users_find_nodetree (ListBase *users, ID *id, bNodeTree *ntree, const char *category)
 
static void buttons_texture_modifier_geonodes_users_add (Object *ob, NodesModifierData *nmd, bNodeTree *node_tree, ListBase *users)
 
static void buttons_texture_modifier_foreach (void *userData, Object *ob, ModifierData *md, const char *propname)
 
static void buttons_texture_modifier_gpencil_foreach (void *userData, Object *ob, GpencilModifierData *md, const char *propname)
 
static void buttons_texture_users_from_context (ListBase *users, const bContext *C, SpaceProperties *sbuts)
 
void buttons_texture_context_compute (const bContext *C, SpaceProperties *sbuts)
 
static void template_texture_select (bContext *C, void *user_p, void *UNUSED(arg))
 
static void template_texture_user_menu (bContext *C, uiLayout *layout, void *UNUSED(arg))
 
void uiTemplateTextureUser (uiLayout *layout, bContext *C)
 
static void template_texture_show (bContext *C, void *data_p, void *prop_p)
 
void uiTemplateTextureShow (uiLayout *layout, const bContext *C, PointerRNA *ptr, PropertyRNA *prop)
 

Function Documentation

◆ buttons_texture_context_compute()

void buttons_texture_context_compute ( const bContext C,
SpaceProperties sbuts 
)

◆ buttons_texture_modifier_foreach()

static void buttons_texture_modifier_foreach ( void userData,
Object ob,
ModifierData md,
const char *  propname 
)
static

◆ buttons_texture_modifier_geonodes_users_add()

static void buttons_texture_modifier_geonodes_users_add ( Object ob,
NodesModifierData nmd,
bNodeTree node_tree,
ListBase users 
)
static

◆ buttons_texture_modifier_gpencil_foreach()

static void buttons_texture_modifier_gpencil_foreach ( void userData,
Object ob,
GpencilModifierData md,
const char *  propname 
)
static

◆ buttons_texture_user_node_add()

static void buttons_texture_user_node_add ( ListBase users,
ID id,
bNodeTree ntree,
bNode node,
const char *  category,
int  icon,
const char *  name 
)
static

◆ buttons_texture_user_property_add()

static void buttons_texture_user_property_add ( ListBase users,
ID id,
PointerRNA  ptr,
PropertyRNA prop,
const char *  category,
int  icon,
const char *  name 
)
static

◆ buttons_texture_user_socket_property_add()

static void buttons_texture_user_socket_property_add ( ListBase users,
ID id,
PointerRNA  ptr,
PropertyRNA prop,
bNodeTree ntree,
bNode node,
bNodeSocket socket,
const char *  category,
int  icon,
const char *  name 
)
static

◆ buttons_texture_users_find_nodetree()

static void buttons_texture_users_find_nodetree ( ListBase users,
ID id,
bNodeTree ntree,
const char *  category 
)
static

◆ buttons_texture_users_from_context()

static void buttons_texture_users_from_context ( ListBase users,
const bContext C,
SpaceProperties sbuts 
)
static

◆ find_area_properties()

static ScrArea * find_area_properties ( const bContext C)
static

◆ find_space_properties()

static SpaceProperties * find_space_properties ( const bContext C)
static

◆ template_texture_select()

static void template_texture_select ( bContext C,
void user_p,
void UNUSEDarg 
)
static

◆ template_texture_show()

static void template_texture_show ( bContext C,
void data_p,
void prop_p 
)
static

◆ template_texture_user_menu()

static void template_texture_user_menu ( bContext C,
uiLayout layout,
void UNUSEDarg 
)
static

◆ uiTemplateTextureShow()

void uiTemplateTextureShow ( uiLayout layout,
const bContext C,
PointerRNA ptr,
PropertyRNA prop 
)

◆ uiTemplateTextureUser()

void uiTemplateTextureUser ( uiLayout layout,
bContext C 
)