Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_intern.h
| Show First 20 Lines • Show All 354 Lines • ▼ Show 20 Lines | |||||
| typedef struct uiButDatasetRow { | typedef struct uiButDatasetRow { | ||||
| uiBut but; | uiBut but; | ||||
| uint8_t geometry_component_type; | uint8_t geometry_component_type; | ||||
| uint8_t attribute_domain; | uint8_t attribute_domain; | ||||
| int indentation; | int indentation; | ||||
| } uiButDatasetRow; | } uiButDatasetRow; | ||||
| /** Derived struct for #UI_BTYPE_TREEROW. */ | |||||
| typedef struct uiButTreeRow { | |||||
| uiBut but; | |||||
| uiTreeViewItemHandle *tree_item; | |||||
| int indentation; | |||||
| } uiButTreeRow; | |||||
| /** Derived struct for #UI_BTYPE_HSVCUBE. */ | /** Derived struct for #UI_BTYPE_HSVCUBE. */ | ||||
| typedef struct uiButHSVCube { | typedef struct uiButHSVCube { | ||||
| uiBut but; | uiBut but; | ||||
| eButGradientType gradient_type; | eButGradientType gradient_type; | ||||
| } uiButHSVCube; | } uiButHSVCube; | ||||
| /** Derived struct for #UI_BTYPE_COLORBAND. */ | /** Derived struct for #UI_BTYPE_COLORBAND. */ | ||||
| ▲ Show 20 Lines • Show All 112 Lines • ▼ Show 20 Lines | struct uiBlock { | ||||
| ListBase button_groups; /* #uiButtonGroup. */ | ListBase button_groups; /* #uiButtonGroup. */ | ||||
| ListBase layouts; | ListBase layouts; | ||||
| struct uiLayout *curlayout; | struct uiLayout *curlayout; | ||||
| ListBase contexts; | ListBase contexts; | ||||
| /** A block can store "views" on data-sets. Currently tree-views (#AbstractTreeView) only. | |||||
campbellbarton: contains? / stores? | |||||
| * Others are imaginable, e.g. table-views, grid-views, etc. These are stored here to support | |||||
| * state that is persistent over redraws (e.g. collapsed tree-view items). */ | |||||
| ListBase views; | |||||
| char name[UI_MAX_NAME_STR]; | char name[UI_MAX_NAME_STR]; | ||||
| float winmat[4][4]; | float winmat[4][4]; | ||||
| rctf rect; | rctf rect; | ||||
| float aspect; | float aspect; | ||||
| /** Unique hash used to implement popup menu memory. */ | /** Unique hash used to implement popup menu memory. */ | ||||
| ▲ Show 20 Lines • Show All 770 Lines • ▼ Show 20 Lines | void ui_rna_collection_search_update_fn(const struct bContext *C, | ||||
| const bool is_first); | const bool is_first); | ||||
| /* interface_ops.c */ | /* interface_ops.c */ | ||||
| bool ui_jump_to_target_button_poll(struct bContext *C); | bool ui_jump_to_target_button_poll(struct bContext *C); | ||||
| /* interface_queries.c */ | /* interface_queries.c */ | ||||
| void ui_interface_tag_script_reload_queries(void); | void ui_interface_tag_script_reload_queries(void); | ||||
| /* interface_view.cc */ | |||||
| void ui_block_free_views(struct uiBlock *block); | |||||
| uiTreeViewHandle *ui_block_view_find_matching_in_old_block(const uiBlock *new_block, | |||||
| const uiTreeViewHandle *new_view); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
contains? / stores?