Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_screen_types.h
| Show All 32 Lines | |||||
| struct ARegion; | struct ARegion; | ||||
| struct ARegionType; | struct ARegionType; | ||||
| struct PanelType; | struct PanelType; | ||||
| struct PointerRNA; | struct PointerRNA; | ||||
| struct Scene; | struct Scene; | ||||
| struct SpaceLink; | struct SpaceLink; | ||||
| struct SpaceType; | struct SpaceType; | ||||
| struct uiLayout; | struct uiLayout; | ||||
| struct uiBlock; | |||||
| struct wmDrawBuffer; | struct wmDrawBuffer; | ||||
| struct wmTimer; | struct wmTimer; | ||||
| struct wmTooltipState; | struct wmTooltipState; | ||||
| /* TODO Doing this is quite ugly :) | /* TODO Doing this is quite ugly :) | ||||
| * Once the top-bar is merged bScreen should be refactored to use ScrAreaMap. */ | * Once the top-bar is merged bScreen should be refactored to use ScrAreaMap. */ | ||||
| #define AREAMAP_FROM_SCREEN(screen) ((ScrAreaMap *)&(screen)->vertbase) | #define AREAMAP_FROM_SCREEN(screen) ((ScrAreaMap *)&(screen)->vertbase) | ||||
| ▲ Show 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | typedef struct Panel_Runtime { | ||||
| /** | /** | ||||
| * 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. | ||||
| */ | */ | ||||
| struct PointerRNA *custom_data_ptr; | struct PointerRNA *custom_data_ptr; | ||||
| /* Pointer to the panel's block. Useful when changes to panel #uiBlocks | |||||
| * need some context from traversal of the panel "tree". */ | |||||
| struct uiBlock *block; | |||||
| } Panel_Runtime; | } Panel_Runtime; | ||||
| /** The part from uiBlock that needs saved in file. */ | /** The part from uiBlock that needs saved in file. */ | ||||
| typedef struct Panel { | typedef struct Panel { | ||||
| struct Panel *next, *prev; | struct Panel *next, *prev; | ||||
| /** Runtime. */ | /** Runtime. */ | ||||
| struct PanelType *type; | struct PanelType *type; | ||||
| ▲ Show 20 Lines • Show All 566 Lines • Show Last 20 Lines | |||||