diff options
author | Ton Roosendaal <ton@blender.org> | 2003-10-23 03:20:44 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-10-23 03:20:44 +0400 |
commit | 164fa06c1178a756806f1b42850ad3d197a2577d (patch) | |
tree | 0883ad64c8733b1dac0af446c72d85f3bfb1333e /source/blender/src/drawsound.c | |
parent | d213b7d0db428ed010d8f3f633443c94376837fc (diff) |
- themed all window types... phew!
BTW: text colors don't work everywhere yet... but this state should
be save to store themes in your .B.blend (CTRL+X)
and some fixes:
- leftmouse click now works in NLA and Action window to select a
strip in the left part
- faceselect+vpaint mode didnt show both panels
Diffstat (limited to 'source/blender/src/drawsound.c')
-rw-r--r-- | source/blender/src/drawsound.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/src/drawsound.c b/source/blender/src/drawsound.c index ba97b55e14c..a7acd3ba7dc 100644 --- a/source/blender/src/drawsound.c +++ b/source/blender/src/drawsound.c @@ -57,6 +57,7 @@ #include "BIF_mywindow.h" #include "BIF_screen.h" #include "BIF_editsound.h" +#include "BIF_resources.h" #include "BSE_drawipo.h" #include "BMF_Api.h" @@ -191,12 +192,13 @@ static void draw_cfra_sound(SpaceSound *ssound) } - void drawsoundspace(ScrArea *sa, void *spacedata) { + float col[3]; short ofsx, ofsy; - glClearColor(.6275, .6275, .6275, 0.0); + BIF_GetThemeColor3fv(TH_BACK, col); + glClearColor(col[0], col[1], col[2], 0.0); glClear(GL_COLOR_BUFFER_BIT); calc_scrollrcts(G.v2d, curarea->winx, curarea->winy); |