动态窗口测试通过
This commit is contained in:
parent
76abef7a94
commit
6f68c87114
11
aardiowin/Readme.md
Normal file
11
aardiowin/Readme.md
Normal file
@ -0,0 +1,11 @@
|
||||
## 编译
|
||||
1. 使用 aardio 打开项目
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## 辅助 AI
|
||||
https://yuanqi.tencent.com/agent/ZsUaavawqWFp
|
@ -24,9 +24,10 @@ namespace init{
|
||||
|
||||
// 配置载入函数
|
||||
loadConfigs = function() {
|
||||
import io;
|
||||
import util;
|
||||
|
||||
|
||||
gLog.print("dir");
|
||||
gLog.print("loadConfigs");
|
||||
var configs = {};
|
||||
var currentPath = fsys.getCurDir();
|
||||
gLog.print("currentPath", currentPath);
|
||||
@ -63,6 +64,7 @@ namespace init{
|
||||
object.merge(configs, appDataConfig, true);
|
||||
}
|
||||
|
||||
gLog.print("configs", util.table.stringify(configs, true));
|
||||
return configs;
|
||||
};
|
||||
|
||||
|
@ -7,15 +7,22 @@ init.init();
|
||||
var gConfig = init.loadConfigs();
|
||||
var gDebug = init.getDebug();
|
||||
|
||||
|
||||
|
||||
|
||||
// 启动界面
|
||||
/*DSG{{*/
|
||||
mainForm = win.form(text="awin";right=gConfig.window.width;bottom=gConfig.window.height;border="thin";max=false;min=false)
|
||||
mainForm = win.form(text="awin";right=1;bottom=1;border="thin";max=false;min=false)
|
||||
mainForm.add()
|
||||
/*}}*/
|
||||
|
||||
|
||||
// 启动界面
|
||||
// 日志
|
||||
var gLog = init.getLog();
|
||||
gLog.print("web view")
|
||||
gLog.print("width=" , gConfig.window.width)
|
||||
gLog.print("height=" , gConfig.window.height)
|
||||
mainForm.resize(gConfig.window.width, gConfig.window.height);
|
||||
|
||||
import web.view;
|
||||
var theView = web.view(mainForm);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user