Blender  V3.3
Functions | Variables
rna_collection.c File Reference
#include <stdlib.h>
#include "DNA_collection_types.h"
#include "DNA_lineart_types.h"
#include "BLI_utildefines.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "rna_internal.h"
#include "WM_types.h"

Go to the source code of this file.

Functions

static void rna_def_collection_objects (BlenderRNA *brna, PropertyRNA *cprop)
 
static void rna_def_collection_children (BlenderRNA *brna, PropertyRNA *cprop)
 
void RNA_def_collections (BlenderRNA *brna)
 

Variables

const EnumPropertyItem rna_enum_collection_color_items []
 

Function Documentation

◆ rna_def_collection_children()

static void rna_def_collection_children ( BlenderRNA brna,
PropertyRNA cprop 
)
static

◆ rna_def_collection_objects()

static void rna_def_collection_objects ( BlenderRNA brna,
PropertyRNA cprop 
)
static

◆ RNA_def_collections()

void RNA_def_collections ( BlenderRNA brna)

Variable Documentation

◆ rna_enum_collection_color_items

const EnumPropertyItem rna_enum_collection_color_items[]
Initial value:
= {
{COLLECTION_COLOR_NONE, "NONE", ICON_X, "None", "Assign no color tag to the collection"},
{COLLECTION_COLOR_01, "COLOR_01", ICON_COLLECTION_COLOR_01, "Color 01", ""},
{COLLECTION_COLOR_02, "COLOR_02", ICON_COLLECTION_COLOR_02, "Color 02", ""},
{COLLECTION_COLOR_03, "COLOR_03", ICON_COLLECTION_COLOR_03, "Color 03", ""},
{COLLECTION_COLOR_04, "COLOR_04", ICON_COLLECTION_COLOR_04, "Color 04", ""},
{COLLECTION_COLOR_05, "COLOR_05", ICON_COLLECTION_COLOR_05, "Color 05", ""},
{COLLECTION_COLOR_06, "COLOR_06", ICON_COLLECTION_COLOR_06, "Color 06", ""},
{COLLECTION_COLOR_07, "COLOR_07", ICON_COLLECTION_COLOR_07, "Color 07", ""},
{COLLECTION_COLOR_08, "COLOR_08", ICON_COLLECTION_COLOR_08, "Color 08", ""},
{0, NULL, 0, NULL, NULL},
}
@ COLLECTION_COLOR_NONE
@ COLLECTION_COLOR_02
@ COLLECTION_COLOR_05
@ COLLECTION_COLOR_07
@ COLLECTION_COLOR_06
@ COLLECTION_COLOR_04
@ COLLECTION_COLOR_01
@ COLLECTION_COLOR_08
@ COLLECTION_COLOR_03

Definition at line 22 of file rna_collection.c.

Referenced by OUTLINER_OT_collection_color_tag_set(), and RNA_def_collections().