mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 23:25:43 +00:00
Initial changes to GUI sprite code. (There shouldn't be any visible effects - if there are, they're bugs)
This was SVN commit r1507.
This commit is contained in:
@@ -88,10 +88,10 @@ CColor IGUIButtonBehavior::ChooseColor()
|
||||
|
||||
void IGUIButtonBehavior::DrawButton(const CRect &rect,
|
||||
const float &z,
|
||||
const CStr& sprite,
|
||||
const CStr& sprite_over,
|
||||
const CStr& sprite_pressed,
|
||||
const CStr& sprite_disabled)
|
||||
CGUISpriteInstance& sprite,
|
||||
CGUISpriteInstance& sprite_over,
|
||||
CGUISpriteInstance& sprite_pressed,
|
||||
CGUISpriteInstance& sprite_disabled)
|
||||
{
|
||||
if (GetGUI())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user