依旧有问题
主页面
Code AardioLine:178复制
1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.24.25.26.27.28.29.30.31.32.33.34.35.36.37.38.39.40.41.42.43.44.45.46.47.48.49.50.51.52.53.54.55.56.57.58.59.60.61.62.63.64.65.66.67.68.69.70.71.72.73.74.75.76.77.78.79.80.81.82.83.84.85.86.87.88.89.90.91.92.93.94.95.96.97.98.99.100.101.102.103.104.105.106.107.108.109.110.111.112.113.114.115.116.117.118.119.120.121.122.123.124.125.126.127.128.129.130.131.132.133.134.135.136.137.138.139.140.141.142.143.144.145.146.147.148.149.150.151.152.153.154.155.156.157.158.159.160.161.162.163.164.165.166.167.168.169.170.171.172.173.174.175.176.177.178.import
win
.ui;- mainForm =
win
.form(cls="AokManger"
;text="AokManger 点位管理器"
;right=579
;bottom=599
;bgcolor=5522235
;border="dialog frame"
;max=false
;minimize=1
) - mainForm.add(
- choice={cls=
"plus"
;text=" 未选择"
;left=134
;top=574
;right=324
;bottom=593
;align="left"
;bgcolor=4667698
;border={color=-6250332
;width=1
};color=15793151
;font=LOGFONT(name='微软雅黑'
);z=17
}; - custom={cls=
"custom"
;left=116
;top=72
;right=556
;bottom=512
;z=1
}; - getpath={cls=
"plus"
;text="浏览"
;left=484
;top=24
;right=556
;bottom=51
;bgcolor=4667698
;border={color=-32768
;width=1
};color=11844285
;font=LOGFONT(name='微软雅黑'
);notify=1
;z=5
}; - pathshow={cls=
"plus"
;text=" 点击右侧按钮以选择您的文件夹"
;left=116
;top=24
;right=476
;bottom=51
;align="left"
;bgcolor=4667698
;border={color=-32768
;width=1
};color=11844285
;font=LOGFONT(name='微软雅黑'
);notify=1
;z=3
}; - reload={cls=
"plus"
;text="装载"
;left=116
;top=536
;right=208
;bottom=568
;bgcolor=4667698
;border={color=-32768
;width=1
};color=11844285
;font=LOGFONT(h=-24
;name='微软雅黑'
);notify=1
;z=16
}; - strip1={cls=
"plus"
;text="传送点"
;left=0
;top=0
;right=100
;bottom=50
;align="left"
;bgcolor=4667698
;clip=1
;color=11844285
;dl=1
;dt=1
;notify=1
;textPadding={left=5
};z=2
}; - strip10={cls=
"plus"
;text="矿物"
;left=0
;top=450
;right=100
;bottom=500
;align="left"
;bgcolor=-12109518
;clip=1
;color=11844285
;dl=1
;dt=1
;textPadding={left=5
};z=14
}; - strip11={cls=
"plus"
;text="动物"
;left=0
;top=500
;right=100
;bottom=550
;align="left"
;bgcolor=-12109518
;clip=1
;color=11844285
;dl=1
;dt=1
;textPadding={left=5
};z=6
}; - strip12={cls=
"plus"
;text="木材"
;left=0
;top=550
;right=100
;bottom=600
;align="left"
;bgcolor=-12109518
;clip=1
;color=11844285
;dl=1
;dt=1
;textPadding={left=5
};z=9
}; - strip2={cls=
"plus"
;text="贵重收集物"
;left=0
;top=50
;right=100
;bottom=100
;align="left"
;bgcolor=4667698
;clip=1
;color=11844285
;dl=1
;dt=1
;notify=1
;textPadding={left=5
};z=8
}; - strip3={cls=
"plus"
;text="露天宝箱"
;left=0
;top=100
;right=100
;bottom=150
;align="left"
;bgcolor=-12109518
;clip=1
;color=11844285
;dl=1
;dt=1
;notify=1
;textPadding={left=5
};z=4
}; - strip4={cls=
"plus"
;text="解谜宝箱"
;left=0
;top=150
;right=100
;bottom=200
;align="left"
;bgcolor=4667698
;clip=1
;color=11844285
;dl=1
;dt=1
;textPadding={left=5
};z=11
}; - strip5={cls=
"plus"
;text="区域特产"
;left=0
;top=200
;right=100
;bottom=250
;align="left"
;bgcolor=4667698
;clip=1
;color=11844285
;dl=1
;dt=1
;textPadding={left=5
};z=13
}; - strip6={cls=
"plus"
;text="见闻"
;left=0
;top=250
;right=100
;bottom=300
;align="left"
;bgcolor=-12109518
;clip=1
;color=11844285
;dl=1
;dt=1
;textPadding={left=5
};z=15
}; - strip7={cls=
"plus"
;text="敌人"
;left=0
;top=300
;right=100
;bottom=350
;align="left"
;bgcolor=-12109518
;clip=1
;color=11844285
;dl=1
;dt=1
;textPadding={left=5
};z=12
}; - strip8={cls=
"plus"
;text="背包/素材"
;left=0
;top=350
;right=100
;bottom=400
;align="left"
;bgcolor=-12109518
;clip=1
;color=11844285
;dl=1
;dt=1
;textPadding={left=5
};z=10
}; - strip9={cls=
"plus"
;text="垂钓"
;left=0
;top=400
;right=100
;bottom=450
;align="left"
;bgcolor=-12109518
;clip=1
;color=11844285
;dl=1
;dt=1
;textPadding={left=5
};z=7
}; - stripid={cls=
"plus"
;text="1"
;left=116
;top=574
;right=135
;bottom=593
;bgcolor=4667698
;border={color=-6250332
;width=1
};color=15793151
;font=LOGFONT(name='微软雅黑'
);z=18
} - )
import
win
.ui.tabs;var
tabs = win
.ui.tabs(mainForm.strip1, mainForm.strip2, mainForm.strip3, mainForm.strip4, mainForm.strip5, mainForm.strip6, mainForm.strip7, mainForm.strip8, mainForm.strip9, mainForm.strip10, mainForm.strip11);-
- tabs.skin(
- background = {
- default = 0xFF323947;
- focus = 0xFF3B4354
- }
- )
- mainForm.strip1.skin(
- background = {
- default = 0xFF3B4354;
- }
- )
- mainForm.strip12.skin(
- background = {
- default = 0xFF323947;
- focus = 0xFF3B4354
- }
- )
import
win
.util.tray;- mainForm.tray =
win
.util.tray(mainForm) - mainForm.tray.tip =
"AokManger"
- mainForm.tray.pop("欢迎使用 AokManger
- 购卡 HackTools.Store")
- mainForm.onTrayMessage = {
- [0x205 ] =
function
(wParam) { -
-
win
.setForeground(mainForm.hwnd) -
-
-
import
win
.ui.menu; -
- mainForm.popmenu =
win
.ui.popmenu(mainForm); - mainForm.popmenu.add(
'&退出'
, function
(id) { - mainForm.close()
- })
-
- mainForm.popmenu.popup();
- mainForm.popmenu.close();
- };
- [0x202 ] =
function
(wParam) { -
- };
- [0x203 ] =
function
(wParam) { -
- };
- [0x404 ] =
function
(wParam) { -
- };
- [0x405 ] =
function
(wParam) { -
- };
- }
- p1 = mainForm.custom.loadForm(
"D:\Program Files\aardio\project\AokManger\dlg\strip1.aardio"
) - p2 = mainForm.custom.loadForm(
"D:\Program Files\aardio\project\AokManger\dlg\strip2.aardio"
) - p1.show()
var
function
set_strip_color(a){-
select
(a) { -
case
1
{ - mainForm.strip1.skin(
- background = {
- default = 0xFF3B4354;
-
- })
- mainForm.strip2.skin(
- background = {
- default = 0xFF323947;
- focus = 0xFF3B4354
- })
- }
-
case
2
{ - mainForm.strip1.skin(
- background = {
- default = 0xFF323947;
- focus = 0xFF3B4354
- })
- mainForm.strip2.skin(
- background = {
- default = 0xFF3B4354;
-
- })
- }
-
else
{ -
- }
- }
- }
- mainForm.strip1.oncommand =
function
(id,event){ - p1.update()
- p1.show()
- mainForm.stripid.text =
"1"
- set_strip_color(
tonumber
(mainForm.stripid.text)) - }
- mainForm.strip2.oncommand =
function
(id,event){ - p2.update()
- p2.show()
- mainForm.stripid.text =
"2"
- set_strip_color(
tonumber
(mainForm.stripid.text)) - }
- mainForm.getpath.skin(
- background = {
- hover =
"/res/images/btn-hover.png"
; - focus =
"/res/images/btn-focus.jpg"
; - active =
"/res/images/btn-active.png"
; - disabled =
"/res/images/btn-disabled.png"
; - }
- )
import
fsys.dlg.dir;- mainForm.getpath.oncommand =
function
(id,event){ - path = fsys.dlg.dir()
-
if
(path != null
){ - mainForm.pathshow.text =
" "
+ path; - }
- }
- mainForm.reload.skin(
- background = {
- hover =
"/res/images/btn-hover.png"
; - focus =
"/res/images/btn-focus.jpg"
; - active =
"/res/images/btn-active.png"
; - disabled =
"/res/images/btn-disabled.png"
; - }
- )
- mainForm.reload.oncommand =
function
(id,event){ - ..
win
.msgbox(choice) - }
- mainForm.show();
win
.loopMessage();
子页面
Code AardioLine:180复制
1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.24.25.26.27.28.29.30.31.32.33.34.35.36.37.38.39.40.41.42.43.44.45.46.47.48.49.50.51.52.53.54.55.56.57.58.59.60.61.62.63.64.65.66.67.68.69.70.71.72.73.74.75.76.77.78.79.80.81.82.83.84.85.86.87.88.89.90.91.92.93.94.95.96.97.98.99.100.101.102.103.104.105.106.107.108.109.110.111.112.113.114.115.116.117.118.119.120.121.122.123.124.125.126.127.128.129.130.131.132.133.134.135.136.137.138.139.140.141.142.143.144.145.146.147.148.149.150.151.152.153.154.155.156.157.158.159.160.161.162.163.164.165.166.167.168.169.170.171.172.173.174.175.176.177.178.179.180.import
win
.ui;var
winform = win
.form(text="贵重收集物"
;right=439
;bottom=439
;bgcolor=5522235
;border="dialog frame"
;max=false
;mode="popup"
)- winform.add(
- plus={cls=
"plus"
;left=0
;top=0
;right=440
;bottom=440
;clipBk=false
;db=1
;dl=1
;dr=1
;dt=1
;notify=1
;z=1
} - )
- winform.show();
var
itemModel = {- {
-
type
="rect"
, - rectf={x=
3
;y=3
;width=-3
;height=-3
}, - click=
true
; - check=
true
; - width=
2
, - round=
2
, - color=0xFF323947,
- fillcolor=0xBF323947,
- hovercolor=0xBBD3BC8E,
- itemselectedcolor=0xBBD3BC8E,
- cur=
32649
, - }
- {
-
type
="img"
, - name=
"png"
, - rectf={x=
6
;y=6
;width=44
;height=44
}, - scale=
true
, - }
- }
var
itemList = {- {
- id=
1
, - png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\风神瞳.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\岩神瞳.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\雷神瞳.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\草神瞳.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\水神瞳.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\绯红玉髓.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\键纹Ⅱ.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\键纹Ⅲ.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\键纹Ⅳ.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\圣章石.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\老石.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\旋曜玉帛.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\棋盘棋子.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\神秘的石板.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\「棋子」激活器件.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\净光翎.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\忧昙花.png"
- }
- {
- png=
"D:\Program Files\aardio\project\AokManger\res\贵重收集物\灵光铭文的残片.png"
- }
- }
import
godking.customPlusvar
list = godking.customPlus(winform.plus,itemModel,itemList,{- itemWidth=
55
, - itemHeight=
55
, - autoSizeWidth=
false
, - autoSizeHeight=
false
, - rownum=
0
, - colnum=
0
, - padLeft=
0
, - padTop=
0
, - padRight=
0
, - padBottom=
0
, - autoFit=
false
, -
-
- vertical=
false
, - bkcolor=0xFF3b4354,
- bkimg=
null
, - })
-
- list.onClick =
function
(itemIndex){ -
select
(itemIndex) { -
case
1
{ - mainForm.choice.text =
" /贵重收集物/风神瞳"
- }
-
case
2
{ - mainForm.choice.text =
" /贵重收集物/岩神瞳"
- }
-
case
3
{ - mainForm.choice.text =
" /贵重收集物/雷神瞳"
- }
-
case
4
{ - mainForm.choice.text =
" /贵重收集物/草神瞳"
- }
-
case
5
{ - mainForm.choice.text =
" /贵重收集物/水神瞳"
- }
-
case
6
{ - mainForm.choice.text =
" /贵重收集物/绯红玉髓"
- }
-
case
7
{ - mainForm.choice.text =
" /贵重收集物/键纹Ⅱ"
- }
-
case
8
{ - mainForm.choice.text =
" /贵重收集物/键纹Ⅲ"
- }
-
case
9
{ - mainForm.choice.text =
" /贵重收集物/键纹Ⅳ"
- }
-
case
10
{ - mainForm.choice.text =
" /贵重收集物/圣章石"
- }
-
case
11
{ - mainForm.choice.text =
" /贵重收集物/老石"
- }
-
case
12
{ - mainForm.choice.text =
" /贵重收集物/旋曜玉帛"
- }
-
case
13
{ - mainForm.choice.text =
" /贵重收集物/棋盘棋子"
- }
-
case
14
{ - mainForm.choice.text =
" /贵重收集物/神秘的石板"
- }
-
case
15
{ - mainForm.choice.text =
" /贵重收集物/「棋子」激活器件"
- }
-
case
16
{ - mainForm.choice.text =
" /贵重收集物/净光翎"
- }
-
case
17
{ - mainForm.choice.text =
" /贵重收集物/忧昙花"
- }
-
case
18
{ - mainForm.choice.text =
" /贵重收集物/灵光铭文的残片"
- }
-
else
{ - ..
win
.msgboxErr("错误,请联系开发者。"
) - }
- }
- }
- winform.adjust =
function
( cx,cy,wParam ) { - list.init()
- };
-
win
.loopMessage();
感谢大佬