添加中文显示长度 和 展示图
This commit is contained in:
BIN
READMEImage/中文搜索展示.png
Normal file
BIN
READMEImage/中文搜索展示.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 94 KiB |
BIN
READMEImage/屏幕显示歌词展示.png
Normal file
BIN
READMEImage/屏幕显示歌词展示.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 595 KiB |
BIN
READMEImage/播放列表展示.png
Normal file
BIN
READMEImage/播放列表展示.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 110 KiB |
BIN
READMEImage/播放栏展示.png
Normal file
BIN
READMEImage/播放栏展示.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 100 KiB |
BIN
READMEImage/歌单搜索展示.png
Normal file
BIN
READMEImage/歌单搜索展示.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 123 KiB |
BIN
READMEImage/歌词展示.png
Normal file
BIN
READMEImage/歌词展示.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 108 KiB |
@@ -202,7 +202,7 @@ function Search(input_str,GUI_in,api)
|
|||||||
id = value["id"]
|
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 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)
|
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.setBackgroundColor(colors.lightGray)
|
||||||
term.clear()
|
term.clear()
|
||||||
printUtf8(value["name"],colors.white,colors.lightGray)
|
printUtf8(value["name"],colors.white,colors.lightGray)
|
||||||
|
|||||||
Reference in New Issue
Block a user