Blender V5.3
numinput.cc File Reference
#include <algorithm>
#include <limits>
#include "MEM_guardedalloc.h"
#include "BLI_math_rotation_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_string.hh"
#include "BLI_string_cursor_utf8.hh"
#include "BLI_string_utf8.hh"
#include "BLI_utildefines.hh"
#include "BLT_translation.hh"
#include "BKE_context.hh"
#include "BKE_report.hh"
#include "BKE_unit.hh"
#include "DNA_scene_types.h"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_numinput.hh"
#include "UI_interface.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define USE_FAKE_EDIT

Enumerations

enum  { blender::NUM_EDIT_FULL = (1 << 9) , blender::NUM_FAKE_EDITED = (1 << 10) }
enum  { blender::NUM_EDITED = (1 << 9) , blender::NUM_INVALID = (1 << 10) , blender::NUM_NEGATE = (1 << 11) , blender::NUM_INVERSE = (1 << 12) }

Functions

bool blender::ED_numinput_double_is_int (double value)
static void blender::value_to_editstr (NumInput *n, int idx)
static bool blender::editstr_insert_at_cursor (NumInput *n, const char *buf, const int buf_len)
static bool blender::editstr_is_simple_numinput (const char ascii)
NumInput
void blender::initNumInput (NumInput *n)
void blender::outputNumInput (NumInput *n, char *str, const UnitSettings &unit_settings)
bool blender::hasNumInput (const NumInput *n)
bool blender::applyNumInput (NumInput *n, float *vec)
bool blender::user_string_to_number (bContext *C, const char *str, const UnitSettings &unit, int type, double *r_value, double *r_value_no_units, bool use_single_line_error, char **r_error)
bool blender::handleNumInput (bContext *C, NumInput *n, const wmEvent *event)

Macro Definition Documentation

◆ USE_FAKE_EDIT

#define USE_FAKE_EDIT

Definition at line 43 of file numinput.cc.