Using VLC icons in lua script

Discuss your Lua playlist, album art and interface scripts.
147852369
Blank Cone
Blank Cone
Posts: 55
Joined: 01 Mar 2013 12:18

Using VLC icons in lua script

Postby 147852369 » 04 Oct 2014 21:41

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.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Using VLC icons in lua script

Postby mederi » 06 Oct 2014 16:47

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.

147852369
Blank Cone
Blank Cone
Posts: 55
Joined: 01 Mar 2013 12:18

Re: Using VLC icons in lua script

Postby 147852369 » 07 Oct 2014 20:21

Yes. But I want to use the same icons like VLC uses for the skip button.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Using VLC icons in lua script

Postby mederi » 08 Oct 2014 10:50

You cannot use images as buttons. It is not implemented. You can only use characters within buttons: [ |<< ], [ >>| ].

147852369
Blank Cone
Blank Cone
Posts: 55
Joined: 01 Mar 2013 12:18

Re: Using VLC icons in lua script

Postby 147852369 » 10 Oct 2014 14:46

Okay. Thanks. I thought, there's a way to implement the same icons in my own extension like in VLC Player.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 2 guests