Blender V5.3
blender::ui::HandleButtonMulti Struct Reference

Public Types

enum  { INIT_UNSET = 0 , INIT_SETUP , INIT_ENABLE , INIT_DISABLE }

Public Attributes

enum { ... }  init
bool has_mbuts = false
LinkNode * mbuts = nullptr
ButStore * bs_mbuts = nullptr
bool is_proportional = false
bool skip = false
float drag_dir [2] = {0.0f, 0.0f}
int drag_dir_prev [2] = {0, 0}
int drag_start [2] = {0, 0}
int drag_lock_x = 0

Detailed Description

Definition at line 352 of file interface_handlers.cc.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
INIT_UNSET 

gesture direction unknown, wait until mouse has moved enough...

INIT_SETUP 

vertical gesture detected, flag buttons interactively (BUT_DRAG_MULTI)

INIT_ENABLE 

flag buttons finished, apply horizontal motion to active and flagged

INIT_DISABLE 

vertical gesture not detected, take no further action

Definition at line 353 of file interface_handlers.cc.

Member Data Documentation

◆ bs_mbuts

ButStore* blender::ui::HandleButtonMulti::bs_mbuts = nullptr

Definition at line 366 of file interface_handlers.cc.

◆ drag_dir

float blender::ui::HandleButtonMulti::drag_dir[2] = {0.0f, 0.0f}

Definition at line 376 of file interface_handlers.cc.

Referenced by blender::ui::multibut_drag_wait().

◆ drag_dir_prev

int blender::ui::HandleButtonMulti::drag_dir_prev[2] = {0, 0}

Definition at line 379 of file interface_handlers.cc.

◆ drag_lock_x

int blender::ui::HandleButtonMulti::drag_lock_x = 0

Definition at line 387 of file interface_handlers.cc.

◆ drag_start

int blender::ui::HandleButtonMulti::drag_start[2] = {0, 0}

Definition at line 383 of file interface_handlers.cc.

◆ has_mbuts

bool blender::ui::HandleButtonMulti::has_mbuts = false

Definition at line 364 of file interface_handlers.cc.

◆ init

◆ is_proportional

bool blender::ui::HandleButtonMulti::is_proportional = false

Definition at line 368 of file interface_handlers.cc.

◆ mbuts

LinkNode* blender::ui::HandleButtonMulti::mbuts = nullptr

Definition at line 365 of file interface_handlers.cc.

◆ skip

bool blender::ui::HandleButtonMulti::skip = false

Definition at line 372 of file interface_handlers.cc.


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