MES消息增加error图标,减淡边框

This commit is contained in:
MrZ626
2021-06-13 22:02:29 +08:00
parent 0ee460b679
commit 369891ba54
6 changed files with 23 additions and 10 deletions

View File

@@ -17,6 +17,19 @@ local mesIcon={
{'fRect',18,11,5,16},
{'fRect',18,30,5,5},
},
error=DOGC{40,40,
{'setCL',.95,.3,.3},
{'fCirc',20,20,19},
{'setCL',0,0,0},
{'dCirc',20,20,19},
{'setLW',6},
{'line',20-9.8,20-9.8,20+9.8,20+9.8},
{'line',20-9.8,20+9.8,20+9.8,20-9.8},
{'setLW',4},
{'setCL',1,1,1},
{'line',20-9,20-9,20+9,20+9},
{'line',20-9,20+9,20+9,20-9},
},
}
local MES={}
@@ -34,7 +47,7 @@ function MES.new(...)
local L={w+20,48,
{'setCL',.5,.5,.5,.7},
{'fRect',0,0,w+20,48},
{'setCL',.9,.9,.9},
{'setCL',.7,.7,.7},
{'setLW',2},
{'dRect',1,1,w+18,46},
{'setCL',1,1,1},