From 1e7e0633cfe37e6dff99809cc6b27c7a3d1158d9 Mon Sep 17 00:00:00 2001 From: Rob Haarsma Date: Fri, 9 May 2003 11:39:37 +0000 Subject: [PATCH] modified tooltip heights --- source/blender/src/interface.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c index 4b61580c0ac..0c559059858 100644 --- a/source/blender/src/interface.c +++ b/source/blender/src/interface.c @@ -3291,6 +3291,13 @@ static uiSaveUnder *ui_draw_but_tip(uiBut *but) y2 += 36; } + // adjust tooltip heights + if(mywinget()==G.curscreen->mainwin) + y2 -= G.ui_international ? 4:1; //tip is from pulldownmenu + else if(curarea->win != mywinget()) + y2 -= G.ui_international ? 5:1; //tip is from a windowheader +// else y2 += 1; //tip is from button area + su= ui_bgnpupdraw((int)(x1-1), (int)(y1-1), (int)(x2+4), (int)(y2+4), 0); glColor3ub(0xD0, 0xD0, 0xC0);