mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Color changes
This commit is contained in:
parent
aed026f4fc
commit
5a805e96d8
2 changed files with 5 additions and 7 deletions
|
@ -784,9 +784,6 @@ namespace IDE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#unwarn
|
#unwarn
|
||||||
/*if (gApp.mOutputPanel != null)
|
|
||||||
gApp.OutputLine("Applying key bindings");*/
|
|
||||||
|
|
||||||
for (var cmd in gApp.mCommands.mCommandMap.Values)
|
for (var cmd in gApp.mCommands.mCommandMap.Values)
|
||||||
cmd.mNext = null;
|
cmd.mNext = null;
|
||||||
gApp.mCommands.mKeyMap.Clear();
|
gApp.mCommands.mKeyMap.Clear();
|
||||||
|
|
|
@ -10,6 +10,7 @@ using Beefy.events;
|
||||||
using Beefy.utils;
|
using Beefy.utils;
|
||||||
using IDE.ui;
|
using IDE.ui;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
using Beefy.gfx;
|
||||||
|
|
||||||
namespace IDE.ui
|
namespace IDE.ui
|
||||||
{
|
{
|
||||||
|
@ -670,19 +671,19 @@ namespace IDE.ui
|
||||||
|
|
||||||
if ((!mFindEditWidget.mHasFocus) && (findText.Length == 0))
|
if ((!mFindEditWidget.mHasFocus) && (findText.Length == 0))
|
||||||
{
|
{
|
||||||
using (g.PushColor(0xFF606060))
|
using (g.PushColor(Color.Mult(gApp.mSettings.mUISettings.mColors.mText, 0x60FFFFFF)))
|
||||||
g.DrawString("Find...", mFindEditWidget.mX + GS!(4), mFindEditWidget.mY);
|
g.DrawString("Find...", mFindEditWidget.mX + GS!(4), mFindEditWidget.mY);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((mReplaceEditWidget != null) && (!mReplaceEditWidget.mHasFocus) && (replaceText.Length == 0))
|
if ((mReplaceEditWidget != null) && (!mReplaceEditWidget.mHasFocus) && (replaceText.Length == 0))
|
||||||
{
|
{
|
||||||
using (g.PushColor(0xFF606060))
|
using (g.PushColor(Color.Mult(gApp.mSettings.mUISettings.mColors.mText, 0x60FFFFFF)))
|
||||||
g.DrawString("Replace...", mReplaceEditWidget.mX + 4, mReplaceEditWidget.mY);
|
g.DrawString("Replace...", mReplaceEditWidget.mX + 4, mReplaceEditWidget.mY);
|
||||||
}
|
}
|
||||||
|
|
||||||
using (g.PushColor(0xFF000000))
|
using (g.PushColor(gApp.mSettings.mUISettings.mColors.mAutoCompleteSubText))
|
||||||
{
|
{
|
||||||
g.DrawString((mSelectionStart != null) ? "Selection" : "Current Document", GS!(6), mHeight - GS!(30));
|
g.DrawString((mSelectionStart != null) ? "Selection" : "Current Document", GS!(6), mHeight - GS!(29));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue