mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
disable old tooltip border
This commit is contained in:
parent
d40e6e15bc
commit
e241e23752
1 changed files with 4 additions and 2 deletions
|
@ -135,8 +135,10 @@ void AvHTooltip::Draw()
|
|||
float theNormalizedAlpha = (float)this->mColorA/255;
|
||||
int theAlphaComponent = theNormalizedAlpha*this->mBackgroundColorA;
|
||||
|
||||
FillRGBA(theFillStartX, theFillStartY, this->mScreenWidth, this->mScreenHeight, this->mBackgroundColorR, this->mBackgroundColorG, this->mBackgroundColorB, theAlphaComponent);
|
||||
vguiSimpleBox(theFillStartX, theFillStartY, theFillStartX + this->mScreenWidth, theFillStartY + this->mScreenHeight, this->mColorR, this->mColorG, this->mColorB, theAlphaComponent);
|
||||
////Old NS 3.2 box around the text with AWFUL performance. Colors rendered wrong and the shaded background wasn't working either.
|
||||
//FillRGBA(theFillStartX, theFillStartY, this->mScreenWidth, this->mScreenHeight, this->mBackgroundColorR, this->mBackgroundColorG, this->mBackgroundColorB, theAlphaComponent);
|
||||
//vguiSimpleBox(theFillStartX, theFillStartY, theFillStartX + this->mScreenWidth, theFillStartY + this->mScreenHeight, this->mColorR, this->mColorG, this->mColorB, theAlphaComponent);
|
||||
|
||||
|
||||
//New higher performance box.
|
||||
this->DrawBorder(theFillStartX, theFillStartY, theAlphaComponent);
|
||||
|
|
Loading…
Reference in a new issue