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:
authorTon Roosendaal <ton@blender.org>2003-10-23 03:20:44 +0400
committerTon Roosendaal <ton@blender.org>2003-10-23 03:20:44 +0400
commit164fa06c1178a756806f1b42850ad3d197a2577d (patch)
tree0883ad64c8733b1dac0af446c72d85f3bfb1333e /source/blender/src/drawoops.c
parentd213b7d0db428ed010d8f3f633443c94376837fc (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/drawoops.c')
-rw-r--r--source/blender/src/drawoops.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/src/drawoops.c b/source/blender/src/drawoops.c
index 8c955eb38d9..a0ea01ff770 100644
--- a/source/blender/src/drawoops.c
+++ b/source/blender/src/drawoops.c
@@ -66,6 +66,7 @@
#include "BIF_resources.h"
#include "BIF_screen.h"
#include "BIF_mywindow.h"
+#include "BIF_resources.h"
/* #include "BIF_drawoops.h" bad name :(*/
#include "BIF_oops.h"
@@ -368,9 +369,11 @@ void draw_oops(Oops *oops)
void drawoopsspace(ScrArea *sa, void *spacedata)
{
Oops *oops;
+ float col[3];
int ofsx, ofsy;
- glClearColor(0.55, 0.55, 0.55, 0.0);
+ BIF_GetThemeColor3fv(TH_BACK, col);
+ glClearColor(col[0], col[1], col[2], 0.0);
glClear(GL_COLOR_BUFFER_BIT);
if(G.soops==0) return;