From f4355b8b8ea50d01fb2f6e3af5351ef08fad4afb Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Tue, 19 Nov 2013 17:09:06 +0100 Subject: Fix tooltip to display as white and not transparent --- src/ui/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui') diff --git a/src/ui/window.cpp b/src/ui/window.cpp index 8005939..6e082e6 100644 --- a/src/ui/window.cpp +++ b/src/ui/window.cpp @@ -1191,8 +1191,8 @@ void CWindow::DrawVertex(Math::Point pos, Math::Point dim, int icon) else if ( icon == 1 ) { m_engine->SetTexture("button1.png"); - m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE); - uv1.x = 128.0f/256.0f; // yellow tooltip + m_engine->SetState(Gfx::ENG_RSTATE_NORMAL); + uv1.x = 128.0f/256.0f; // white tooltip uv1.y = 0.0f/256.0f; uv2.x = 224.0f/256.0f; uv2.y = 16.0f/256.0f; -- cgit v1.2.3-1-g7c22