Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_interface.h
| Show First 20 Lines • Show All 394 Lines • ▼ Show 20 Lines | typedef enum { | ||||
| UI_BTYPE_NODE_SOCKET = 53 << 9, | UI_BTYPE_NODE_SOCKET = 53 << 9, | ||||
| UI_BTYPE_SEPR = 54 << 9, | UI_BTYPE_SEPR = 54 << 9, | ||||
| UI_BTYPE_SEPR_LINE = 55 << 9, | UI_BTYPE_SEPR_LINE = 55 << 9, | ||||
| /** Dynamically fill available space. */ | /** Dynamically fill available space. */ | ||||
| UI_BTYPE_SEPR_SPACER = 56 << 9, | UI_BTYPE_SEPR_SPACER = 56 << 9, | ||||
| /** Resize handle (resize uilist). */ | /** Resize handle (resize uilist). */ | ||||
| UI_BTYPE_GRIP = 57 << 9, | UI_BTYPE_GRIP = 57 << 9, | ||||
| UI_BTYPE_DECORATOR = 58 << 9, | UI_BTYPE_DECORATOR = 58 << 9, | ||||
| UI_BTYPE_DATASETROW = 59 << 9, | |||||
| /* An item in a tree view. Parent items may be collapsible. */ | /* An item in a tree view. Parent items may be collapsible. */ | ||||
| UI_BTYPE_TREEROW = 60 << 9, | UI_BTYPE_TREEROW = 59 << 9, | ||||
| } eButType; | } eButType; | ||||
| #define BUTTYPE (63 << 9) | #define BUTTYPE (63 << 9) | ||||
| /** Gradient types, for color picker #UI_BTYPE_HSVCUBE etc. */ | /** Gradient types, for color picker #UI_BTYPE_HSVCUBE etc. */ | ||||
| typedef enum eButGradientType { | typedef enum eButGradientType { | ||||
| UI_GRAD_SV = 0, | UI_GRAD_SV = 0, | ||||
| UI_GRAD_HV = 1, | UI_GRAD_HV = 1, | ||||
| ▲ Show 20 Lines • Show All 1,257 Lines • ▼ Show 20 Lines | |||||
| /* height in pixels, it's using hardcoded values still */ | /* height in pixels, it's using hardcoded values still */ | ||||
| int UI_searchbox_size_y(void); | int UI_searchbox_size_y(void); | ||||
| int UI_searchbox_size_x(void); | int UI_searchbox_size_x(void); | ||||
| /* check if a string is in an existing search box */ | /* check if a string is in an existing search box */ | ||||
| int UI_search_items_find_index(uiSearchItems *items, const char *name); | int UI_search_items_find_index(uiSearchItems *items, const char *name); | ||||
| void UI_but_hint_drawstr_set(uiBut *but, const char *string); | void UI_but_hint_drawstr_set(uiBut *but, const char *string); | ||||
| void UI_but_datasetrow_indentation_set(uiBut *but, int indentation); | |||||
| void UI_but_datasetrow_component_set(uiBut *but, uint8_t geometry_component_type); | |||||
| void UI_but_datasetrow_domain_set(uiBut *but, uint8_t attribute_domain); | |||||
| uint8_t UI_but_datasetrow_component_get(uiBut *but); | |||||
| uint8_t UI_but_datasetrow_domain_get(uiBut *but); | |||||
| void UI_but_treerow_indentation_set(uiBut *but, int indentation); | void UI_but_treerow_indentation_set(uiBut *but, int indentation); | ||||
| void UI_but_node_link_set(uiBut *but, struct bNodeSocket *socket, const float draw_color[4]); | void UI_but_node_link_set(uiBut *but, struct bNodeSocket *socket, const float draw_color[4]); | ||||
| void UI_but_number_step_size_set(uiBut *but, float step_size); | void UI_but_number_step_size_set(uiBut *but, float step_size); | ||||
| void UI_but_number_precision_set(uiBut *but, float precision); | void UI_but_number_precision_set(uiBut *but, float precision); | ||||
| void UI_block_func_handle_set(uiBlock *block, uiBlockHandleFunc func, void *arg); | void UI_block_func_handle_set(uiBlock *block, uiBlockHandleFunc func, void *arg); | ||||
| ▲ Show 20 Lines • Show All 1,111 Lines • Show Last 20 Lines | |||||