mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Use theme text color in tooltips.
This commit is contained in:
parent
07ca3a319d
commit
02c5667d7c
1 changed files with 7 additions and 4 deletions
|
@ -178,10 +178,13 @@ namespace Beefy.theme.dark
|
||||||
g.DrawBox(DarkTheme.sDarkTheme.GetImage(DarkTheme.ImageIdx.Menu), 0, 0, mWidth, mHeight);
|
g.DrawBox(DarkTheme.sDarkTheme.GetImage(DarkTheme.ImageIdx.Menu), 0, 0, mWidth, mHeight);
|
||||||
|
|
||||||
g.SetFont(mFont);
|
g.SetFont(mFont);
|
||||||
|
using (g.PushColor(DarkTheme.COLOR_TEXT))
|
||||||
|
{
|
||||||
if (mIsClipped)
|
if (mIsClipped)
|
||||||
g.DrawString(mText, GS!(8), GS!(5), .Left, mWidth - GS!(16), .Ellipsis);
|
g.DrawString(mText, GS!(8), GS!(5), .Left, mWidth - GS!(16), .Ellipsis);
|
||||||
else
|
else
|
||||||
g.DrawString(mText, 0, GS!(5), .Centered, mWidth);
|
g.DrawString(mText, 0, GS!(5), .Centered, mWidth);
|
||||||
|
}
|
||||||
|
|
||||||
if (mAllowResize)
|
if (mAllowResize)
|
||||||
g.Draw(DarkTheme.sDarkTheme.GetImage(DarkTheme.ImageIdx.ResizeGrabber), mWidth - GS!(22), mHeight - GS!(22));
|
g.Draw(DarkTheme.sDarkTheme.GetImage(DarkTheme.ImageIdx.ResizeGrabber), mWidth - GS!(22), mHeight - GS!(22));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue