mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-14 03:52:30 +00:00
feat(ui): add CBackdropGenerator::SetVertexColor
This commit is contained in:
parent
49e2e439c2
commit
1ad95653c7
2 changed files with 8 additions and 0 deletions
|
|
@ -152,6 +152,13 @@ void CBackdropGenerator::LoadXML(XMLNode* node, CStatus* status) {
|
|||
}
|
||||
}
|
||||
|
||||
void CBackdropGenerator::SetVertexColor(const CImVector& color) {
|
||||
this->m_color = color;
|
||||
if (this->m_backgroundTexture) {
|
||||
this->m_backgroundTexture->SetVertexColor(color);
|
||||
}
|
||||
}
|
||||
|
||||
void CBackdropGenerator::SetBorderVertexColor(const CImVector& borderColor) {
|
||||
this->m_borderColor = borderColor;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue