Page 1 of 1

Using VLC icons in lua script

Posted: 04 Oct 2014 21:41
by 147852369
Hey people,

is there any documentation how to use VLC icons from C:\Program Files (x86)\VideoLAN\VLC\lua\http\css\ui-lightness\images in lua scripts?

For example I need following icons: skip, previous

Thanks.

Re: Using VLC icons in lua script

Posted: 06 Oct 2014 16:47
by mederi
I do not think so. There is only image widget defined for dialog box in extension scripts:
d:add_image( path, ... ): Create an image label. path is a relative or absolute path to the image on the local computer.

Re: Using VLC icons in lua script

Posted: 07 Oct 2014 20:21
by 147852369
Yes. But I want to use the same icons like VLC uses for the skip button.

Re: Using VLC icons in lua script

Posted: 08 Oct 2014 10:50
by mederi
You cannot use images as buttons. It is not implemented. You can only use characters within buttons: [ |<< ], [ >>| ].

Re: Using VLC icons in lua script

Posted: 10 Oct 2014 14:46
by 147852369
Okay. Thanks. I thought, there's a way to implement the same icons in my own extension like in VLC Player.