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:
authorCampbell Barton <ideasman42@gmail.com>2014-03-17 22:34:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-17 22:40:18 +0400
commita861e5572a70111bbe3ae84d82595eddc43b7d88 (patch)
tree67a40a99d66eba461db26f8a56f302798293e42e /source/blender/editors/screen
parentec4e12d9a2f080aa7dfdd7375288f1804de1224d (diff)
UI: Add theme color for viewport overlay
Was using wire or black in many places, this color is used for cursor, camera guides, transform helper lines. So its possible to have a dark background with light overlay color. Patch D331 by Brita, with some edits.
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r--source/blender/editors/screen/glutil.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c
index 73953b8f228..c75485d93f9 100644
--- a/source/blender/editors/screen/glutil.c
+++ b/source/blender/editors/screen/glutil.c
@@ -147,7 +147,8 @@ const GLubyte stipple_checker_8px[128] = {
0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 255,
0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 255};
-
+/* UNUSED */
+#if 0
void fdrawbezier(float vec[4][3])
{
float dist;
@@ -177,6 +178,7 @@ void fdrawbezier(float vec[4][3])
}
glEnd();
}
+#endif
void fdrawline(float x1, float y1, float x2, float y2)
{