diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-03 11:58:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-03 11:59:11 +0300 |
commit | c7e64f67ed8e0a0f1f7a4f3fa1bab55210140543 (patch) | |
tree | cb7b9df00643f1754b3241acd1f650cffb9465d2 /source/blender/editors/space_info/textview.h | |
parent | 1fdea43c29a7a0ffb65ec8049da574d4198d22af (diff) |
Cleanup: rename textview ymin/max
This is used for scrolling which wasn't obvious.
Diffstat (limited to 'source/blender/editors/space_info/textview.h')
-rw-r--r-- | source/blender/editors/space_info/textview.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_info/textview.h b/source/blender/editors/space_info/textview.h index ca5744dbe90..f7ec61fe65d 100644 --- a/source/blender/editors/space_info/textview.h +++ b/source/blender/editors/space_info/textview.h @@ -32,7 +32,8 @@ typedef struct TextViewContext { /** Area to draw: (0, 0, winx, winy) with a margin applied and scroll-bar subtracted. */ rcti draw_rect; - int ymin, ymax; + /** Scroll offset in pixels. */ + int scroll_ymin, scroll_ymax; /* callbacks */ int (*begin)(struct TextViewContext *tvc); |