Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-15 15:24:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-15 15:30:31 +0300
commitb8e8c0e325d213f2dcf4adad5506989fa224716e (patch)
treeadb3d7fa8735426ea856a929f562655b2eaf64cb /source/blender/editors/include/ED_numinput.h
parent4226ee0b71fec6f08897dacf3d6632526618acca (diff)
Cleanup: comment line length (editors)
Prevents clang-format wrapping text before comments.
Diffstat (limited to 'source/blender/editors/include/ED_numinput.h')
-rw-r--r--source/blender/editors/include/ED_numinput.h32
1 files changed, 21 insertions, 11 deletions
diff --git a/source/blender/editors/include/ED_numinput.h b/source/blender/editors/include/ED_numinput.h
index f674a0d87f9..0ff1ee4206e 100644
--- a/source/blender/editors/include/ED_numinput.h
+++ b/source/blender/editors/include/ED_numinput.h
@@ -33,20 +33,30 @@
struct wmEvent;
typedef struct NumInput {
- short idx_max; /* idx_max < NUM_MAX_ELEMENTS */
+ /** idx_max < NUM_MAX_ELEMENTS */
+ short idx_max;
int unit_sys;
- int unit_type[NUM_MAX_ELEMENTS]; /* Each value can have a different type */
+ /** Each value can have a different type */
+ int unit_type[NUM_MAX_ELEMENTS];
bool unit_use_radians;
- short flag; /* Flags affecting all values' behavior */
- short val_flag[NUM_MAX_ELEMENTS]; /* Per-value flags */
- float val[NUM_MAX_ELEMENTS]; /* Direct value of the input */
- float val_org[NUM_MAX_ELEMENTS]; /* Original value of the input, for reset */
- float val_inc[NUM_MAX_ELEMENTS]; /* Increment steps */
-
- short idx; /* Active element/value */
- char str[NUM_STR_REP_LEN]; /* String as typed by user for edited value (we assume ASCII world!) */
- /* Current position of cursor in edited value str (first byte of "current" letter, so 0 for an empty str) */
+ /** Flags affecting all values' behavior */
+ short flag;
+ /** Per-value flags */
+ short val_flag[NUM_MAX_ELEMENTS];
+ /** Direct value of the input */
+ float val[NUM_MAX_ELEMENTS];
+ /** Original value of the input, for reset */
+ float val_org[NUM_MAX_ELEMENTS];
+ /** Increment steps */
+ float val_inc[NUM_MAX_ELEMENTS];
+
+ /** Active element/value */
+ short idx;
+ /** String as typed by user for edited value (we assume ASCII world!) */
+ char str[NUM_STR_REP_LEN];
+ /** Current position of cursor in edited value str
+ * (first byte of "current" letter, so 0 for an empty str) */
int str_cur;
} NumInput;