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:
authorJulian Eisel <eiseljulian@gmail.com>2015-06-02 20:02:24 +0300
committerJulian Eisel <eiseljulian@gmail.com>2015-06-02 20:02:24 +0300
commitf4b3975d65792f8cdb258fcdce6d3af6321e6e88 (patch)
tree1caa743a21c9db4b3ac5ad2c33cc353af7b61af2 /source/blender/makesdna/DNA_view2d_types.h
parentbd11884d16092851af09fbf986cbf18768c368d7 (diff)
Make scrollbars thinner! (And draw them without outline)
Scrollbars with units printed on them stay the same size.
Diffstat (limited to 'source/blender/makesdna/DNA_view2d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view2d_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_view2d_types.h b/source/blender/makesdna/DNA_view2d_types.h
index 6f2e347c84d..4a019476ee7 100644
--- a/source/blender/makesdna/DNA_view2d_types.h
+++ b/source/blender/makesdna/DNA_view2d_types.h
@@ -114,6 +114,9 @@ typedef struct View2D {
#define V2D_PIXELOFS_Y (1<<3)
/* view settings need to be set still... */
#define V2D_IS_INITIALISED (1<<10)
+ /* for screens that need to draw units on top of the scroller */
+#define V2D_USES_UNITS_VERTICAL (1 << 11)
+#define V2D_USES_UNITS_HORIZONTAL (1 << 12)
/* scroller flags for View2D (v2d->scroll) */
/* left scrollbar */