parent
73d624a46c
commit
ac3f8dacaa
|
@ -493,9 +493,10 @@ int optionsWindowInit()
|
||||||
memcpy(_opbtns[index], gOptionsWindowFrmData[cycle + 1], gOptionsWindowFrmSizes[OPTIONS_WINDOW_FRM_BUTTON_ON].width * gOptionsWindowFrmSizes[OPTIONS_WINDOW_FRM_BUTTON_ON].height);
|
memcpy(_opbtns[index], gOptionsWindowFrmData[cycle + 1], gOptionsWindowFrmSizes[OPTIONS_WINDOW_FRM_BUTTON_ON].width * gOptionsWindowFrmSizes[OPTIONS_WINDOW_FRM_BUTTON_ON].height);
|
||||||
}
|
}
|
||||||
|
|
||||||
gOptionsWindow = windowCreate(
|
int optionsWindowX = (screenGetWidth() - gOptionsWindowFrmSizes[OPTIONS_WINDOW_FRM_BACKGROUND].width) / 2;
|
||||||
(640 - gOptionsWindowFrmSizes[OPTIONS_WINDOW_FRM_BACKGROUND].width) / 2,
|
int optionsWindowY = (screenGetHeight() - gOptionsWindowFrmSizes[OPTIONS_WINDOW_FRM_BACKGROUND].height) / 2 - 60;
|
||||||
(480 - gOptionsWindowFrmSizes[OPTIONS_WINDOW_FRM_BACKGROUND].height) / 2 - 60,
|
gOptionsWindow = windowCreate(optionsWindowX,
|
||||||
|
optionsWindowY,
|
||||||
gOptionsWindowFrmSizes[0].width,
|
gOptionsWindowFrmSizes[0].width,
|
||||||
gOptionsWindowFrmSizes[0].height,
|
gOptionsWindowFrmSizes[0].height,
|
||||||
256,
|
256,
|
||||||
|
|
Loading…
Reference in New Issue