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>2011-11-24 21:19:38 +0400
committerThomas Dinges <blender@dingto.org>2011-11-24 21:19:38 +0400
commitfc77949b5d37d0dc7208bbf4e859dfccedfdf1d5 (patch)
tree5fa93a6f5b0be9eb24e0d8ae569e23e4d69c8f9e /source/blender/editors/interface
parent0c965e16ac85848473add24de4b7beaf6011812f (diff)
2.6 Code removal:
* Deleted some #if 0 code, which was either already replaced or won't come back.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/interface_draw.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/source/blender/editors/interface/interface_draw.c b/source/blender/editors/interface/interface_draw.c
index 1ed05bc54f0..da94fd9237a 100644
--- a/source/blender/editors/interface/interface_draw.c
+++ b/source/blender/editors/interface/interface_draw.c
@@ -377,37 +377,6 @@ void uiRoundRect(float minx, float miny, float maxx, float maxy, float rad)
glDisable( GL_LINE_SMOOTH );
}
-/* plain fake antialiased unfilled round rectangle */
-#if 0 /* UNUSED 2.5 */
-static void uiRoundRectFakeAA(float minx, float miny, float maxx, float maxy, float rad, float asp)
-{
- float color[4], alpha;
- float raddiff;
- int i, passes=4;
-
- /* get the color and divide up the alpha */
- glGetFloatv(GL_CURRENT_COLOR, color);
- alpha = 1; //color[3];
- color[3]= 0.5*alpha/(float)passes;
- glColor4fv(color);
-
- /* set the 'jitter amount' */
- raddiff = (1/(float)passes) * asp;
-
- glEnable( GL_BLEND );
-
- /* draw lots of lines on top of each other */
- for (i=passes; i>=(-passes); i--) {
- uiDrawBox(GL_LINE_LOOP, minx, miny, maxx, maxy, rad+(i*raddiff));
- }
-
- glDisable( GL_BLEND );
-
- color[3] = alpha;
- glColor4fv(color);
-}
-#endif
-
/* (old, used in outliner) plain antialiased filled box */
void uiRoundBox(float minx, float miny, float maxx, float maxy, float rad)
{