Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_screen_types.h
| Show First 20 Lines • Show All 129 Lines • ▼ Show 20 Lines | typedef struct ScrAreaMap { | ||||
| /** ScrArea. */ | /** ScrArea. */ | ||||
| ListBase areabase; | ListBase areabase; | ||||
| } ScrAreaMap; | } ScrAreaMap; | ||||
| typedef struct Panel_Runtime { | typedef struct Panel_Runtime { | ||||
| /* Applied to Panel.ofsx, but saved separately so we can track changes between redraws. */ | /* Applied to Panel.ofsx, but saved separately so we can track changes between redraws. */ | ||||
| int region_ofsx; | int region_ofsx; | ||||
| /* For instanced panels: Index of the list item the panel corresponds to. */ | char _pad[4]; | ||||
| int list_index; | |||||
| /** | /** | ||||
| * Pointer for storing which data the panel corresponds to. | * Pointer for storing which data the panel corresponds to. | ||||
| * Useful when there can be multiple instances of the same panel type. | * Useful when there can be multiple instances of the same panel type. | ||||
| * | * | ||||
| * \note A panel and its sub-panels share the same custom data pointer. | * \note A panel and its sub-panels share the same custom data pointer. | ||||
| * This avoids freeing the same pointer twice when panels are removed. | * This avoids freeing the same pointer twice when panels are removed. | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 559 Lines • Show Last 20 Lines | |||||