LAB: Rename overlayRect() to checkerboardEffect()
This commit is contained in:
parent
5327b6f545
commit
52c7fcbfe5
3 changed files with 5 additions and 5 deletions
|
@ -78,7 +78,7 @@ void EventManager::drawButtonList(ButtonList *buttonList) {
|
|||
|
||||
void EventManager::toggleButton(Button *button, uint16 disabledPenColor, bool enable) {
|
||||
if (!enable)
|
||||
_vm->_graphics->overlayRect(disabledPenColor, button->_x, button->_y, button->_x + button->_image->_width - 1, button->_y + button->_image->_height - 1);
|
||||
_vm->_graphics->checkerboardEffect(disabledPenColor, button->_x, button->_y, button->_x + button->_image->_width - 1, button->_y + button->_image->_height - 1);
|
||||
else
|
||||
button->_image->drawImage(button->_x, button->_y);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue