~ubuntu-branches/ubuntu/gutsy/smplayer/gutsy

« back to all changes in this revision

Viewing changes to Iconsets.txt

  • Committer: Bazaar Package Importer
  • Author(s): Breuil Cyril
  • Date: 2007-05-06 17:09:35 UTC
  • Revision ID: james.westby@ubuntu.com-20070506170935-d83qqn48tv1muk7j
Tags: upstream-0.4.12
ImportĀ upstreamĀ versionĀ 0.4.12

Show diffs side-by-side

added added

removed removed

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