Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_ID.h
| Show First 20 Lines • Show All 98 Lines • ▼ Show 20 Lines | |||||
| typedef struct IDPropertyUIDataString { | typedef struct IDPropertyUIDataString { | ||||
| IDPropertyUIData base; | IDPropertyUIData base; | ||||
| char *default_value; | char *default_value; | ||||
| } IDPropertyUIDataString; | } IDPropertyUIDataString; | ||||
| /** For #IDP_UI_DATA_TYPE_ID. */ | /** For #IDP_UI_DATA_TYPE_ID. */ | ||||
| typedef struct IDPropertyUIDataID { | typedef struct IDPropertyUIDataID { | ||||
| IDPropertyUIData base; | IDPropertyUIData base; | ||||
| /** | |||||
| * #ID_Type. This type type is not enforced. It is just a hint to the ui for what kind of ID is | |||||
| * expected. If this is zero, any id type is expected. | |||||
| */ | |||||
| short id_type; | |||||
| char _pad[6]; | |||||
| } IDPropertyUIDataID; | } IDPropertyUIDataID; | ||||
| typedef struct IDPropertyData { | typedef struct IDPropertyData { | ||||
| void *pointer; | void *pointer; | ||||
| ListBase group; | ListBase group; | ||||
| /** NOTE: a `double` is written into two 32bit integers. */ | /** NOTE: a `double` is written into two 32bit integers. */ | ||||
| int val, val2; | int val, val2; | ||||
| } IDPropertyData; | } IDPropertyData; | ||||
| ▲ Show 20 Lines • Show All 1,103 Lines • Show Last 20 Lines | |||||