fork/m-overlay
git clone https://git.julia.blue/fork/m-overlay
7180fb3
v2.1.2
1local PANEL =class . create ( "ImageURL" , "Image" ) 2 3function PANEL : ImageURL () 4self : super () 5end 6 7function PANEL : SetURL ( url ) 8local raw =http . request ( url ) 9if not raw then return end 10local file =love . filesystem . newFileData ( raw , url , "file" ) 11local data =love . image . newImageData ( file ) 12self : SetImage ( data ) 13end