mainmenugui.gui
来自「此为游戏源码 是很好 的学习工具阿」· GUI 代码 · 共 62 行
GUI
62 行
//--- OBJECT WRITE BEGIN ---
new GuiChunkedBitmapCtrl(MainMenuGui) {
profile = "GuiContentProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
bitmap = "./background.jpg";
useVariable = "0";
tile = "0";
helpTag = "0";
new GuiButtonCtrl() {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "29 434";
extent = "110 20";
minExtent = "8 8";
visible = "1";
command = "quit();";
text = "Quit";
groupNum = "-1";
buttonType = "PushButton";
helpTag = "0";
};
new GuiButtonCtrl() {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "30 358";
extent = "110 20";
minExtent = "8 8";
visible = "1";
command = "Canvas.setContent(startMissionGui);";
text = "Start Mission...";
groupNum = "-1";
buttonType = "PushButton";
helpTag = "0";
};
new GuiButtonCtrl() {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "28 395";
extent = "110 20";
minExtent = "8 8";
visible = "1";
command = "Canvas.pushDialog(optionsDlg);";
text = "Options...";
groupNum = "-1";
buttonType = "PushButton";
helpTag = "0";
};
};
//--- OBJECT WRITE END ---
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?