LAB: Move utility functions to a separate class
This commit is contained in:
parent
320e658cb1
commit
5bc48cbbdd
15 changed files with 621 additions and 524 deletions
|
@ -43,7 +43,7 @@ Common::KeyState _keyPressed;
|
|||
Gadget *createButton(uint16 x, uint16 y, uint16 id, uint16 key, Image *im, Image *imalt) {
|
||||
Gadget *gptr;
|
||||
|
||||
x = g_lab->_graphics->VGAScaleX(x);
|
||||
x = g_lab->_utils->vgaScaleX(x);
|
||||
|
||||
if ((gptr = new Gadget())) {
|
||||
gptr->x = x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue