diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-27 12:15:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-27 12:15:10 +0400 |
commit | 99d56a7764d93903f40a83eba18a53955a62723a (patch) | |
tree | 36b12db28fc4f2d79739eb3f3b08e86bb0304102 /source | |
parent | 98b2c0626a3005b3c6a089f4174ab9f19bc965d5 (diff) |
[#17692] Text Editor Line Number Background theme option
from Dalai Felinto (dfelinto)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/drawtext.c | 2 | ||||
-rw-r--r-- | source/blender/src/resources.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/drawtext.c b/source/blender/src/drawtext.c index f5273e15e27..3120d1931e4 100644 --- a/source/blender/src/drawtext.c +++ b/source/blender/src/drawtext.c @@ -1649,7 +1649,7 @@ void drawtextspace(ScrArea *sa, void *spacedata) else st->viewlines= 0; if(st->showlinenrs) { - cpack(0x8c787c); + BIF_ThemeColor(TH_GRID); glRecti(23, 0, (st->lheight==15)?63:59, curarea->winy - 2); } diff --git a/source/blender/src/resources.c b/source/blender/src/resources.c index 1bef10d0415..5481f717971 100644 --- a/source/blender/src/resources.c +++ b/source/blender/src/resources.c @@ -774,6 +774,7 @@ char *BIF_ThemeColorsPup(int spacetype) break; case SPACE_TEXT: str += sprintf(str, "Scroll Bar %%x%d|", TH_SHADE1); + str += sprintf(str, "Line Numbers Background %%x%d|", TH_GRID); str += sprintf(str, "Selected Text %%x%d|", TH_SHADE2); str += sprintf(str, "Cursor %%x%d|", TH_HILITE); str += sprintf(str, "%%l|"); |