mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Draw profiler text using theme color.
This commit is contained in:
parent
aaa7509700
commit
0744772e23
2 changed files with 9 additions and 3 deletions
|
@ -95,9 +95,12 @@ namespace IDE.ui
|
||||||
{
|
{
|
||||||
base.Draw(g);
|
base.Draw(g);
|
||||||
|
|
||||||
DrawLabel(g, mDescEdit, "Profile Description (Optional)");
|
using (g.PushColor(DarkTheme.COLOR_TEXT))
|
||||||
DrawLabel(g, mThreadCombo, "Thread");
|
{
|
||||||
DrawLabel(g, mSampleRateEdit, "Sample Rate");
|
DrawLabel(g, mDescEdit, "Profile Description (Optional)");
|
||||||
|
DrawLabel(g, mThreadCombo, "Thread");
|
||||||
|
DrawLabel(g, mSampleRateEdit, "Sample Rate");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void CalcSize()
|
public override void CalcSize()
|
||||||
|
|
|
@ -684,6 +684,9 @@ namespace IDE.ui
|
||||||
{
|
{
|
||||||
base.Draw(g);
|
base.Draw(g);
|
||||||
|
|
||||||
|
g.PushColor(DarkTheme.COLOR_TEXT);
|
||||||
|
defer g.PopColor();
|
||||||
|
|
||||||
g.SetFont(DarkTheme.sDarkTheme.mSmallFont);
|
g.SetFont(DarkTheme.sDarkTheme.mSmallFont);
|
||||||
g.DrawString("Session", mSessionComboBox.mX - GS!(2), mSessionComboBox.mY, .Right);
|
g.DrawString("Session", mSessionComboBox.mX - GS!(2), mSessionComboBox.mY, .Right);
|
||||||
g.DrawString("Thread", mThreadComboBox.mX - GS!(2), mThreadComboBox.mY, .Right);
|
g.DrawString("Thread", mThreadComboBox.mX - GS!(2), mThreadComboBox.mY, .Right);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue