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:
authorThomas Dinges <blender@dingto.org>2010-02-15 05:39:40 +0300
committerThomas Dinges <blender@dingto.org>2010-02-15 05:39:40 +0300
commit6753411adb54458ee87deda25ca662e0689f676d (patch)
treefef593cad1b62c6b4aa9a7aac209b0c9acf1a1f5 /source/blender/editors/space_console
parent9f7a4125118c19e39dd80828db041283599d2189 (diff)
Console:
* Added own theme support for the cursor, was depending on the line_error color before.
Diffstat (limited to 'source/blender/editors/space_console')
-rw-r--r--source/blender/editors/space_console/console_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_console/console_draw.c b/source/blender/editors/space_console/console_draw.c
index 5beb7ff22c9..16f5f47075e 100644
--- a/source/blender/editors/space_console/console_draw.c
+++ b/source/blender/editors/space_console/console_draw.c
@@ -331,7 +331,7 @@ static int console_text_main__internal(struct SpaceConsole *sc, struct ARegion *
BLF_draw(cl->line);
/* cursor */
- console_line_color(fg, CONSOLE_LINE_ERROR); /* lazy */
+ UI_GetThemeColor3ubv(TH_CONSOLE_CURSOR, (char *)fg);
glColor3ub(fg[0], fg[1], fg[2]);
glRecti(xy[0]+(cwidth*cl->cursor) -1, xy[1]-2, xy[0]+(cwidth*cl->cursor) +1, xy[1]+sc->lheight-2);