Blender V4.3
PieMenuData Struct Reference

#include <interface_intern.hh>

Public Attributes

const char * title
 
int icon
 
int pie_dir_mask
 
float pie_dir [2]
 
float pie_center_init [2]
 
float pie_center_spawned [2]
 
float last_pos [2]
 
double duration_gesture
 
int flags
 
short event_type
 
float alphafac
 

Detailed Description

Definition at line 504 of file interface_intern.hh.

Member Data Documentation

◆ alphafac

float PieMenuData::alphafac

Definition at line 519 of file interface_intern.hh.

Referenced by ui_pie_handler(), and widget_menu_pie_itembut().

◆ duration_gesture

double PieMenuData::duration_gesture

Definition at line 515 of file interface_intern.hh.

Referenced by ui_pie_handler().

◆ event_type

short PieMenuData::event_type

Initial event used to fire the pie menu, store here so we can query for release

Definition at line 518 of file interface_intern.hh.

Referenced by ui_handle_menus_recursive(), ui_pie_handler(), UI_pie_menu_begin(), and ui_popup_handler().

◆ flags

◆ icon

int PieMenuData::icon

Definition at line 507 of file interface_intern.hh.

Referenced by UI_pie_menu_begin().

◆ last_pos

float PieMenuData::last_pos[2]

Definition at line 514 of file interface_intern.hh.

Referenced by ui_pie_handler().

◆ pie_center_init

float PieMenuData::pie_center_init[2]

◆ pie_center_spawned

◆ pie_dir

float PieMenuData::pie_dir[2]

◆ pie_dir_mask

int PieMenuData::pie_dir_mask

A mask combining the directions of all buttons in the pie menu (excluding separators).

Definition at line 510 of file interface_intern.hh.

Referenced by ui_but_isect_pie_seg(), ui_draw_pie_center(), and ui_litem_layout_radial().

◆ title

const char* PieMenuData::title

store title and icon to allow access when pie levels are created

Definition at line 506 of file interface_intern.hh.

Referenced by UI_pie_menu_begin(), and ui_pie_menu_level_create().


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