Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_space_types.h
| Show All 16 Lines | |||||
| #include "DNA_listBase.h" | #include "DNA_listBase.h" | ||||
| #include "DNA_movieclip_types.h" /* MovieClipUser */ | #include "DNA_movieclip_types.h" /* MovieClipUser */ | ||||
| #include "DNA_node_types.h" /* for bNodeInstanceKey */ | #include "DNA_node_types.h" /* for bNodeInstanceKey */ | ||||
| #include "DNA_outliner_types.h" /* for TreeStoreElem */ | #include "DNA_outliner_types.h" /* for TreeStoreElem */ | ||||
| #include "DNA_sequence_types.h" /* SequencerScopes */ | #include "DNA_sequence_types.h" /* SequencerScopes */ | ||||
| #include "DNA_vec_types.h" | #include "DNA_vec_types.h" | ||||
| /* Hum ... Not really nice... but needed for spacebuts. */ | /* Hum ... Not really nice... but needed for spacebuts. */ | ||||
| #include "DNA_view2d_types.h" | #include "DNA_view2d_types.h" | ||||
| #include "DNA_viewer_path_types.h" | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| struct BLI_mempool; | struct BLI_mempool; | ||||
| struct FileLayout; | struct FileLayout; | ||||
| struct FileList; | struct FileList; | ||||
| ▲ Show 20 Lines • Show All 1,850 Lines • ▼ Show 20 Lines | typedef struct SpreadsheetColumn { | ||||
| /** | /** | ||||
| * The final column name generated by the data source, also just | * The final column name generated by the data source, also just | ||||
| * cached at runtime when the data source columns are generated. | * cached at runtime when the data source columns are generated. | ||||
| */ | */ | ||||
| char *display_name; | char *display_name; | ||||
| } SpreadsheetColumn; | } SpreadsheetColumn; | ||||
| /** | |||||
| * An item in SpaceSpreadsheet.context_path. | |||||
| * This is a bases struct for the structs below. | |||||
| */ | |||||
| typedef struct SpreadsheetContext { | |||||
| struct SpreadsheetContext *next, *prev; | |||||
| /* eSpaceSpreadsheet_ContextType. */ | |||||
| int type; | |||||
| char _pad[4]; | |||||
| } SpreadsheetContext; | |||||
| typedef struct SpreadsheetContextObject { | |||||
| SpreadsheetContext base; | |||||
| struct Object *object; | |||||
| } SpreadsheetContextObject; | |||||
| typedef struct SpreadsheetContextModifier { | |||||
| SpreadsheetContext base; | |||||
| char *modifier_name; | |||||
| } SpreadsheetContextModifier; | |||||
| typedef struct SpreadsheetContextNode { | |||||
| SpreadsheetContext base; | |||||
| char *node_name; | |||||
| } SpreadsheetContextNode; | |||||
| typedef struct SpaceSpreadsheet { | typedef struct SpaceSpreadsheet { | ||||
| SpaceLink *next, *prev; | SpaceLink *next, *prev; | ||||
| /** Storage of regions for inactive spaces. */ | /** Storage of regions for inactive spaces. */ | ||||
| ListBase regionbase; | ListBase regionbase; | ||||
| char spacetype; | char spacetype; | ||||
| char link_flag; | char link_flag; | ||||
| char _pad0[6]; | char _pad0[6]; | ||||
| /* End 'SpaceLink' header. */ | /* End 'SpaceLink' header. */ | ||||
| /* List of #SpreadsheetColumn. */ | /* List of #SpreadsheetColumn. */ | ||||
| ListBase columns; | ListBase columns; | ||||
| /* SpreadsheetRowFilter. */ | /* SpreadsheetRowFilter. */ | ||||
| ListBase row_filters; | ListBase row_filters; | ||||
| /** | /** | ||||
| * List of #SpreadsheetContext. | * Context that is currently displayed in the editor. This is usually a either a single object | ||||
| * This is a path to the data that is displayed in the spreadsheet. | * (in original/evaluated mode) or path to a viewer node. This is retrieved from the workspace | ||||
| * It can be set explicitly by an action of the user (e.g. clicking the preview icon in a | * but can be pinned so that it stays constant even when the active node changes. | ||||
| * geometry node) or it can be derived from context automatically based on some heuristic. | |||||
| */ | */ | ||||
| ListBase context_path; | ViewerPath viewer_path; | ||||
| /* eSpaceSpreadsheet_FilterFlag. */ | /* eSpaceSpreadsheet_FilterFlag. */ | ||||
| uint8_t filter_flag; | uint8_t filter_flag; | ||||
| /* #GeometryComponentType. */ | /* #GeometryComponentType. */ | ||||
| uint8_t geometry_component_type; | uint8_t geometry_component_type; | ||||
| /* #eAttrDomain. */ | /* #eAttrDomain. */ | ||||
| uint8_t attribute_domain; | uint8_t attribute_domain; | ||||
| ▲ Show 20 Lines • Show All 142 Lines • Show Last 20 Lines | |||||