Blender  V3.3
Public Attributes | List of all members
uiListDyn Struct Reference

#include <DNA_screen_types.h>

Public Attributes

uiListFreeRuntimeDataFunc free_runtime_data_fn
 
int height
 
int visual_height
 
int visual_height_min
 
int columns
 
int items_len
 
int items_shown
 
int resize
 
int resize_prev
 
voidcustomdata
 
int * items_filter_flags
 
int * items_filter_neworder
 
struct wmOperatorTypecustom_drag_optype
 
struct PointerRNAcustom_drag_opptr
 
struct wmOperatorTypecustom_activate_optype
 
struct PointerRNAcustom_activate_opptr
 

Detailed Description

Definition at line 243 of file DNA_screen_types.h.

Member Data Documentation

◆ columns

int uiListDyn::columns

Number of columns drawn for grid layouts.

Definition at line 255 of file DNA_screen_types.h.

Referenced by ui_handle_list_event(), and uilist_prepare().

◆ custom_activate_opptr

struct PointerRNA* uiListDyn::custom_activate_opptr

◆ custom_activate_optype

struct wmOperatorType* uiListDyn::custom_activate_optype

◆ custom_drag_opptr

struct PointerRNA* uiListDyn::custom_drag_opptr

◆ custom_drag_optype

struct wmOperatorType* uiListDyn::custom_drag_optype

◆ customdata

void* uiListDyn::customdata

Allocated custom data. Freed together with the uiList (and when re-assigning).

Definition at line 270 of file DNA_screen_types.h.

Referenced by asset_view_draw_item(), asset_view_listener(), uilist_free_dyn_data(), and uiTemplateList_ex().

◆ free_runtime_data_fn

uiListFreeRuntimeDataFunc uiListDyn::free_runtime_data_fn

Callback to free UI data when freeing UI-Lists in BKE.

Definition at line 245 of file DNA_screen_types.h.

Referenced by ui_list_ensure().

◆ height

int uiListDyn::height

Number of rows needed to draw all elements.

Definition at line 248 of file DNA_screen_types.h.

Referenced by ui_handle_list_event(), ui_template_list_layout_draw(), and uilist_prepare().

◆ items_filter_flags

int* uiListDyn::items_filter_flags

◆ items_filter_neworder

int* uiListDyn::items_filter_neworder

Org_idx -> new_idx, items_len length.

Definition at line 276 of file DNA_screen_types.h.

Referenced by ui_handle_list_event(), ui_list_ensure(), ui_template_list_collect_items(), uilist_filter_items_default(), and uilist_free_dyn_data().

◆ items_len

int uiListDyn::items_len

Number of items in collection.

Definition at line 258 of file DNA_screen_types.h.

Referenced by ui_handle_list_event(), ui_list_ensure(), ui_template_list_collect_display_items(), and uilist_filter_items_default().

◆ items_shown

int uiListDyn::items_shown

◆ resize

int uiListDyn::resize

Definition at line 266 of file DNA_screen_types.h.

Referenced by ui_template_list_layout_draw(), and uilist_resize_update_cb().

◆ resize_prev

int uiListDyn::resize_prev

Definition at line 267 of file DNA_screen_types.h.

Referenced by ui_template_list_layout_draw(), and uilist_resize_update_cb().

◆ visual_height

int uiListDyn::visual_height

Actual visual height of the list (in rows).

Definition at line 250 of file DNA_screen_types.h.

Referenced by ui_handle_list_event(), ui_template_list_layout_draw(), and uilist_prepare().

◆ visual_height_min

int uiListDyn::visual_height_min

Minimal visual height of the list (in rows).

Definition at line 252 of file DNA_screen_types.h.

Referenced by ui_handle_list_event(), and uilist_prepare().


The documentation for this struct was generated from the following file: