添加中文显示长度 和 展示图

This commit is contained in:
HKXluo
2025-11-12 16:50:10 +08:00
parent 3d7485b2a1
commit 48ac066238
7 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 595 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

View File

@@ -202,7 +202,7 @@ function Search(input_str,GUI_in,api)
id = value["id"]
local frame = play_lib_F:addFrame():setPosition(2, a):setSize("parent.w-2", 4):setBackground(colors.lightBlue):onClick(function() if play_data_table["play"] then shell.run(mypath.."/speakerlib.lua stop") if _G.Playopen then end _G.music168_playopen = false os.queueEvent("music168_play_stop") play_data_table["play"]=false end play_Gui_UP:play() play_GUI_state = true main[1]:disable() _G.music168_playopen = false os.queueEvent("music168_play_stop") playmusic(value["name"],value["id"],Search_table,index) end)
local textf = frame:addFrame():setPosition(1, 1):setSize("parent.w", 3)
textf:addProgram():setPosition(1, 1):setSize("parent.w", 4):execute(function ()
textf:addProgram():setPosition(1, 1):setSize("parent.w + 200", 4):execute(function ()
term.setBackgroundColor(colors.lightGray)
term.clear()
printUtf8(value["name"],colors.white,colors.lightGray)