source: smplayer/trunk/old-txt/Icon_themes.txt@ 100

Last change on this file since 100 was 100, checked in by Silvan Scherrer, 15 years ago

smplayer: 0.6.9 part8

File size: 2.1 KB
Line 
1From version 0.3.13 smplayer can change its icons at runtime.
2
3In Preferences->Interface you'll find an option for changing the icon set.
4
5In this document I'm going to explain how that option works and how you
6can create your own icon set.
7
8smplayer will look for a directory for icons. The directory may be
9/usr/local/share/smplayer/icons/ or something like that. You can know it
10by looking at the first lines of the smplayer log:
11
12[code]
13This is smplayer v. 0.3.13 running on Linux
14Qt v. 3.3.3
15 * application path: '/usr/bin'
16 * data path: '/usr//share/smplayer/'
17 * translation path: '/usr//share/smplayer/translations/'
18 * doc path: '/usr//share/doc/packages/smplayer/'
19 * icon path: '/usr//share/smplayer/icons/'
20[/code]
21
22Well, under the icons/ directory there can be other subdirectories. Each
23subdirectory contains an icon set. The name of the directory will be the
24name of the icon set (the name which will be shown in the Preferences
25dialog).
26
27Inside that directory there'll be the *.png files that smplayer will
28load if the user choose that icon set.
29
30To create your own icon set, just create a subdirectory under icons/
31with the name you want. Inside store your icons with the same names that
32they have in icons-png/ in the sources.
33
34It's not necessary that the icons were the same size as the original
35ones, but smplayer can resize some of them.
36
37It's not necessary either that you create a replacement for all icons.
38If a icon is not there, smplayer will use the default icon.
39
40In the other hand smplayer could try to load a icon that it's not even
41in the default icon set. So your icon set could even provide icons for
42menu options that the default icon set doesn't have.
43
44Currently smplayer searches for these additional icons:
45
46edit.png
47gamma.png
48open_playlist.png
49xrecents.png
50frame_step.png
51speed.png
52compact.png
53deinterlace.png
54video_filters.png
55equalizer.png
56ontop.png
57audio_track.png
58audio_filters.png
59audio_channels.png
60stereo_mode.png
61audio_down.png
62audio_up.png
63delay_down.png
64delay_up.png
65delay_down.png
66delay_up.png
67sub_up.png
68sub_down.png
69angle.png
70file_codecs.png
71frame_counter.png
72osd.png
73qt.png
74
Note: See TracBrowser for help on using the repository browser.