[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - How to add icons in the toolbar

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

How to add icons in the toolbar

QT style sheets and icon themes for SMPlayer.

How to add icons in the toolbar

Postby cod83 » Wed Mar 20, 2013 2:09 pm

How to add icons half speed, double speed, zoom +, zoom-,?
I tried inc_zoom, dec_zoom etc.Nothing has changed, please help.
(I made icons for these commands and put them in the skin folder)
cod83
 
Posts: 5
Joined: Wed Feb 06, 2013 12:43 am

Re: How to add icons in the toolbar

Postby MacTheKnife » Wed Mar 20, 2013 10:09 pm

In the [default_gui] section of the smplayer.ini file add the buttons you want to the "actions\toolbar1=" line.

For zooming, I just remapped the zoom function to the mouse wheel, so if I position the pointer over the video, the scroll wheel zooms in and out. And if I position the pointer over the volume control then the scroll wheel adjust the volume. So I don't know what the tag names are for the zoom control.

For half speed and double speed, the correct names are halve_speed and double_speed (note the underline).

For example, I've changed my toolbar to the following:

actions\toolbar1=show_file_properties, show_playlist, show_preferences, separator, screenshot, separator, deinterlace_menu, separator, dec_speed, inc_speed, halve_speed, double_speed, separator, move_up, move_down, move_left, move_right

Going by the inc_speed and dec_speed, my guess is that the zoom tags are inc_zoom and dec_zoom.

The example above uses the icons from the default theme. if you want to use your own icons, I think you have to create a complete theme and switch to using that theme.
MacTheKnife
 
Posts: 27
Joined: Thu Jan 14, 2010 8:58 pm

Re: How to add icons in the toolbar

Postby rvm » Wed Mar 20, 2013 11:00 pm

rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: How to add icons in the toolbar

Postby bald42 » Wed Nov 16, 2016 3:38 pm

Is it possible to add icons to actions currently with no icons via a custom theme?
bald42
 
Posts: 2
Joined: Wed Nov 16, 2016 2:17 pm

Re: How to add icons in the toolbar

Postby rvm » Wed Nov 16, 2016 10:51 pm

Some actions with no icons actually try to load an icon, so if you provide those icons, yes.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

How to add icons in the toolbar

Postby BeJimmiedix » Tue Sep 03, 2019 2:24 pm

I have downloaded and installed Papirus icon set. However I am not sure how to change from default icons to those.
In MxTweaks I do not find them listed.
Also, when I try to edit a launcher to change its icon, I cannot find in the list of available ones the Papirus ones.
Thank you
User avatar
BeJimmiedix
 
Posts: 2
Joined: Sat Aug 24, 2019 10:14 am
Location: Syria


Return to Artwork and Themes

Who is online

Users browsing this forum: No registered users and 5 guests