diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-15 15:14:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-15 15:15:35 +0300 |
commit | 328a0f975be68404604ee2571c1d0c4cf828dfec (patch) | |
tree | 5a0a74b069108f122cad0b1b11829cfa9529abbe /source/blender/makesdna/DNA_view2d_types.h | |
parent | 39acbebe46ef90003201077867a394ebc60d540c (diff) |
Cleanup: comment line length (DNA)
Prevents clang-format wrapping text before comments.
Diffstat (limited to 'source/blender/makesdna/DNA_view2d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view2d_types.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_view2d_types.h b/source/blender/makesdna/DNA_view2d_types.h index 1402cff8bf9..d9641e14aea 100644 --- a/source/blender/makesdna/DNA_view2d_types.h +++ b/source/blender/makesdna/DNA_view2d_types.h @@ -69,7 +69,8 @@ typedef struct View2D { /** Storage of current winx/winy values, set in UI_view2d_size_update. */ short winx, winy; - /** Storage of previous winx/winy values encountered by UI_view2d_curRect_validate(), for keepaspect. */ + /** Storage of previous winx/winy values encountered by UI_view2d_curRect_validate(), + * for keepaspect. */ short oldwinx, oldwiny; /** Pivot point for transforms (rotate and scale). */ @@ -122,18 +123,20 @@ enum { /* view extent restrictions (v2d->keeptot) */ enum { - /* 'cur' view can be out of extents of 'tot' */ + /** 'cur' view can be out of extents of 'tot' */ V2D_KEEPTOT_FREE = 0, - /* 'cur' rect is adjusted so that it satisfies the extents of 'tot', with some compromises */ + /** 'cur' rect is adjusted so that it satisfies the extents of 'tot', with some compromises */ V2D_KEEPTOT_BOUNDS = 1, - /* 'cur' rect is moved so that the 'minimum' bounds of the 'tot' rect are always respected (particularly in x-axis) */ + /** 'cur' rect is moved so that the 'minimum' bounds of the 'tot' rect are always respected + * (particularly in x-axis) */ V2D_KEEPTOT_STRICT = 2, }; /* general refresh settings (v2d->flag) */ enum { /* global view2d horizontal locking (for showing same time interval) */ - /* TODO: this flag may be set in old files but is not accessible currently, should be exposed from RNA - Campbell */ + /* TODO: this flag may be set in old files but is not accessible currently, + * should be exposed from RNA - Campbell */ V2D_VIEWSYNC_SCREEN_TIME = (1 << 0), /* within area (i.e. between regions) view2d vertical locking */ V2D_VIEWSYNC_AREA_VERTICAL = (1 << 1), @@ -163,7 +166,8 @@ enum { /* induce hiding of scrollbars - set by region drawing in response to size of region */ V2D_SCROLL_VERTICAL_HIDE = (1 << 7), V2D_SCROLL_HORIZONTAL_HIDE = (1 << 8), - /* scrollbar extends beyond its available window - set when calculating scrollbars for drawing */ + /* scrollbar extends beyond its available window - + * set when calculating scrollbars for drawing */ V2D_SCROLL_VERTICAL_FULLR = (1 << 9), V2D_SCROLL_HORIZONTAL_FULLR = (1 << 10), }; |