|
发表于 2011-5-1 23:26:27
|
显示全部楼层
Run-time errorWorld: 领悟Immediate execution[string "Script file"]:283: attempt to index global 'miniwin' (a nil value)stack traceback: [string "Script file"]:283: in function 'draw_window' [string "触发器: "]:5: in main chunk脚本错误处的上下文: 279 : -- work out how high the font is 280 : font_height = WindowFontInfo (win, "f1", 1) -- height of the font 281 : 282 : -- draw the border of the whole box 283*: WindowCircleOp (win, miniwin.circle_round_rectangle, 0, 2, WINDOW_WIDTH-2, WINDOW_HEIGHT, 0xc0c0c0, 0, 1,0, 0, 9, 9) 284 : 285 : -- ensure window visible 286 : local head_width = (WINDOW_WIDTH - WindowTextWidth (win, "f1", "领悟技能列表"))/2+6 287 : local head_width1 = (WindowTextWidth (win, "f1", "━")) + 11这个怎么解决?我设置了用微软雅黑字体。4.43 mushclient
[ 本帖最后由 xeon 于 2011-5-1 11:30 PM 编辑 ] |
|