精華區beta mud_sanc 關於我們 聯絡資訊
SetBackgroundImage 】 格式: SetBackgroundImage(FileName, Mode) 中文: SetBackgroundImage(圖檔名稱, 模式) 說明: 設定視窗的底圖,預設目錄為 \MUSHclient\。圖檔格式限bmp和png兩種。 模式參數如下表: 說明  Lua標記 0 破壞比例填滿可視範圍 miniwin.pos_stretch_to_view 1 依比例填滿可視窗範一邊miniwin.pos_stretch_to_view_with_aspect 2 破壞比例填滿全視窗 miniwin.pos_stretch_to_owner 3 依比例填滿全視窗一邊 miniwin.pos_stretch_to_owner_with_aspect 4 左上 miniwin.pos_top_left 5 中上 miniwin.pos_top_center 6 右上 miniwin.pos_top_right 7 中右 miniwin.pos_center_right 8 右下 miniwin.pos_bottom_right 9 中下 miniwin.pos_bottom_center 10左下 miniwin.pos_bottom_left 11中左 miniwin.pos_center_left 12置中 miniwin.pos_center_all 13並排 miniwin.pos_tile └─┴───────────┴────────────────────┘ 範例: --==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==-- SetBackgroundImage ("WATERMARK.png", 13) --==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--