[saco] Implement/match CDXUTSlider::SetColor(...)

This commit is contained in:
RD42 2024-08-25 22:20:50 +08:00
parent b0382f7076
commit 0a73dc3d2d
2 changed files with 13 additions and 2 deletions

View File

@ -3847,6 +3847,14 @@ void CDXUTSlider::Render( IDirect3DDevice9* pd3dDevice, float fElapsedTime )
}
//--------------------------------------------------------------------------------------
void CDXUTSlider::SetColor(D3DXCOLOR c)
{
field_76 = true;
field_77 = c;
}
//--------------------------------------------------------------------------------------
// CDXUTScrollBar class
//--------------------------------------------------------------------------------------

View File

@ -765,9 +765,12 @@ protected:
bool m_bPressed;
RECT m_rcButton;
bool field_76;
D3DXCOLOR field_77;
public:
bool field_76;
D3DXCOLOR field_77;
void SetColor(D3DXCOLOR c);
};