Blender V4.3
NumInput Struct Reference

#include <ED_numinput.hh>

Public Attributes

short idx_max
 
int unit_sys
 
int unit_type [NUM_MAX_ELEMENTS]
 
bool unit_use_radians
 
short flag
 
short val_flag [NUM_MAX_ELEMENTS]
 
float val [NUM_MAX_ELEMENTS]
 
float val_org [NUM_MAX_ELEMENTS]
 
float val_inc [NUM_MAX_ELEMENTS]
 
short idx
 
char str [NUM_STR_REP_LEN]
 
int str_cur
 

Detailed Description

Definition at line 17 of file ED_numinput.hh.

Member Data Documentation

◆ flag

◆ idx

short NumInput::idx

Active element/value

Definition at line 37 of file ED_numinput.hh.

Referenced by applyNumInput(), handleNumInput(), initNumInput(), and outputNumInput().

◆ idx_max

◆ str

char NumInput::str[NUM_STR_REP_LEN]

String as typed by user for edited value (we assume ASCII world!)

Definition at line 39 of file ED_numinput.hh.

Referenced by editstr_insert_at_cursor(), handleNumInput(), initNumInput(), knife_reset_snap_angle_input(), outputNumInput(), and value_to_editstr().

◆ str_cur

int NumInput::str_cur

Current position of cursor in edited value str (first byte of "current" letter, so 0 for an empty str)

Definition at line 42 of file ED_numinput.hh.

Referenced by editstr_insert_at_cursor(), handleNumInput(), initNumInput(), knife_reset_snap_angle_input(), knifetool_modal(), outputNumInput(), and value_to_editstr().

◆ unit_sys

◆ unit_type

◆ unit_use_radians

bool NumInput::unit_use_radians

◆ val

◆ val_flag

◆ val_inc

◆ val_org

float NumInput::val_org[NUM_MAX_ELEMENTS]

Original value of the input, for reset

Definition at line 32 of file ED_numinput.hh.

Referenced by applyNumInput(), handleNumInput(), and initNumInput().


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