scummvm/engines/dm/menus.cpp

18 lines
428 B
C++
Raw Normal View History

#include "menus.h"
#include "gfx.h"
namespace DM {
MenuMan::MenuMan(DMEngine *vm): _vm(vm) {}
void MenuMan::drawMovementArrows() {
DisplayMan &disp = *_vm->_displayMan;
byte *arrowsBitmap = disp.getBitmap(kMovementArrowsIndice);
Box &dest = gBoxMovementArrows;
2016-06-18 18:02:48 +02:00
uint16 w = disp.getWidth(kMovementArrowsIndice);
2016-06-18 18:02:48 +02:00
disp.blitToScreen(arrowsBitmap, w, 0, 0, dest._x1, dest._x2, dest._y1, dest._y2, kColorNoTransparency);
}
}