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:
Diffstat (limited to 'source/blender/makesdna/DNA_view2d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view2d_types.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_view2d_types.h b/source/blender/makesdna/DNA_view2d_types.h
index 34a329a0646..4d027f2efea 100644
--- a/source/blender/makesdna/DNA_view2d_types.h
+++ b/source/blender/makesdna/DNA_view2d_types.h
@@ -77,11 +77,16 @@ typedef struct View2D {
/* within region view2d vertical locking */
#define V2D_VIEWSYNC_Y (1<<1)
-/* scrollbar thickness */
+
+/* scroller thickness */
#define V2D_SCROLL_HEIGHT 16
#define V2D_SCROLL_WIDTH 16
-/* scrollbar flags for View2D (v2d->scroll) */
+/* half the size (in pixels) of scroller 'handles' */
+#define V2D_SCROLLER_HANDLE_SIZE 8
+
+
+/* scroller flags for View2D (v2d->scroll) */
/* left scrollbar */
#define V2D_SCROLL_LEFT (1<<0)
#define V2D_SCROLL_RIGHT (1<<1)
@@ -104,7 +109,7 @@ typedef struct View2D {
/* alignment flags for totrect, flags use 'shading-out' convention (v2d->align) */
/* all quadrants free */
-#define V2D_ALIGN_FREE 0
+#define V2D_ALIGN_FREE 0
/* horizontal restrictions */
#define V2D_ALIGN_NO_POS_X (1<<0)
#define V2D_ALIGN_NO_NEG_X (1<<1)