mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 22:53:34 +00:00
Formatting
This commit is contained in:
@@ -50,9 +50,7 @@ namespace mlx
|
|||||||
new_text.SetColor(std::move(vec_color));
|
new_text.SetColor(std::move(vec_color));
|
||||||
}
|
}
|
||||||
else if(!p_scene->IsTextAtGivenDrawLayer(str, m_draw_layer))
|
else if(!p_scene->IsTextAtGivenDrawLayer(str, m_draw_layer))
|
||||||
{
|
|
||||||
p_scene->BringToDrawLayer(text.Get(), m_draw_layer);
|
p_scene->BringToDrawLayer(text.Get(), m_draw_layer);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GraphicsSupport::TexturePut(NonOwningPtr<Texture> texture, int x, int y)
|
void GraphicsSupport::TexturePut(NonOwningPtr<Texture> texture, int x, int y)
|
||||||
@@ -71,9 +69,7 @@ namespace mlx
|
|||||||
|
|
||||||
}
|
}
|
||||||
else if(!p_scene->IsTextureAtGivenDrawLayer(texture, m_draw_layer))
|
else if(!p_scene->IsTextureAtGivenDrawLayer(texture, m_draw_layer))
|
||||||
{
|
|
||||||
p_scene->BringToDrawLayer(sprite.Get(), m_draw_layer);
|
p_scene->BringToDrawLayer(sprite.Get(), m_draw_layer);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GraphicsSupport::TryEraseSpritesInScene(NonOwningPtr<Texture> texture) noexcept
|
void GraphicsSupport::TryEraseSpritesInScene(NonOwningPtr<Texture> texture) noexcept
|
||||||
|
|||||||
Reference in New Issue
Block a user