Files
DNF_DEV_SQR/UI/Windows/System/NotiBox.nut
2025-10-21 23:06:06 +08:00

26 lines
621 B
Plaintext

/*
文件名:NotiBox.nut
路径:UI/Windows/System/NotiBox.nut
创建日期:2025-10-21 21:50
文件用途:
*/
class Window_NotiBox extends GameWindow {
constructor(Name, gX, gY, gWidth, gHeight, gTitleHeight) {
base.constructor(Name, gX, gY, gWidth, gHeight, gTitleHeight);
InitSprite();
InitButton();
}
function InitSprite() {
local Sp = Sprite("sprite/hud/newantonui.img", 0);
AddChild(Sp);
}
function InitButton() {
local Btn = GameWidget_BaseButton(40, 40, 56, 24, "sprite/interface/lenheartwindowcommon.img", 12);
AddChild(Btn);
}
}