mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Changed some debug overlay colors.
This commit is contained in:
parent
32007b65bb
commit
acef76d791
|
@ -368,7 +368,7 @@ void ImageComponent::render(const Transform4x4f& parentTrans)
|
|||
Vector2f targetSizePos = (mTargetSize - mSize) * mOrigin * -1;
|
||||
Renderer::drawRect(targetSizePos.x(), targetSizePos.y(), mTargetSize.x(),
|
||||
mTargetSize.y(), 0xFF000033, 0xFF000033);
|
||||
Renderer::drawRect(0.0f, 0.0f, mSize.x(), mSize.y(), 0x00000033, 0x00000033);
|
||||
Renderer::drawRect(0.0f, 0.0f, mSize.x(), mSize.y(), 0xFF000033, 0xFF000033);
|
||||
}
|
||||
if (mTexture->isInitialized()) {
|
||||
// Actually draw the image.
|
||||
|
|
|
@ -160,7 +160,7 @@ void RatingComponent::render(const Transform4x4f& parentTrans)
|
|||
if (mOpacity > 0) {
|
||||
if (Settings::getInstance()->getBool("DebugImage")) {
|
||||
Renderer::drawRect(0.0f, 0.0f, mSize.y() * NUM_RATING_STARS,
|
||||
mSize.y(), 0x00000033, 0x00000033);
|
||||
mSize.y(), 0xFF000033, 0xFF000033);
|
||||
}
|
||||
|
||||
if (mUnfilledTexture->bind()) {
|
||||
|
|
|
@ -165,7 +165,7 @@ void TextComponent::render(const Transform4x4f& parentTrans)
|
|||
if (Settings::getInstance()->getBool("DebugText")) {
|
||||
// Draw the "textbox" area, what we are aligned within.
|
||||
Renderer::setMatrix(trans);
|
||||
Renderer::drawRect(0.0f, 0.0f, mSize.x(), mSize.y(), 0xFF000033, 0xFF000033);
|
||||
Renderer::drawRect(0.0f, 0.0f, mSize.x(), mSize.y(), 0x0000FF33, 0x0000FF33);
|
||||
}
|
||||
|
||||
trans.translate(off);
|
||||
|
|
Loading…
Reference in a new issue