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