diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-15 15:24:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-15 15:30:31 +0300 |
commit | b8e8c0e325d213f2dcf4adad5506989fa224716e (patch) | |
tree | adb3d7fa8735426ea856a929f562655b2eaf64cb /source/blender/editors/space_info | |
parent | 4226ee0b71fec6f08897dacf3d6632526618acca (diff) |
Cleanup: comment line length (editors)
Prevents clang-format wrapping text before comments.
Diffstat (limited to 'source/blender/editors/space_info')
-rw-r--r-- | source/blender/editors/space_info/textview.c | 9 | ||||
-rw-r--r-- | source/blender/editors/space_info/textview.h | 3 |
2 files changed, 8 insertions, 4 deletions
diff --git a/source/blender/editors/space_info/textview.c b/source/blender/editors/space_info/textview.c index c94aaf6e861..f1a40b41d55 100644 --- a/source/blender/editors/space_info/textview.c +++ b/source/blender/editors/space_info/textview.c @@ -58,13 +58,16 @@ typedef struct ConsoleDrawContext { int font_id; int cwidth; int lheight; - int lofs; /* text vertical offset */ - int console_width; /* number of characters that fit into the width of the console (fixed width) */ + /** text vertical offset */ + int lofs; + /** number of characters that fit into the width of the console (fixed width) */ + int console_width; int winx; int ymin, ymax; int *xy; // [2] int *sel; // [2] - int *pos_pick; // bottom of view == 0, top of file == combine chars, end of line is lower then start. + /* bottom of view == 0, top of file == combine chars, end of line is lower then start. */ + int *pos_pick; const int *mval; // [2] int draw; } ConsoleDrawContext; diff --git a/source/blender/editors/space_info/textview.h b/source/blender/editors/space_info/textview.h index 55f69fbf444..369dc589d74 100644 --- a/source/blender/editors/space_info/textview.h +++ b/source/blender/editors/space_info/textview.h @@ -48,7 +48,8 @@ typedef struct TextViewContext { int (*step)(struct TextViewContext *tvc); int (*line_get)(struct TextViewContext *tvc, const char **, int *); int (*line_color)(struct TextViewContext *tvc, unsigned char fg[3], unsigned char bg[3]); - void (*const_colors)(struct TextViewContext *tvc, unsigned char bg_sel[4]); /* constant theme colors */ + /* constant theme colors */ + void (*const_colors)(struct TextViewContext *tvc, unsigned char bg_sel[4]); void *iter; int iter_index; int iter_char; /* char intex, used for multi-line report display */ |