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:
-rw-r--r--source/blender/editors/interface/interface_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_draw.c b/source/blender/editors/interface/interface_draw.c
index c798bd88da6..a54bf2cd277 100644
--- a/source/blender/editors/interface/interface_draw.c
+++ b/source/blender/editors/interface/interface_draw.c
@@ -905,7 +905,6 @@ static void ui_roundshaded_button(int type, int colorid, float asp, float x1, fl
{
float rad, maxrad;
int align= (flag & UI_BUT_ALIGN);
- int round_align_fix= 0;
/* rounded corners */
if (ELEM4(type, MENU, ROW, ICONROW, ICONTEXTROW)) maxrad = 5.0;
@@ -1465,6 +1464,7 @@ static void ui_default_flat(int type, int colorid, float asp, float x1, float y1
}
}
+#if 0
static void ui_default_slider(int colorid, float fac, float aspect, float x1, float y1, float x2, float y2, int flag)
{
float ymid, yc;
@@ -1539,6 +1539,7 @@ static void ui_default_slider(int colorid, float fac, float aspect, float x1, fl
glShadeModel(GL_FLAT);
}
+#endif
/* default theme callback */
static void ui_draw_default(int type, int colorid, float aspect, float x1, float y1, float x2, float y2, int flag)
@@ -1666,7 +1667,6 @@ static void round_button(float x1, float y1, float x2, float y2, float asp,
int colorid, int round, int menudeco, int curshade)
{
float rad;
- char col[4];
rad= (y2-y1)/2.0;
if(rad>7.0) rad= 7.0;