LAB: Move more functions to DisplayMan

This commit is contained in:
Strangerke 2015-12-06 14:36:49 +01:00 committed by Willem Jan Palenstijn
parent d9d2383d93
commit ef99d82d13
17 changed files with 304 additions and 314 deletions

View file

@ -95,7 +95,7 @@ void drawGadgetList(Gadget *gadlist) {
/* Dims a gadget, and makes it unavailable for using. */
/*****************************************************************************/
void disableGadget(Gadget *curgad, uint16 pencolor) {
g_lab->overlayRect(pencolor, curgad->x, curgad->y, curgad->x + curgad->_image->_width - 1, curgad->y + curgad->_image->_height - 1);
g_lab->_graphics->overlayRect(pencolor, curgad->x, curgad->y, curgad->x + curgad->_image->_width - 1, curgad->y + curgad->_image->_height - 1);
curgad->GadgetFlags |= GADGETOFF;
}